From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id F0CFD93B0 for ; Tue, 5 Jan 2016 17:35:23 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 05 Jan 2016 08:35:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,525,1444719600"; d="scan'208";a="628411772" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by FMSMGA003.fm.intel.com with ESMTP; 05 Jan 2016 08:35:00 -0800 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id u05GYxiY031460; Tue, 5 Jan 2016 16:34:59 GMT Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id u05GYxrU027393; Tue, 5 Jan 2016 16:34:59 GMT Received: (from reshmapa@localhost) by sivswdev02.ir.intel.com with id u05GYxZp027389; Tue, 5 Jan 2016 16:34:59 GMT From: Reshma Pattan To: konstantin.ananyev@intel.com, declan.doherty@intel.com, thomas.monjalon@6wind.com Date: Tue, 5 Jan 2016 16:34:55 +0000 Message-Id: <1452011698-27354-1-git-send-email-reshma.pattan@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1450873172-21932-1-git-send-email-reshma.pattan@intel.com> References: <1450873172-21932-1-git-send-email-reshma.pattan@intel.com> Cc: dev@dpdk.org Subject: [dpdk-dev] [PATCH v3 0/3] fix RTE_PROC_PRIMARY_OR_ERR_RET RTE_PROC_PRIMARY_OR_RET 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: Tue, 05 Jan 2016 16:35:24 -0000 From: reshmapa Patches 1 and 2 removes RTE_PROC_PRIMARY_OR_ERR_RET and RTE_PROC_PRIMARY_OR_RET macro usage from rte_ether and rte_cryptodev libraries to allow API access to secondary process. Patch 3 allows users to configure ethdev with zero rx/tx queues, but both should not be zero. Fix rte_eth_dev_tx_queue_config, rte_eth_dev_rx_queue_config to allocate memory for rx/tx queues only when number of rx/tx queues are nonzero. v3: * Removed checkpatch fixes of lib/librte_ether/rte_ethdev.h from patch number 1. Reshma Pattan (3): librte_ether: remove RTE_PROC_PRIMARY_OR_ERR_RET and RTE_PROC_PRIMARY_OR_RET librte_cryptodev: remove RTE_PROC_PRIMARY_OR_RET librte_ether: fix rte_eth_dev_configure lib/librte_cryptodev/rte_cryptodev.c | 42 ---------------- lib/librte_ether/rte_ethdev.c | 86 ++++++++++------------------------ 2 files changed, 25 insertions(+), 103 deletions(-) -- 1.7.4.1