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)
commitd29bdd69ecdd70e8e3c2268fc8e188d6ab55e54a
tree499c8a39b8146b56ed2d7821f9d8e8a6c4d20910
parenta51c328df3106663879645680609eb49b3ff6444
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