;+struct rnp_mbx_stats {
>...
>+}
Regards Wenbo
-Original Message-
From: Stephen Hemminger
Sent: 2023年8月3日 0:12
To: Wenbo Cao
Cc: dev@dpdk.org; ferruh.yi...@intel.com; andrew.rybche...@oktetlabs.ru
Subject: Re: [PATCH v2 4/8] net/rnp: add mbx basic api feature
On Wed, 2 Aug 2023
On Wed, 2 Aug 2023 08:11:02 +
Wenbo Cao wrote:
> +struct rnp_mbx_stats {
> + u32 msgs_tx;
> + u32 msgs_rx;
> +
> + u32 acks;
> + u32 reqs;
> + u32 rsts;
> +};
Easy to cause wraparound of 32 bits in these stats.
Why use u32 and not uint32_t or uint64_t.
> +struct rnp_mbx
2 matches
Mail list logo