]> git.proxmox.com Git - mirror_iproute2.git/commit
action police: make 'mtu' could be set independently in police action
authorPo Liu <po.liu@nxp.com>
Mon, 29 Jun 2020 02:04:20 +0000 (10:04 +0800)
committerDavid Ahern <dsahern@kernel.org>
Sun, 5 Jul 2020 15:34:04 +0000 (15:34 +0000)
commitbc4d9f982f8d0bb00fb61e0f4633e98522af597a
tree3e5e41647ded5bb4f8d05e903a09897dccb3c886
parent3c5570706beb911b2db1096ce5204a099411f758
action police: make 'mtu' could be set independently in police action

Current police action must set 'rate' and 'burst'. 'mtu' parameter
set the max frame size and could be set alone without 'rate' and 'burst'
in some situation. Offloading to hardware for example, 'mtu' could limit
the flow max frame size.

Signed-off-by: Po Liu <po.liu@nxp.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
tc/m_police.c