[dpdk-dev] [PATCH 0/5] net/mlx5: add inner tunnel items support on E-Switch

Viacheslav Ovsiienko viacheslavo at mellanox.com
Thu Dec 27 16:34:40 CET 2018


The generic Flow rule for tunnels looks like:

flow create <attributes> <port> \
            <tunnel outer items pattern> \
            <tunnel vni item> \
            <tunnel inner items pattern>
			    
Current design supports only L2 addresses as inner pattern
items. This patchset adds support for L3 (IPv4/IPv6) addresses
and L4 (TCP/UDP) ports items as inner tunnel parameters.
	
Also this patchset adds support for inner and outer ethernet
types for the E-Switch Flows with tunnels. Inner and outer ethernet
type match  can be specified with ethernet items, vlan items, or
implicitly deduced from IP address items. The tcm_info field 
in Netlink message tcm structure is filled always with outer
protocol.
	 
Cc: stable at dpdk.org
	
Signed-off-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>

Viacheslav Ovsiienko (5):
  net/mlx5: remove checks for outer tunnel items on E-Switch
  net/mlx5: add tunnel inner items validation on E-Switch
  net/mlx5: add tunnel inner items support on E-Switch
  net/mlx5: add ethernet type validation on E-Switch
  net/mlx5: add ethernet type support for tunnels on E-Switch

 drivers/net/mlx5/mlx5_flow_tcf.c | 690 ++++++++++++++++++++++-----------------
 1 file changed, 399 insertions(+), 291 deletions(-)

-- 
1.8.3.1



More information about the dev mailing list