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

Reshma Pattan reshma.pattan at intel.com
Tue Jan 5 17:34:55 CET 2016


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(-)

-- 
1.7.4.1



More information about the dev mailing list