]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
be2net: fail VF link config change via ndo_set_vf_link_state() on BE3/Lancer
authorKalesh AP <kalesh.purayil@emulex.com>
Tue, 20 Jan 2015 08:51:45 +0000 (03:51 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jan 2015 01:22:42 +0000 (17:22 -0800)
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>
drivers/net/ethernet/emulex/benet/be_cmds.c

index fead5c65a4f00fe525464bb647442fcd025484d5..9772f49a483712af73f375f4935207f86e1650b3 100644 (file)
@@ -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);