]> git.baikalelectronics.ru Git - kernel.git/commit
net:qos: police action offloading parameter 'burst' change to the original value
authorPo Liu <po.liu@nxp.com>
Mon, 29 Jun 2020 06:54:16 +0000 (14:54 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jun 2020 00:33:42 +0000 (17:33 -0700)
commite77d828faf8ea9477ba51bc46288b1d3064410b4
treed8535555e53b97e2a5bac14887677f9715898151
parent722d9202cbf432ea220f95944be76fdaee83b5e9
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>
drivers/net/dsa/ocelot/felix.c
drivers/net/dsa/sja1105/sja1105_flower.c
drivers/net/dsa/sja1105/sja1105_main.c
drivers/net/ethernet/freescale/enetc/enetc_qos.c
drivers/net/ethernet/mscc/ocelot_flower.c
drivers/net/ethernet/mscc/ocelot_net.c
drivers/net/ethernet/netronome/nfp/flower/qos_conf.c
include/net/dsa.h
include/net/flow_offload.h
include/net/tc_act/tc_police.h
net/sched/cls_api.c