]> 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)
commit78d6c7561edbfeb84312a96dbef911b457eece16
treebc051d352052dc9bae698c1e96aa56b50c0a9485
parentab6dc15c5fa2fb4ad0f2a0ec17ba5d98994d33e0
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