net: hns3: Support two vlan header when setting mtu
authorYunsheng Lin <linyunsheng@huawei.com>
Sun, 18 Nov 2018 03:19:10 +0000 (03:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Nov 2018 05:57:29 +0000 (21:57 -0800)
commita0b4371751bf836fb438877c981bda733f918988
tree3640f2249dd135bf5f5ca887e088614a1695a701
parentd7b4a2f2329e1727b31b898dba1d397e5d90a5d8
net: hns3: Support two vlan header when setting mtu

This patch adds supports for two vlan header when setting mtu.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h