numam-dpdk/drivers/net/pcap
Qi Zhang 0d0dd2d9d8 net/pcap: enable data path for secondary process
Private vdev was the way previously, when pdump developed, now with
shared device mode on virtual devices, pcap data path in secondary
is not working.

When secondary adds a virtual device, related data transferred to
primary and primary creates the device and shares device back with
secondary.  When pcap device created in primary, pcap handlers
(pointers) are process local and they are not valid for secondary
process. This breaks secondary.

So we can't directly share the pcap handlers, but need to create a new
set of handlers for secondary, that's what we done in this patch.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
2018-11-16 16:56:19 +01:00
..
Makefile net/pcap: convert license headers to SPDX tags 2018-01-16 18:47:49 +01:00
meson.build net/pcap: simplify dependency checking using meson 2018-03-12 16:29:27 +01:00
rte_eth_pcap.c net/pcap: enable data path for secondary process 2018-11-16 16:56:19 +01:00
rte_pmd_pcap_version.map