[PATCH] Add support for IBM Z s390x
Stephen Hemminger
stephen at networkplumber.org
Fri Jul 7 00:47:23 CEST 2023
On Fri, 28 Oct 2022 17:52:40 -0400
David Miller <dmiller423 at gmail.com> wrote:
> diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
> index cc8e7aa138..2a863f3d39 100644
> --- a/app/test-pmd/config.c
> +++ b/app/test-pmd/config.c
> @@ -245,9 +245,9 @@ nic_stats_display(portid_t port_id)
> static uint64_t prev_bytes_tx[RTE_MAX_ETHPORTS];
> static uint64_t prev_ns[RTE_MAX_ETHPORTS];
> struct timespec cur_time;
> - uint64_t diff_pkts_rx, diff_pkts_tx, diff_bytes_rx, diff_bytes_tx,
> - diff_ns;
> - uint64_t mpps_rx, mpps_tx, mbps_rx, mbps_tx;
> + __uint128_t diff_pkts_rx, diff_pkts_tx, diff_bytes_rx, diff_bytes_tx,
> + diff_ns;
> + __uint128_t mpps_rx, mpps_tx, mbps_rx, mbps_tx
Not all platforms DPDK supports are likely to handle 128 bit numbers.
And unsigned long long is not 128 bit on many platforms.
Better to leave this part alone.
More information about the dev
mailing list