diff options
author | Edward Cree <ecree@solarflare.com> | 2020-07-02 19:27:35 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-03 00:47:39 +0300 |
commit | af3c38d3fb7c3003842974b1de454ecebbd8bc83 (patch) | |
tree | b8db8a4a6138ad6f8bf9107ada30dcbcbfd149ce /drivers/net/veth.c | |
parent | e44f65fd666c73944d6f2462cea0559ce5508721 (diff) | |
download | linux-af3c38d3fb7c3003842974b1de454ecebbd8bc83.tar.xz |
sfc: support setting MTU even if not privileged to configure MAC fully
Unprivileged functions (such as VFs) may set their MTU by use of the
'control' field of MC_CMD_SET_MAC_EXT, as used in efx_mcdi_set_mtu().
If calling efx_ef10_mac_reconfigure() from efx_change_mtu(), and the
NIC supports the above (SET_MAC_ENHANCED capability), use it rather
than efx_mcdi_set_mac().
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/veth.c')
0 files changed, 0 insertions, 0 deletions