Skip to content
Commit b014d043 authored by Colin Ian King's avatar Colin Ian King Committed by David S. Miller
Browse files

net: dsa: felix: fix incorrect clamp calculation for burst

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: 0fbabf87

 ("net: dsa: felix: add support Credit Based Shaper(CBS) for hardware offload")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Acked-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 140ad6c8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment