net:qos: police action offloading parameter 'burst' change to the original value
Since 'tcfp_burst' with TICK factor, driver side always need to recover it to the original value, this patch moves the generic calculation and recover to the 'burst' original value before offloading to device driver. Signed-off-by: Po Liu <po.liu@nxp.com> Acked-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -144,7 +144,7 @@ struct dsa_mall_mirror_tc_entry {
|
||||
|
||||
/* TC port policer entry */
|
||||
struct dsa_mall_policer_tc_entry {
|
||||
s64 burst;
|
||||
u32 burst;
|
||||
u64 rate_bytes_per_sec;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user