Re: [Patch v2] net/mana: fix counter overflow for posted WQE

2023-07-11 Thread Ferruh Yigit
On 7/11/2023 12:51 AM, lon...@linuxonhyperv.com wrote: > From: Long Li > > This counter should set to uint16_t, the same type as pkt_received. > Otherwise, it may overflow when pkt_received goes over 256. > > Thanks Xinhao Kong for debugging this. > > Fixes: 517ed6e2d590 ("net/mana: add basic

[Patch v2] net/mana: fix counter overflow for posted WQE

2023-07-10 Thread longli
From: Long Li This counter should set to uint16_t, the same type as pkt_received. Otherwise, it may overflow when pkt_received goes over 256. Thanks Xinhao Kong for debugging this. Fixes: 517ed6e2d590 ("net/mana: add basic driver with build environment") Cc: sta...@dpdk.org Signed-off-by: Long