Re: [dpdk-dev] [PATCH] net/mvpp2: fix port max speed overflow

2021-07-12 Thread Jerin Jacob
On Sun, Jul 11, 2021 at 6:41 PM wrote: > > From: Dana Vardi > > ethtool_cmd_speed return uint32 and after the arithmetic > operation in mrvl_get_max_rate func the result is out of range. > > Fixes: 429c394417 ("net/mvpp2: support traffic manager") > Cc: t...@semihalf.com > Cc: sta...@dpdk.org > >

[dpdk-dev] [PATCH] net/mvpp2: fix port max speed overflow

2021-07-11 Thread danat
From: Dana Vardi ethtool_cmd_speed return uint32 and after the arithmetic operation in mrvl_get_max_rate func the result is out of range. Fixes: 429c394417 ("net/mvpp2: support traffic manager") Cc: t...@semihalf.com Cc: sta...@dpdk.org Signed-off-by: Dana Vardi Reviewed-by: Liron Himi --- d