drivers/net: enable hotplug on secondary process
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 16 Oct 2018 00:16:30 +0000 (08:16 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 17 Oct 2018 08:16:18 +0000 (10:16 +0200)
commit4852aa8f6e2125664698afc43b820bd787b02756
treeb4cea53ad6dc17a1c81c0c594bb602b13f4a175c
parentac9e4a17370f19497d41da46bdb2d89bd307e59f
drivers/net: enable hotplug on secondary process

Attach port from secondary should ignore devargs since the private
device is not necessary to support. Also previously, detach port on
a secondary process will mess primary process and cause the same
device can't be attached back again. A secondary process should use
rte_eth_dev_release_port_secondary to release a port.

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/af_packet/rte_eth_af_packet.c
drivers/net/bonding/rte_eth_bond_pmd.c
drivers/net/kni/rte_eth_kni.c
drivers/net/null/rte_eth_null.c
drivers/net/octeontx/octeontx_ethdev.c
drivers/net/pcap/rte_eth_pcap.c
drivers/net/tap/rte_eth_tap.c
drivers/net/vhost/rte_eth_vhost.c