net/bnx2x: fix call to link handling periodic function
authorRasesh Mody <rasesh.mody@cavium.com>
Sat, 29 Sep 2018 05:42:40 +0000 (05:42 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:48 +0000 (18:53 +0200)
commit0f6ebeee2402441b20e45ea27f0ff2a4fc2c165f
treee47f7467bb4fc599a062034413f5387d2fe97cd6
parent29822ca5cce2613e6de5b0972fc340e856f201c5
net/bnx2x: fix call to link handling periodic function

If link handling periodic function is allowed to be called in interrupt
context, the periodic function can get called too frequently and exhaust
the retry credits to check link status.

This change makes sure link handling periodic function is not called in
interrupt context.

Fixes: 540a211084a7 ("bnx2x: driver core")
Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/bnx2x/bnx2x_ethdev.c