Re: [dpdk-dev] [PATCH] net/mlx5: fix count query when flow has not counters

2018-07-25 Thread Shahaf Shuler
Wednesday, July 25, 2018 8:25 PM, Yongseok Koh: > Subject: Re: [PATCH] net/mlx5: fix count query when flow has not counters > > > > On Jul 25, 2018, at 1:46 AM, Nelio Laranjeiro > wrote: > > > > Querying a counters on a flow without counter is ending with a > > segmentation fault. > > > > Fixes:

Re: [dpdk-dev] [PATCH] net/mlx5: fix count query when flow has not counters

2018-07-25 Thread Yongseok Koh
> On Jul 25, 2018, at 1:46 AM, Nelio Laranjeiro > wrote: > > Querying a counters on a flow without counter is ending with a > segmentation fault. > > Fixes: 60bd8c9747e8 ("net/mlx5: add count flow action") > > Signed-off-by: Nelio Laranjeiro > --- > drivers/net/mlx5/mlx5_flow.c | 56 +++

Re: [dpdk-dev] [PATCH] net/mlx5: fix count query when flow has not counters

2018-07-25 Thread Ori Kam
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Nelio Laranjeiro > Sent: Wednesday, July 25, 2018 11:46 AM > To: dev@dpdk.org; Shahaf Shuler ; Yongseok Koh > > Subject: [dpdk-dev] [PATCH] net/mlx5: fix count query when flow has not > cou

[dpdk-dev] [PATCH] net/mlx5: fix count query when flow has not counters

2018-07-25 Thread Nelio Laranjeiro
Querying a counters on a flow without counter is ending with a segmentation fault. Fixes: 60bd8c9747e8 ("net/mlx5: add count flow action") Signed-off-by: Nelio Laranjeiro --- drivers/net/mlx5/mlx5_flow.c | 56 1 file changed, 32 insertions(+), 24 deletions(-