]> git.baikalelectronics.ru Git - kernel.git/commit
net: schedule: add action gate offloading
authorPo Liu <Po.Liu@nxp.com>
Fri, 1 May 2020 00:53:16 +0000 (08:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2020 23:08:19 +0000 (16:08 -0700)
commit411b4868fa0e860a2af9a3b05bae2aa12fc1e88c
tree499c8a39b8146b56ed2d7821f9d8e8a6c4d20910
parent0eb9d0588e39fe1c85a930c6257ab01e042e7997
net: schedule: add action gate offloading

Add the gate action to the flow action entry. Add the gate parameters to
the tc_setup_flow_action() queueing to the entries of flow_action_entry
array provide to the driver.

Signed-off-by: Po Liu <Po.Liu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow_offload.h
include/net/tc_act/tc_gate.h
net/sched/cls_api.c