net: hns3: fix for changing MTU
authorFuyun Liang <liangfuyun1@huawei.com>
Fri, 5 Jan 2018 10:18:20 +0000 (18:18 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Apr 2018 10:32:18 +0000 (12:32 +0200)
commitb20482cebfb2b8bdf7cc323f23f4e3c04599c18b
tree508f94e5dfa6b647bcc1086c955271334cc3525e
parentbe6a161e13028cc18727f187f2396190fbcba049
net: hns3: fix for changing MTU

[ Upstream commit 5bad95a1e55f4d5bb41e130db859d57eaf1b1549 ]

when changing MTU, The new MTU must need to be set to netdevice.

Fixes: a8e8b7ff3517 ("net: hns3: Add support to change MTU in HNS3 hardware")
Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.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/hisilicon/hns3/hns3pf/hns3_enet.c