numam-dpdk/drivers
Heinrich Kuhn 96289f2b80 net/nfp: fix minimum descriptor sizes
The NFP4000/6000 supports a minimum of 256 Tx/Rx descriptors and not 64.
Before this patch when a DPDK application configured < 256 Tx
descriptors the hardware read/write pointers would be unmasked and not
wrapped at the expected size of the ring. The PMD logic to determine the
amount of free space in the Tx ring is incompatible with the unmasked
hwqueue pointers and this will result in the PMD not updating the
read pointer at all.The knock-on effect is that under high load the
PMD will potentially re-use a Tx descriptor before the hw has had a
chance to process that particular descriptor. This issue can manifest as
a DMA error when the hardware tries to perform a DMA with info from a
partially populated descriptor.

Fixes: defb9a5dd1 ("nfp: introduce driver initialization")
Cc: stable@dpdk.org

Signed-off-by: Heinrich Kuhn <heinrich.kuhn@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
2021-08-31 17:55:22 +02:00
..
baseband version: 21.11-rc0 2021-08-17 08:37:52 +02:00
bus bus: add device arguments name parsing 2021-09-02 16:58:19 +02:00
common common/cnxk: fix attaching NPA LF to CPT VF 2021-09-08 13:59:02 +02:00
compress compress/mlx5: fix leak on QP setup failure 2021-09-06 21:46:34 +02:00
crypto crypto/dpaa_sec: support PDCP short MAC-I 2021-09-08 17:20:30 +02:00
event cryptodev: expose driver interface as internal 2021-09-08 09:35:12 +02:00
mempool version: 21.11-rc0 2021-08-17 08:37:52 +02:00
net net/nfp: fix minimum descriptor sizes 2021-08-31 17:55:22 +02:00
raw drivers: remove warning with Meson 0.59 2021-08-27 15:51:34 +02:00
regex version: 21.11-rc0 2021-08-17 08:37:52 +02:00
vdpa version: 21.11-rc0 2021-08-17 08:37:52 +02:00
meson.build drivers: remove warning with Meson 0.59 2021-08-27 15:51:34 +02:00