net_sched: get rid of struct tcf_common
After the previous patch, struct tc_action should be enough to represent the generic tc action, tcf_common is not necessary any more. This patch gets rid of it to make tc action code more readable. Cc: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by:Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/act_api.h 30 additions, 33 deletionsinclude/net/act_api.h
- include/net/tc_act/tc_bpf.h 1 addition, 1 deletioninclude/net/tc_act/tc_bpf.h
- include/net/tc_act/tc_connmark.h 1 addition, 1 deletioninclude/net/tc_act/tc_connmark.h
- include/net/tc_act/tc_csum.h 1 addition, 1 deletioninclude/net/tc_act/tc_csum.h
- include/net/tc_act/tc_defact.h 1 addition, 1 deletioninclude/net/tc_act/tc_defact.h
- include/net/tc_act/tc_gact.h 1 addition, 1 deletioninclude/net/tc_act/tc_gact.h
- include/net/tc_act/tc_ife.h 1 addition, 1 deletioninclude/net/tc_act/tc_ife.h
- include/net/tc_act/tc_ipt.h 1 addition, 1 deletioninclude/net/tc_act/tc_ipt.h
- include/net/tc_act/tc_mirred.h 1 addition, 1 deletioninclude/net/tc_act/tc_mirred.h
- include/net/tc_act/tc_nat.h 1 addition, 1 deletioninclude/net/tc_act/tc_nat.h
- include/net/tc_act/tc_pedit.h 1 addition, 1 deletioninclude/net/tc_act/tc_pedit.h
- include/net/tc_act/tc_skbedit.h 1 addition, 1 deletioninclude/net/tc_act/tc_skbedit.h
- include/net/tc_act/tc_vlan.h 1 addition, 1 deletioninclude/net/tc_act/tc_vlan.h
- net/sched/act_api.c 67 additions, 72 deletionsnet/sched/act_api.c
- net/sched/act_police.c 5 additions, 5 deletionsnet/sched/act_police.c
Please register or sign in to comment