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

Ferruh Yigit ferruh.yigit at amd.com
Tue Jul 11 12:18:00 CEST 2023


On 7/11/2023 12:51 AM, longli at linuxonhyperv.com wrote:
> From: Long Li <longli at microsoft.com>
> 
> 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 <t-kongxinhao at microsoft.com> for debugging this.
> 
> Fixes: 517ed6e2d590 ("net/mana: add basic driver with build environment")
> Cc: stable at dpdk.org
>
> Signed-off-by: Long Li <longli at microsoft.com>
>

Applied to dpdk-next-net/main, thanks.


More information about the stable mailing list