[dpdk-dev] [PATCH 0/2] cxgbe: Minor fixes in cxgbe pmd

Rahul Lakkireddy rahul.lakkireddy at chelsio.com
Fri Nov 20 14:13:36 CET 2015


This series of patches fix some issues and recent regressions in cxgbe pmd.

Patch 1 fixes a regression where queue setup for cxgbe pmd fails with
-EINVAL because cxgbe pmd requires a min of 1024 descriptors, but most
examples and apps initialize with 128 rx descriptors and 512 tx
descriptors.

Patch 2 replaces spinning for a lock with a better trylock in
tx alarm callback.

Rahul Lakkireddy (2):
  cxgbe: fix queue setup failure due to strict min desc requirement
  cxgbe: fix unnecessary spinning for a lock with trylock instead

 drivers/net/cxgbe/base/adapter.h |  9 +++++++++
 drivers/net/cxgbe/cxgbe.h        |  2 +-
 drivers/net/cxgbe/sge.c          | 21 ++++++++++++---------
 3 files changed, 22 insertions(+), 10 deletions(-)

-- 
2.5.3



More information about the dev mailing list