Re: [PATCH] net/nfp: reset profile config while modify profile

2023-03-07 Thread Ferruh Yigit
On 2/28/2023 8:56 AM, Chaoyong He wrote: > From: Jin Liu > > 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. >

[PATCH] net/nfp: reset profile config while modify profile

2023-02-28 Thread Chaoyong He
From: Jin Liu 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 option