diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-08-07 10:15:19 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-07 18:42:35 +0200 |
commit | 3e0e82664322290a59189f7c2bcb39b0de932505 (patch) | |
tree | fbcc517bbeaabed6834c68248f9ca563e97ea83a /include | |
parent | net: sched: rename TC_SETUP_MATCHALL to TC_SETUP_CLSMATCHALL (diff) | |
download | linux-3e0e82664322290a59189f7c2bcb39b0de932505.tar.xz linux-3e0e82664322290a59189f7c2bcb39b0de932505.zip |
net: sched: make egress_dev flag part of flower offload struct
Since this is specific to flower now, make it part of the flower offload
struct.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netdevice.h | 1 | ||||
-rw-r--r-- | include/net/pkt_cls.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index f8051a36f900..bd49dbaee84e 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -792,7 +792,6 @@ struct tc_to_netdev { struct tc_cls_bpf_offload *cls_bpf; struct tc_mqprio_qopt *mqprio; }; - bool egress_dev; }; /* These structures hold the attributes of xdp state that are being passed diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h index e0c54f111467..8213acdfdf5a 100644 --- a/include/net/pkt_cls.h +++ b/include/net/pkt_cls.h @@ -504,6 +504,7 @@ struct tc_cls_flower_offload { struct fl_flow_key *mask; struct fl_flow_key *key; struct tcf_exts *exts; + bool egress_dev; }; enum tc_matchall_command { |