Commit 5724b8b5 authored by Committed by David S. MillerBrowse files
net/sched: tc_mirred: Rename public predicates 'is_tcf_mirred_redirect' and 'is_tcf_mirred_mirror'
These accessors are used in various drivers that support tc offloading, to detect properties of a given 'tc_action'. 'is_tcf_mirred_redirect' tests that the action is TCA_EGRESS_REDIR. 'is_tcf_mirred_mirror' tests that the action is TCA_EGRESS_MIRROR. As a prep towards supporting INGRESS redir/mirror, rename these predicates to reflect their true meaning: s/is_tcf_mirred_redirect/is_tcf_mirred_egress_redirect/ s/is_tcf_mirred_mirror/is_tcf_mirred_egress_mirror/ Signed-off-by: Shmulik Ladkani <firstname.lastname@example.org> Cc: Hariprasad S <email@example.com> Cc: Jeff Kirsher <firstname.lastname@example.org> Cc: Saeed Mahameed <email@example.com> Cc: Jiri Pirko <firstname.lastname@example.org> Cc: Ido Schimmel <email@example.com> Cc: Jakub Kicinski <firstname.lastname@example.org> Acked-by: Jamal Hadi Salim <email@example.com> Signed-off-by: David S. Miller <firstname.lastname@example.org>