From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from stargate3.asicdesigners.com (stargate.chelsio.com [67.207.115.98]) by dpdk.org (Postfix) with ESMTP id A1B1F8DAF for ; Fri, 20 Nov 2015 14:13:59 +0100 (CET) Received: from localhost (scalar.blr.asicdesigners.com [10.193.185.94]) by stargate3.asicdesigners.com (8.13.8/8.13.8) with ESMTP id tAKDDt7X016232; Fri, 20 Nov 2015 05:13:56 -0800 From: Rahul Lakkireddy To: dev@dpdk.org Date: Fri, 20 Nov 2015 18:43:36 +0530 Message-Id: X-Mailer: git-send-email 2.5.3 Cc: Felix Marti , Kumar Sanghvi , Nirranjan Kirubaharan Subject: [dpdk-dev] [PATCH 0/2] cxgbe: Minor fixes in cxgbe pmd X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2015 13:14:00 -0000 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