Re: [PATCH v4 net-next 3/4] net/sched: tc_mirred: Rename public predicates 'is_tcf_mirred_redirect' and 'is_tcf_mirred_mirror'
From: Jamal Hadi Salim <jhs@mojatatu.com>
Date: 2016-10-13 12:09:02
From: Jamal Hadi Salim <jhs@mojatatu.com>
Date: 2016-10-13 12:09:02
On 16-10-13 02:06 AM, Shmulik Ladkani wrote:
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 <redacted>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> cheers, jamal