numam-dpdk/drivers
Wei Hu (Xavier) dfac40d93e net/hns3: fix Rx buffer size
Currently, rx_buf_size of hns3 PMD driver is fixed on, and it's value
depends on the firmware which will decrease the flexibility of PMD.

The receive side mbufs was allocated from the mempool given by upper
application calling rte_eth_rx_queue_setup API function. So the memory
chunk used for net device DMA is depend on the data room size of the
objects in this mempool. Hns3 PMD driver should set the rx_buf_len
smaller than the data room size of mempool and our hardware only support
the following four specifications: 512, 1024, 2148 and 4096.

Fixes: bba6366983 ("net/hns3: support Rx/Tx and related operations")
Cc: stable@dpdk.org

Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
2020-07-07 23:38:26 +02:00
..
baseband log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
bus drivers: drop workaround for internal libraries version 2020-07-07 12:48:59 +02:00
common common/octeontx2: fix crash on running procinfo 2020-07-07 23:38:26 +02:00
compress common/qat: add multi-process handling of capabilities 2020-07-08 18:16:27 +02:00
crypto crypto/qat: support ChaCha20-Poly1305 2020-07-08 18:16:40 +02:00
event event/octeontx2: improve datapath memory locality 2020-06-30 07:41:26 +02:00
mempool mempool/bucket: handle non-EAL lcores 2020-07-08 14:41:06 +02:00
net net/hns3: fix Rx buffer size 2020-07-07 23:38:26 +02:00
raw log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
vdpa log: remove unneeded logtype declaration 2020-07-07 13:18:23 +02:00
Makefile drivers: add crypto as dependency for event drivers 2020-03-05 14:22:11 +01:00
meson.build build: remove special versioning for non stable libraries 2020-07-07 12:48:25 +02:00