linux_dsm_epyc7002/include/net/tc_act
Jiri Pirko 843e79d05a net: sched: make tc_action_ops->get_dev return dev and avoid passing net
Return dev directly, NULL if not possible. That is enough.

Makes no sense to pass struct net * to get_dev op, as there is only one
net possible, the one the action was created in. So just store it in
mirred priv and use directly.

Rename the mirred op callback function.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-11 20:15:42 -07:00
..
tc_bpf.h net_sched: get rid of struct tcf_common 2016-07-25 21:49:20 -07:00
tc_connmark.h net_sched: get rid of struct tcf_common 2016-07-25 21:49:20 -07:00
tc_csum.h net/sched: act_csum: Add accessors for offloading drivers 2017-05-23 16:23:31 +03:00
tc_defact.h net_sched: get rid of struct tcf_common 2016-07-25 21:49:20 -07:00
tc_gact.h net: sched: introduce helper to identify gact pass action 2017-09-26 20:26:45 -07:00
tc_ife.h net/sched: act_ife: Change to use ife module 2017-02-03 15:16:46 -05:00
tc_ipt.h net_sched: get rid of struct tcf_common 2016-07-25 21:49:20 -07:00
tc_mirred.h net: sched: make tc_action_ops->get_dev return dev and avoid passing net 2017-10-11 20:15:42 -07:00
tc_nat.h net_sched: get rid of struct tcf_common 2016-07-25 21:49:20 -07:00
tc_pedit.h net/sched: Add accessor functions to pedit keys for offloading drivers 2017-03-28 15:34:06 +03:00
tc_sample.h net/sched: Introduce sample tc action 2017-01-24 13:44:28 -05:00
tc_skbedit.h skbedit: allow the user to specify bitmask for mark 2016-10-27 16:07:25 -04:00
tc_skbmod.h net_sched: Introduce skbmod action 2016-09-15 19:33:47 -04:00
tc_tunnel_key.h net/sched: act_tunnel_key: add helper inlines to access tcf_tunnel_key 2016-11-09 13:41:53 -05:00
tc_vlan.h net/sched: Removed unused vlan actions definition 2017-04-06 13:28:35 -07:00