mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
00d594c3da
commit
18fd602564
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue