]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: allow TSO on VXLAN over VLAN topologies
authorDavide Caratti <dcaratti@redhat.com>
Thu, 9 Jan 2020 11:07:59 +0000 (12:07 +0100)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 23 Jan 2020 06:28:23 +0000 (22:28 -0800)
commitd5a7752dbb5b84c2fc8709b8fbf64fa6d74248d3
treeace206c6945e7f8ced8ae674e25737718c87a56b
parent431c32c03074525f4367691c1386b300d1ae9176
net/mlx5e: allow TSO on VXLAN over VLAN topologies

since mlx5 hardware can segment correctly TSO packets on VXLAN over VLAN
topologies, CPU usage can improve significantly if we enable tunnel
offloads in dev->vlan_features, like it was done in the past with other
NIC drivers (e.g. mlx4, be2net and ixgbe).

Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c