]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
enic: handle mtu change for vf properly
authorGovindarajulu Varadarajan <gvaradar@cisco.com>
Fri, 27 Jul 2018 18:19:29 +0000 (11:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Jul 2018 02:04:38 +0000 (19:04 -0700)
commitab123fe071c9aa9680ecd62eb080eb26cff4892c
tree8052f1c5e7cb080337a28658896f725251a5f372
parent136f55f660192ce04af091642efc75d85e017364
enic: handle mtu change for vf properly

When driver gets notification for mtu change, driver does not handle it for
all RQs. It handles only RQ[0].

Fix is to use enic_change_mtu() interface to change mtu for vf.

Signed-off-by: Govindarajulu Varadarajan <gvaradar@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cisco/enic/enic_main.c