Re: [dpdk-dev] [PATCH] net/mlx5: fix NVGRE matching

2019-07-22 Thread Dekel Peled
Thanks, sent v2. > -Original Message- > From: Jack Min > Sent: Monday, July 22, 2019 3:10 PM > To: Dekel Peled > Cc: Yongseok Koh ; Slava Ovsiienko > ; Shahaf Shuler ; Ori > Kam ; dev@dpdk.org > Subject: Re: [PATCH] net/mlx5: fix NVGRE matching > > On Mon, 19-07-22, 19:33, Dekel Peled wr

Re: [dpdk-dev] [PATCH] net/mlx5: fix NVGRE matching

2019-07-22 Thread Jack Min
On Mon, 19-07-22, 19:33, Dekel Peled wrote: > Thanks, PSB. > > > -Original Message- > > From: Jack Min > > Sent: Monday, July 22, 2019 12:31 PM > > To: Dekel Peled > > Cc: Yongseok Koh ; Slava Ovsiienko > > ; Shahaf Shuler ; Ori > > Kam ; dev@dpdk.org > > Subject: Re: [PATCH] net/mlx5: fi

Re: [dpdk-dev] [PATCH] net/mlx5: fix NVGRE matching

2019-07-22 Thread Dekel Peled
Thanks, PSB. > -Original Message- > From: Jack Min > Sent: Monday, July 22, 2019 12:31 PM > To: Dekel Peled > Cc: Yongseok Koh ; Slava Ovsiienko > ; Shahaf Shuler ; Ori > Kam ; dev@dpdk.org > Subject: Re: [PATCH] net/mlx5: fix NVGRE matching > > On Thu, 19-07-18, 22:42, Dekel Peled wrote

Re: [dpdk-dev] [PATCH] net/mlx5: fix NVGRE matching

2019-07-22 Thread Jack Min
On Thu, 19-07-18, 22:42, Dekel Peled wrote: > NVGRE has a GRE header with c_rsvd0_ver value 0x2000 and protocol > value 0x6558. > These should be matched when item_nvgre is provided. > > This patch adds validation function of NVGRE item, to validate that > the input values, if exist, are as requir

[dpdk-dev] [PATCH] net/mlx5: fix NVGRE matching

2019-07-18 Thread Dekel Peled
NVGRE has a GRE header with c_rsvd0_ver value 0x2000 and protocol value 0x6558. These should be matched when item_nvgre is provided. This patch adds validation function of NVGRE item, to validate that the input values, if exist, are as required. It also updates the translate function of NVGRE item