[dpdk-dev] [PATCH v6] app/testpmd: fix testpmd packets dump overlapping

Stephen Hemminger stephen at networkplumber.org
Wed Jan 6 16:54:47 CET 2021


On Wed,  6 Jan 2021 16:13:37 +0200
Jiawei Wang <jiaweiw at nvidia.com> wrote:

> +print_ether_addr(const char *what, const struct rte_ether_addr *eth_addr,
> +		 char print_buf[], int buf_size, int *cur_len)

Use size_t instead of int for sizes?
The length can never be negative?


More information about the dev mailing list