enic: handle mtu change for vf properly
authorGovindarajulu Varadarajan <gvaradar@cisco.com>
Fri, 27 Jul 2018 18:19:29 +0000 (11:19 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2018 07:26:31 +0000 (09:26 +0200)
commit2312e6a802b3a5636c487fe7222757f7a573995d
tree6e5958c892e3a4ca4c6cde53f28272d524ab8051
parentd4f96c0515fc7f448d9f9a559f76f4364d2d3fd3
enic: handle mtu change for vf properly

[ Upstream commit ab123fe071c9aa9680ecd62eb080eb26cff4892c ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/cisco/enic/enic_main.c