summaryrefslogtreecommitdiff
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2020-07-02 19:27:35 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-03 00:47:39 +0300
commitaf3c38d3fb7c3003842974b1de454ecebbd8bc83 (patch)
treeb8db8a4a6138ad6f8bf9107ada30dcbcbfd149ce /drivers/net/virtio_net.c
parente44f65fd666c73944d6f2462cea0559ce5508721 (diff)
downloadlinux-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/virtio_net.c')
0 files changed, 0 insertions, 0 deletions