[dpdk-dev] [PATCH v6 08/11] net/mlx5: add hardware flow debug dump

Shahaf Shuler shahafs at mellanox.com
Thu Apr 26 12:48:27 CEST 2018


Thursday, April 26, 2018 1:10 PM, Ferruh Yigit:
> Subject: Re: [dpdk-dev] [PATCH v6 08/11] net/mlx5: add hardware flow
> debug dump
> 
> On 4/23/2018 1:33 PM, Xueming Li wrote:
> > Dump verb flow detail including flow spec type and size for debugging
> > purpose.
> 
> This patch is causing build errors [1], please test build with debug enabled.
> 
> Also set is already in next-net-mlx, fixed version needs to be updated there.
> 
> Thanks,
> ferruh
> 
> [1]
> ...dpdk/drivers/net/mlx5/mlx5_rxq.c:1460:29: error: format specifies type
> 'unsigned char' but the argument has type 'uint32_t' (aka 'unsigned int') [-
> Werror,-Wformat]
>               hash_fields, tunnel, rss_level,
>                                    ^~~~~~~~~
> 
> ...dpdk/drivers/net/mlx5/mlx5_rxq.c:1599:23: error: format specifies type
> 'unsigned char' but the argument has type 'uint32_t' (aka 'unsigned int') [-
> Werror,-Wformat]
>                       hrxq->tunnel, hrxq->rss_level);
>                                     ^~~~~~~~~~~~~~~

Fixed locally on next-net-mlx, no need to send patch. 

> 
> >
> > Signed-off-by: Xueming Li <xuemingl at mellanox.com>
> > ---
> >  drivers/net/mlx5/mlx5_flow.c  | 68
> ++++++++++++++++++++++++++++++++++++-------
> >  drivers/net/mlx5/mlx5_rxq.c   | 26 ++++++++++++++---
> >  drivers/net/mlx5/mlx5_utils.h |  6 ++++
> >  3 files changed, 86 insertions(+), 14 deletions(-)
> 
> <...>


More information about the dev mailing list