net/ixgbe: fix intr callback unregister by adding retry
authorYunjian Wang <wangyunjian@huawei.com>
Wed, 21 Mar 2018 12:28:10 +0000 (20:28 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:44 +0000 (14:08 +0200)
commit91fbf1791cd7d69012010ab159d0b5c7dee81f79
treebfe3e75d8b2240575c1584c9bea133a791fd7705
parent7a36967029c0dc062bdc25fc28fb2c1d0bbca179
net/ixgbe: fix intr callback unregister by adding retry

The nic's interrupt source has some active callbacks, when
the port hotplug. Add a retry to give more port's a chance
to uninit before returning an error.

Fixes: 2866c5f1b87e ("ixgbe: support port hotplug")
Cc: stable@dpdk.org
Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c