Re: [dpdk-dev] [PATCH] net/mlx4: fix RSS action hash key null pointer

2021-04-11 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Viacheslav Ovsiienko > Sent: Wednesday, April 7, 2021 6:30 PM > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Matan Azrad > ; Ori Kam ; sta...@dpdk.org > Subject: [PATCH] net/mlx4: fix RSS action hash key null pointer > > If RSS action contains non zero hash

Re: [dpdk-dev] [PATCH] net/mlx4: fix RSS action hash key null pointer

2021-04-08 Thread Matan Azrad
From: Viacheslav Ovsiienko > If RSS action contains non zero hash key length and NULL key buffer pointer > the > default hash key should be used. > The check for the NULL pointer this was missing in the mlx4 PMD causing > crash, for example, in testpmd with command: > > flow validate 0 ingres

[dpdk-dev] [PATCH] net/mlx4: fix RSS action hash key null pointer

2021-04-07 Thread Viacheslav Ovsiienko
If RSS action contains non zero hash key length and NULL key buffer pointer the default hash key should be used. The check for the NULL pointer this was missing in the mlx4 PMD causing crash, for example, in testpmd with command: flow validate 0 ingress group 0 pattern eth / ipv4 / end actions