net/bnx2x: fix optic module verification
authorRasesh Mody <rmody@marvell.com>
Fri, 12 Apr 2019 01:47:42 +0000 (18:47 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 19 Apr 2019 12:51:54 +0000 (14:51 +0200)
commit5a6af6baa8c64ab31bd457b12be1f5173194bec6
treecfdf3a0151f5bb2f9aa1e7591b51f89ff38332c4
parentc19eafccb22e1b1ca52439a936908cfd6fd12ff1
net/bnx2x: fix optic module verification

Enable the optic module vendor and part number verification from driver
by setting appropriate flags. Link handling module in conjunction with
FW performs optic module verification.

Without this fix the SFP is powered down and the link doesn't come up,
if module verification is enforced in nvram setting.

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