net/e1000: fix port hotplug for multi-process
authorAlvin Zhang <alvinx.zhang@intel.com>
Wed, 29 Apr 2020 06:37:24 +0000 (14:37 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 18 May 2020 18:35:07 +0000 (20:35 +0200)
commit3a19eeb0c3329905fbb927fdbac90e548061130d
tree5a8a4bbc7bbeb8ab62717307dc98a85c3c6ba45a
parentefdda86bd4151dc2819ee4be5c6f3cb9245a84e8
net/e1000: fix port hotplug for multi-process

Enable detach device on secondary process.

Fixes: b9eee2cb8c29 ("e1000: support port hotplug")
Cc: stable@dpdk.org
Signed-off-by: Alvin Zhang <alvinx.zhang@intel.com>
Tested-by: Jianwei Mei <jianweix.mei@intel.com>
Reviewed-by: Jeff Guo <jia.guo@intel.com>
drivers/net/e1000/em_ethdev.c
drivers/net/e1000/igb_ethdev.c