From: David S. Miller Date: Fri, 23 Sep 2016 11:22:19 +0000 (-0400) Subject: Merge branch 'mlx5-sriov-vlan-push-pop' X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c7b9e63341db3ab2160194ebbf0d3d6041419cee;p=openwrt%2Fstaging%2Fblogic.git 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 524605e "cxgb4: Convert to use simple_open()" ==================== Signed-off-by: David S. Miller --- c7b9e63341db3ab2160194ebbf0d3d6041419cee