]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: add support for vlan TSO
authorYonglong Liu <liuyonglong@huawei.com>
Wed, 3 Jul 2019 11:12:30 +0000 (19:12 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Jul 2019 18:48:49 +0000 (11:48 -0700)
commit046d0ad65a6cf754e1cd85c0e99408e67c7f972a
tree2ee59baeb8459862b8e437ae49725fd739e4093f
parentd2728f88ef0137da9785d7e6658eca68f664d9d1
net: hns: add support for vlan TSO

The hip07 chip support vlan TSO, this patch adds NETIF_F_TSO
and NETIF_F_TSO6 flags to vlan_features to improve the
performance after adding vlan to the net ports.

Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_enet.c