Skip to content

Commit

Permalink
be2net: fail VF link config change via ndo_set_vf_link_state() on BE3…
Browse files Browse the repository at this point in the history
…/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>
  • Loading branch information
Kalesh AP authored and David S. Miller committed Jan 25, 2015
1 parent 00d594c commit 18fd602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/emulex/benet/be_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 18fd602

Please sign in to comment.