net/bnx2x: fix VF link state update
authorRasesh Mody <rasesh.mody@cavium.com>
Thu, 8 Nov 2018 21:19:30 +0000 (21:19 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 13 Nov 2018 23:35:53 +0000 (00:35 +0100)
commit39ae74caa0d1158df15ea1e2f8e893eee1a2189d
tree2d8efeb67ebcf002c21f176a7b0ecaddf251816b
parent853c782496534446f60189be2516c4bb933f11df
net/bnx2x: fix VF link state update

In general the VF driver should not access the chip. For VF link status
update, VF driver should not use HW lock, use bnx2x_link_report_locked()
instead.
Add few prints for releasing previously held HW locks.

Fixes: a9b58b15ed51 ("net/bnx2x: fix to add PHY lock")
Cc: stable@dpdk.org
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/bnx2x/bnx2x.c