DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/2] cxgbe: Minor fixes in cxgbe pmd
@ 2015-11-20 13:13 Rahul Lakkireddy
  2015-11-20 13:13 ` [dpdk-dev] [PATCH 1/2] cxgbe: fix queue setup failure due to strict min desc requirement Rahul Lakkireddy
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Rahul Lakkireddy @ 2015-11-20 13:13 UTC (permalink / raw)
  To: dev; +Cc: Felix Marti, Kumar Sanghvi, Nirranjan Kirubaharan

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-11-24 13:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-20 13:13 [dpdk-dev] [PATCH 0/2] cxgbe: Minor fixes in cxgbe pmd Rahul Lakkireddy
2015-11-20 13:13 ` [dpdk-dev] [PATCH 1/2] cxgbe: fix queue setup failure due to strict min desc requirement Rahul Lakkireddy
2015-11-20 13:13 ` [dpdk-dev] [PATCH 2/2] cxgbe: fix unnecessary spinning for a lock with trylock instead Rahul Lakkireddy
2015-11-24 13:49 ` [dpdk-dev] [PATCH 0/2] cxgbe: Minor fixes in cxgbe pmd Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).