Re: [dpdk-dev] [PATCH] net/mlx5: fix segfault when create hash rxq of drop

2019-10-21 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Xiaoyu Min > Sent: Thursday, October 17, 2019 1:50 PM > To: Shahaf Shuler ; Yongseok Koh > > Cc: dev@dpdk.org; sta...@dpdk.org; Zengmo Gao > Subject: [dpdk-dev] [PATCH] net/mlx5: fix segfault when create hash rxq o

Re: [dpdk-dev] [PATCH] net/mlx5: fix segfault when create hash rxq of drop

2019-10-20 Thread Slava Ovsiienko
> -Original Message- > From: dev On Behalf Of Xiaoyu Min > Sent: Thursday, October 17, 2019 13:50 > To: Shahaf Shuler ; Yongseok Koh > > Cc: dev@dpdk.org; sta...@dpdk.org; Zengmo Gao > Subject: [dpdk-dev] [PATCH] net/mlx5: fix segfault when create hash rxq of >

[dpdk-dev] [PATCH] net/mlx5: fix segfault when create hash rxq of drop

2019-10-17 Thread Xiaoyu Min
When to create hrxq for the drop, it could fail on creating qp and goto the error handle which will release created ind_table by calling drop release function, which takes rte_ethdev as the only parameter and uses the priv->drop_queue.hrxq as input to release. Unfortunately, at this point, the hrx