diff options
author | Po Liu <po.liu@nxp.com> | 2020-06-29 08:54:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-30 02:33:42 +0200 |
commit | 5f035af76e51cd622abc6564d5512ffeb9e06917 (patch) | |
tree | d8535555e53b97e2a5bac14887677f9715898151 /include/net/flow_offload.h | |
parent | Merge branch 'MPTCP-improve-fallback-to-TCP' (diff) | |
download | linux-5f035af76e51cd622abc6564d5512ffeb9e06917.tar.xz linux-5f035af76e51cd622abc6564d5512ffeb9e06917.zip |
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>
Diffstat (limited to 'include/net/flow_offload.h')
-rw-r--r-- | include/net/flow_offload.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/flow_offload.h b/include/net/flow_offload.h index 3e793ac66baf..de395498440d 100644 --- a/include/net/flow_offload.h +++ b/include/net/flow_offload.h @@ -233,7 +233,7 @@ struct flow_action_entry { } sample; struct { /* FLOW_ACTION_POLICE */ u32 index; - s64 burst; + u32 burst; u64 rate_bytes_ps; u32 mtu; } police; |