numam-dpdk/drivers/net/af_packet
Jianfeng Tan ee27edbe0c drivers/net: share vdev data to secondary process
dpdk-procinfo, as a secondary process, cannot fetch stats for vdev.

This patch enables that by attaching the port from the shared data.
We also fill the eth dev ops, with only some ops works in secondary
process, for example, stats_get().

Note that, we still cannot Rx/Tx packets on the ports which do not
support multi-process.

Reported-by: Signed-off-by: Vipin Varghese <vipin.varghese@intel.com>
Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
Reviewed-by: Qi Zhang <qi.z.zhang@intel.com>
2018-04-24 12:37:31 +02:00
..
Makefile bus/vdev: move code from EAL into a new driver 2017-11-07 16:54:07 +01:00
meson.build build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
rte_eth_af_packet.c drivers/net: share vdev data to secondary process 2018-04-24 12:37:31 +02:00
rte_pmd_af_packet_version.map af_packet: make the device detachable 2016-03-16 19:05:47 +01:00