Re: [PATCH][next] net: dsa: felix: fix incorrect clamp calculation for burst
From: David Miller
Date: Thu May 14 2020 - 21:03:26 EST
From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Thu, 14 May 2020 19:33:02 +0100
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Currently burst is clamping on rate and not burst, the assignment
> of burst from the clamping discards the previous assignment of burst.
> This looks like a cut-n-paste error from the previous clamping
> calculation on ramp. Fix this by replacing ramp with burst.
>
> Addresses-Coverity: ("Unused value")
> Fixes: 0fbabf875d18 ("net: dsa: felix: add support Credit Based Shaper(CBS) for hardware offload")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Applied.