net/bnx2x: fix link events polling for SRIOV
authorRasesh Mody <rmody@marvell.com>
Wed, 3 Jul 2019 23:43:12 +0000 (16:43 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:34 +0000 (14:31 +0200)
commit3423521ba06791211264cae9de196c99424062be
tree36ea87b365004b5425b7922e797bfca03c5d44a7
parente0c103a79c0e9d72cf78e3643a85b6869599f79d
net/bnx2x: fix link events polling for SRIOV

We do not need to schedule periodic poll for slowpath link events
for SRIOV. The link events are handled by the PF driver.

Fixes: 6041aa619f9a ("net/bnx2x: fix poll link status")
Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rmody@marvell.com>
drivers/net/bnx2x/bnx2x_ethdev.c