[dpdk-dev] [PATCH 0/2] net/ena: check for free descriptors

Jakub Palider jpa at semihalf.com
Sat Oct 29 03:06:13 CEST 2016


In some configurations there is mismatch between declared and actual
descriptor count which under heavy load may lead to resource shortage.

The first patch unifies the way head and tail indexes are handled and
is crucial for compactness and succeeding patch correctness.
The second patch runs check for available descriptor count.

Jakub Palider (2):
  net/ena: use unmasked head/tail values
  net/ena: check for free buffers prior to xmit

 drivers/net/ena/ena_ethdev.c | 83 ++++++++++++++++++++++++++------------------
 drivers/net/ena/ena_ethdev.h | 24 ++-----------
 2 files changed, 52 insertions(+), 55 deletions(-)

-- 
2.5.0



More information about the dev mailing list