]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mlx5-sriov-vlan-push-pop'
authorDavid S. Miller <davem@davemloft.net>
Fri, 23 Sep 2016 11:22:19 +0000 (07:22 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Sep 2016 11:22:19 +0000 (07:22 -0400)
commit9cfb58e1cd3620521f1b7182b3f59362ac274974
tree84e7bff136a378b39e49c573a014edd34dba469b
parent3554ec9219fd71af26d08c4f05afa2855e2437e0
parent9b592f84c0097dacf80239ebbdb221731eb08dfc
Merge branch 'mlx5-sriov-vlan-push-pop'

Saeed Mahameed says:

====================
Mellanox 100G SRIOV offloads vlan push/pop

From Or Gerlitz:

This series further enhances the SRIOV TC offloads of mlx5 to handle
the TC vlan push and pop actions. This serves a common use-case in
virtualization systems where the virtual switch add (push) vlan tags
to packets sent from VMs and removes (pop) vlan tags before the packet
is received by the VM. We use the new E-Switch switchdev mode and the
TC vlan action to achieve that also in SW defined SRIOV environments by
offloading TC rules that contain this action along with forwarding
(TC mirred/redirect action) the packet.

In the first patch we add some helpers to access the TC vlan action info
by offloading drivers. The next five patches don't add any new functionality,
they do some refactoring and cleanups in the current code to be used next.

The seventh patch deals with supporting vlans by the mlx5 e-switch in switchdev
mode. The eighth patch does the vlan action offload from TC and the last patch
adds matching for vlans as typically required by TC flows that involve vlan
pop action.

The series was applied on top of commit 831346e "cxgb4: Convert to use simple_open()"
====================

Signed-off-by: David S. Miller <davem@davemloft.net>