numam-dpdk/drivers/net/enetc
Alex Marginean 6efb46f0e8 net/enetc: do not stall in clean Tx ring
Don't read the hardware CI register in a loop, read it once, clean up
and exit.
The issue with reading the register in a loop is that we're stalling
here trying to catch up with hardware which keeps sending traffic as
long as it has traffic to send, so in effect we could be waiting here
for the Tx ring to be drained by hardware, instead of us doing Rx in
that meantime.
At the time we return the function there may be new BDs in the ring that
could be cleaned, we're just leaving those there for the next time.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Acked-by: Gagandeep Singh <g.singh@nxp.com>
2020-03-18 10:21:41 +01:00
..
base net/enetc: fix BD ring alignment 2019-10-23 16:43:10 +02:00
enetc_ethdev.c net/enetc: enable dpaax library 2019-10-23 16:43:10 +02:00
enetc_logs.h net/enetc: print MAC address logs at notice level 2019-10-23 16:43:10 +02:00
enetc_rxtx.c net/enetc: do not stall in clean Tx ring 2020-03-18 10:21:41 +01:00
enetc.h net/enetc: enable CRC offload 2019-04-19 14:51:54 +02:00
Makefile build: remove individual library versions 2019-11-20 23:05:39 +01:00
meson.build net/enetc: enable dpaax library 2019-10-23 16:43:10 +02:00
rte_pmd_enetc_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00