From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reshma Pattan Subject: [PATCH v3 0/3] fix RTE_PROC_PRIMARY_OR_ERR_RET RTE_PROC_PRIMARY_OR_RET Date: Tue, 5 Jan 2016 16:34:55 +0000 Message-ID: <1452011698-27354-1-git-send-email-reshma.pattan@intel.com> References: <1450873172-21932-1-git-send-email-reshma.pattan@intel.com> Cc: dev@dpdk.org To: konstantin.ananyev@intel.com, declan.doherty@intel.com, thomas.monjalon@6wind.com 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) In-Reply-To: <1450873172-21932-1-git-send-email-reshma.pattan@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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