]> git.droids-corp.org - dpdk.git/commit
net/tap: fix to populate FDs in secondary process
authorKumara Parameshwaran <kparameshwar@vmware.com>
Mon, 31 Jan 2022 14:32:34 +0000 (20:02 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 1 Feb 2022 17:15:04 +0000 (18:15 +0100)
commitc36ce7099c2187926cd62cff7ebd479823554929
tree398b54262dcb0024dab781004767d294b0fa4956
parent961fb4029b8c52c0e8230d34993c354d70e10e14
net/tap: fix to populate FDs in secondary process

When a tap device is hotplugged to primary process which in turn
adds the device to all secondary process, the secondary process
does a tap_mp_attach_queues, but the fds are not populated in
the primary during the probe they are populated during the queue_setup,
added a fix to sync the queues during rte_eth_dev_start

Fixes: 4852aa8f6e21 ("drivers/net: enable hotplug on secondary process")
Cc: stable@dpdk.org
Signed-off-by: Kumara Parameshwaran <kparameshwar@vmware.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/tap/rte_eth_tap.c