diff options
author | Kalesh AP <kalesh.purayil@emulex.com> | 2015-01-20 03:51:45 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-24 17:22:42 -0800 |
commit | 18fd602564d3827125aa5c7a4eab6b42da3650d1 (patch) | |
tree | 8ae9419d0e77feeeb696fd5cf26bed70eec23623 /drivers/net | |
parent | 00d594c3da568647ccbae506da12d3186600b377 (diff) | |
download | lwn-18fd602564d3827125aa5c7a4eab6b42da3650d1.tar.gz lwn-18fd602564d3827125aa5c7a4eab6b42da3650d1.zip |
be2net: fail VF link config change via ndo_set_vf_link_state() on BE3/Lancer
The support for this exists only in skyhawk FW.
Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_cmds.c b/drivers/net/ethernet/emulex/benet/be_cmds.c index fead5c65a4f0..9772f49a4837 100644 --- a/drivers/net/ethernet/emulex/benet/be_cmds.c +++ b/drivers/net/ethernet/emulex/benet/be_cmds.c @@ -4092,7 +4092,7 @@ int be_cmd_set_logical_link_config(struct be_adapter *adapter, int status; if (BEx_chip(adapter) || lancer_chip(adapter)) - return 0; + return -EOPNOTSUPP; spin_lock_bh(&adapter->mcc_lock); |