[dpdk-dev] [PATCH v3 0/3] fix RTE_PROC_PRIMARY_OR_ERR_RET RTE_PROC_PRIMARY_OR_RET

Ananyev, Konstantin konstantin.ananyev at intel.com
Wed Jan 6 14:41:38 CET 2016



> -----Original Message-----
> From: Pattan, Reshma
> Sent: Tuesday, January 05, 2016 4:35 PM
> To: Ananyev, Konstantin; Doherty, Declan; thomas.monjalon at 6wind.com
> Cc: dev at dpdk.org; Pattan, Reshma
> Subject: [PATCH v3 0/3] fix RTE_PROC_PRIMARY_OR_ERR_RET RTE_PROC_PRIMARY_OR_RET
> 
> From: reshmapa <reshma.pattan at intel.com>
> 
> 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(-)
> 
> --

Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

> 1.7.4.1



More information about the dev mailing list