net: hns3: fix for changing MTU
authorFuyun Liang <liangfuyun1@huawei.com>
Fri, 5 Jan 2018 10:18:20 +0000 (18:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jan 2018 19:06:19 +0000 (14:06 -0500)
commit5bad95a1e55f4d5bb41e130db859d57eaf1b1549
treeac5bc434e9aebc468c2644760052541559a25184
parent2866ccb2b8f8df48c73f2fcc76454cac6c7cc557
net: hns3: fix for changing MTU

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>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c