]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 15:13:51 +0000 (07:13 -0800)
commit0f7e27d6fa7aa5c787fa846e3b28ec56d47f2b3a
tree9932e9ce50d77fec89bfea7d8237de6d360a6f19
parent95e7e879c18401012ad27c2691f91cf9f5ef4af8
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>
Signed-off-by: Suresh Reddy <suresh.reddy@broadcom.com>
Orabug: 22725582
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_cmds.h