From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <rahul.lakkireddy@chelsio.com> Received: from stargate3.asicdesigners.com (stargate.chelsio.com [67.207.115.98]) by dpdk.org (Postfix) with ESMTP id A1B1F8DAF for <dev@dpdk.org>; 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 <rahul.lakkireddy@chelsio.com> To: dev@dpdk.org Date: Fri, 20 Nov 2015 18:43:36 +0530 Message-Id: <cover.1448007179.git.rahul.lakkireddy@chelsio.com> X-Mailer: git-send-email 2.5.3 Cc: Felix Marti <felix@chelsio.com>, Kumar Sanghvi <kumaras@chelsio.com>, Nirranjan Kirubaharan <nirranjan@chelsio.com> 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 <dev.dpdk.org> List-Unsubscribe: <http://dpdk.org/ml/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://dpdk.org/ml/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <http://dpdk.org/ml/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=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