Re: [dpdk-dev] [PATCH v3 11/14] net/mlx5: support MPLS-in-GRE and MPLS-in-UDP

2018-04-16 Thread Nélio Laranjeiro
On Fri, Apr 13, 2018 at 03:22:50PM +, Xueming(Steven) Li wrote: >[...] > > @@ > > > > static > > > > > const struct mlx5_flow_items mlx5_flow_items[] = { > > > > > .convert = mlx5_flow_create_vxlan_gpe, > > > > > .dst_sz = sizeof(struct ibv_flow_spec_tunnel), > > >

Re: [dpdk-dev] [PATCH v3 11/14] net/mlx5: support MPLS-in-GRE and MPLS-in-UDP

2018-04-13 Thread Xueming(Steven) Li
> -Original Message- > From: Nélio Laranjeiro > Sent: Friday, April 13, 2018 10:56 PM > To: Xueming(Steven) Li > Cc: Shahaf Shuler ; dev@dpdk.org > Subject: Re: [PATCH v3 11/14] net/mlx5: support MPLS-in-GRE and MPLS-in- > UDP > > On Fri, Apr 13, 2018 at 02:48:17PM +, Xueming(Steve

Re: [dpdk-dev] [PATCH v3 11/14] net/mlx5: support MPLS-in-GRE and MPLS-in-UDP

2018-04-13 Thread Nélio Laranjeiro
On Fri, Apr 13, 2018 at 02:48:17PM +, Xueming(Steven) Li wrote: > > > > -Original Message- > > From: Nélio Laranjeiro > > Sent: Friday, April 13, 2018 9:37 PM > > To: Xueming(Steven) Li > > Cc: Shahaf Shuler ; dev@dpdk.org > > Subject: Re: [PATCH v3 11/14] net/mlx5: support MPLS-in-

Re: [dpdk-dev] [PATCH v3 11/14] net/mlx5: support MPLS-in-GRE and MPLS-in-UDP

2018-04-13 Thread Xueming(Steven) Li
> -Original Message- > From: Nélio Laranjeiro > Sent: Friday, April 13, 2018 9:37 PM > To: Xueming(Steven) Li > Cc: Shahaf Shuler ; dev@dpdk.org > Subject: Re: [PATCH v3 11/14] net/mlx5: support MPLS-in-GRE and MPLS-in- > UDP > > Some nits, > > On Fri, Apr 13, 2018 at 07:20:20PM +0800

Re: [dpdk-dev] [PATCH v3 11/14] net/mlx5: support MPLS-in-GRE and MPLS-in-UDP

2018-04-13 Thread Nélio Laranjeiro
Some nits, On Fri, Apr 13, 2018 at 07:20:20PM +0800, Xueming Li wrote: > This patch supports new tunnel type MPLS-in-GRE and MPLS-in-UDP. > Flow pattern example: > ipv4 proto is 47 / gre proto is 0x8847 / mpls > ipv4 / udp dst is 6635 / mpls / end > > Signed-off-by: Xueming Li > --- > drive

[dpdk-dev] [PATCH v3 11/14] net/mlx5: support MPLS-in-GRE and MPLS-in-UDP

2018-04-13 Thread Xueming Li
This patch supports new tunnel type MPLS-in-GRE and MPLS-in-UDP. Flow pattern example: ipv4 proto is 47 / gre proto is 0x8847 / mpls ipv4 / udp dst is 6635 / mpls / end Signed-off-by: Xueming Li --- drivers/net/mlx5/Makefile| 5 ++ drivers/net/mlx5/mlx5.c | 15 + drivers/net/