[dpdk-dev] [PATCH] net/mlx5: disable flow dump for Verbs flow

Slava Ovsiienko viacheslavo at nvidia.com
Sun Oct 4 18:55:33 CEST 2020


> -----Original Message-----
> From: Xueming Li <xuemingl at nvidia.com>
> Sent: Thursday, September 10, 2020 7:26
> To: Matan Azrad <matan at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>
> Cc: dev at dpdk.org; Asaf Penso <asafp at nvidia.com>; Xueming(Steven) Li
> <xuemingl at nvidia.com>; stable at dpdk.org
> Subject: [PATCH] net/mlx5: disable flow dump for Verbs flow
> 
> There was a segment fault when dump flows with device argument of
> dv_flow_en=0. In such case, Verbs flow engine was enabled and fdb
> resources were not initialized. It's suggested to use mlx_fs_dump for Verbs
> flow dump.
> 
> This patch adds verbs engine check, prints warning message and return
> gracefully.
> 
> Cc: stable at dpdk.org
> Signed-off-by: Xueming Li <xuemingl at nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>


More information about the dev mailing list