numam-dpdk/drivers/net
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
..
af_packet ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
ark ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
atlantic net/atlantic: read MAC registers for debug purposes 2018-10-18 10:24:39 +02:00
avf net/avf: fix Tx offload mask 2018-11-16 16:28:52 +01:00
avp net/avp: disable in FreeBSD build with meson 2018-10-27 18:00:01 +02:00
axgbe ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
bnx2x net/bnx2x: fix VF link state update 2018-11-14 00:35:53 +01:00
bnxt net/bnxt: fix uninitialized variable access 2018-11-05 18:54:48 +01:00
bonding net/bonding: fix crash when stopping mode 4 port 2018-11-14 00:35:53 +01:00
cxgbe net/cxgbevf: fix illegal memory access when freeing MPS TCAM 2018-11-14 00:35:53 +01:00
dpaa ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
dpaa2 ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
e1000 net/e1000/base: fix uninitialized variable 2018-11-14 00:35:53 +01:00
ena net/ena: fix cleaning HW IO rings configuration 2018-11-16 11:49:51 +01:00
enetc ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
enic net/enic: fix size check in Tx prepare handler 2018-11-14 00:35:53 +01:00
failsafe drivers: prefix global variables with module name 2018-10-29 02:34:21 +01:00
fm10k eal: fix build 2018-11-12 13:27:02 +01:00
i40e net/i40e: fix RSS key initialization 2018-11-15 23:32:46 +01:00
ifc add missing static keyword to globals 2018-10-29 02:01:08 +01:00
ixgbe net/ixgbe: fix maximum wait time in comment 2018-11-15 23:32:01 +01:00
kni ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
liquidio ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
mlx4 net/mlx4: optimize Tx external memory registration 2018-11-16 10:45:37 +01:00
mlx5 net/mlx5: fix packet type for MPLS in UDP 2018-11-16 10:45:37 +01:00
mvneta ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
mvpp2 net/mvpp2: fix possible uninitialized variable access 2018-11-16 11:13:51 +01:00
netvsc net/netvsc: fix VF link update 2018-11-05 20:10:54 +01:00
nfp mem: rename DMA mask check with proper prefix 2018-11-05 01:01:54 +01:00
null ethdev: remove release function for secondary process 2018-10-26 22:14:05 +02:00
octeontx net/octeontx: fix failures when available ports > queues 2018-11-16 12:03:54 +01:00
pcap net/pcap: enable data path for secondary process 2018-11-16 16:56:19 +01:00
qede net/qede: fix Tx tunnel offload support mask 2018-11-14 00:35:53 +01:00
ring ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
sfc net/sfc/base: fix field order in filter spec struct 2018-11-14 00:35:53 +01:00
softnic net/softnic: fix string copy 2018-11-02 11:23:00 +01:00
szedata2 ethdev: free all common data when releasing port 2018-10-26 22:14:05 +02:00
tap net/tap: fix probe for multiq or flowq failure 2018-11-14 00:35:53 +01:00
thunderx net/thunderx: fix Tx desc corruption in scatter-gather mode 2018-11-14 00:35:53 +01:00
vdev_netvsc net/vdev_netvsc: disable in FreeBSD build with meson 2018-10-27 18:03:33 +02:00
vhost net/vhost: fix parameters string 2018-11-05 15:01:25 +01:00
virtio net/virtio: fix unchecked return value 2018-11-14 00:35:53 +01:00
vmxnet3 drivers/net: set close behaviour flag at probing 2018-11-14 00:35:53 +01:00
Makefile net/atlantic: add PMD driver skeleton 2018-10-18 10:24:39 +02:00
meson.build net/atlantic: add PMD driver skeleton 2018-10-18 10:24:39 +02:00