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

Ferruh Yigit ferruh.yigit at intel.com
Thu Apr 26 12:09:53 CEST 2018


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);
                                    ^~~~~~~~~~~~~~~

> 
> 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