[PATCH] net/nfp: reset profile config while modify profile
Ferruh Yigit
ferruh.yigit at amd.com
Tue Mar 7 15:26:37 CET 2023
On 2/28/2023 8:56 AM, Chaoyong He wrote:
> From: Jin Liu <jin.liu at corigine.com>
>
> While changing meter profile from pps rate limit mode to bps,
> the profile configuration was not reset, leaving the profile
> in pps mode. This lead to incorrect operation.
>
> Fix this by clearing the profile before configuring it.
>
> Fixes: 434c66e7e55c ("net/nfp: add meter profile options")
> Cc: stable at dpdk.org
>
> Signed-off-by: Jin Liu <jin.liu at corigine.com>
> Reviewed-by: Chaoyong He <chaoyong.he at corigine.com>
> Reviewed-by: Niklas Söderlund <niklas.soderlund at corigine.com>
Applied to dpdk-next-net/main, thanks.
More information about the stable
mailing list