ethdev: allow full control from secondary process
authorReshma Pattan <reshma.pattan@intel.com>
Tue, 5 Jan 2016 16:34:56 +0000 (16:34 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 24 Feb 2016 18:15:22 +0000 (19:15 +0100)
commit525e478f5e1770561fe0589369ec450fc8af0184
tree2eb8a626eb87a96b20c10dbcc577a3892455eeae
parentd0a6a32687cf12bc97ae26b6a3d2ce14e44aa2a5
ethdev: allow full control from secondary process

Macros RTE_PROC_PRIMARY_OR_ERR_RET and RTE_PROC_PRIMARY_OR_RET
are blocking the secondary process from using the APIs.
API access should be given to both secondary and primary.

Reported-by: Sean Harte <sean.harte@intel.com>
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_ether/rte_ethdev.c