Re: [dpdk-dev] [dpdk-stable] [PATCH] net/mlx5: fix eCPRI previous layer checking

2020-11-06 Thread Ferruh Yigit
On 11/6/2020 2:20 PM, Bing Zhao wrote: Hi Ferruh, -Original Message- From: Ferruh Yigit Sent: Friday, November 6, 2020 7:35 PM To: Bing Zhao ; Slava Ovsiienko ; Matan Azrad Cc: dev@dpdk.org; Ori Kam ; Raslan Darawsheh ; sta...@dpdk.org Subject: Re: [dpdk-stable] [PATCH] net/mlx5: fix

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/mlx5: fix eCPRI previous layer checking

2020-11-06 Thread Bing Zhao
Hi Ferruh, > -Original Message- > From: Ferruh Yigit > Sent: Friday, November 6, 2020 7:35 PM > To: Bing Zhao ; Slava Ovsiienko > ; Matan Azrad > Cc: dev@dpdk.org; Ori Kam ; Raslan Darawsheh > ; sta...@dpdk.org > Subject: Re: [dpdk-stable] [PATCH] net/mlx5: fix eCPRI previous > layer che

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/mlx5: fix eCPRI previous layer checking

2020-11-06 Thread Ferruh Yigit
On 11/3/2020 5:42 AM, Bing Zhao wrote: Based on the specification, eCPRI can only follow ETH (VLAN) layer or UDP layer. When creating a flow with eCPRI item, this should be checked and invalid layout of the layers should be rejected. Fixes: c7eca23657b7 ("net/mlx5: add flow validation of eCPRI h