]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: fix VF link state transition from disabled to auto
authorSuresh Reddy <suresh.reddy@avagotech.com>
Wed, 30 Dec 2015 06:28:56 +0000 (01:28 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Dec 2015 21:33:34 +0000 (16:33 -0500)
commit36d32e487c3de06638e653245828a1e3358ce3e1
treebc051d352052dc9bae698c1e96aa56b50c0a9485
parent93411d1856e8f52bdd72bf1089cb9cb7adb33c41
be2net: fix VF link state transition from disabled to auto

The VF link state setting transition from "disable" to "auto" does not work
due to a bug in SET_LOGICAL_LINK_CONFIG_V1 cmd in FW. This issue could not
be fixed in FW due to some backward compatibility issues it causes with
some released drivers. The issue has been fixed by introducing a new
version (v2) of the cmd from 10.6 FW onwards. In v2, to set the VF link
state to auto, both PLINK_ENABLE and PLINK_TRACK bits have to be set to 1.

The VF link state setting feature now works on Lancer chips too from
FW ver 10.6.315.0 onwards.

Signed-off-by: Suresh Reddy <suresh.reddy@avagotech.com>
Signed-off-by: Sathya Perla <sathya.perla@avagotech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_cmds.h