[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <02477255-73b1-1efc-c886-f37507e930f0@mojatatu.com>
Date: Sun, 25 Sep 2016 19:47:45 -0400
From: Jamal Hadi Salim <jhs@...atatu.com>
To: Florian Westphal <fw@...len.de>,
Daniel Borkmann <daniel@...earbox.net>
Cc: Shmulik Ladkani <shmulik.ladkani@...il.com>,
"David S. Miller" <davem@...emloft.net>,
WANG Cong <xiyou.wangcong@...il.com>,
Eric Dumazet <edumazet@...gle.com>, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 4/4] net/sched: act_mirred: Implement ingress
actions
On 16-09-25 02:33 PM, Florian Westphal wrote:
> Daniel Borkmann <daniel@...earbox.net> wrote:
[..]
>>
>> Why not just reuse xmit_recursion, which is what we did in tc cls_bpf
>> programs f.e. see __bpf_tx_skb()? Would be a pity to waste 3 bits on
>> this in the skb.
>
> +1, don't (yet) understand why a per-skb counter is required for this.
>
If you could solve redirecting from ingress->egress with xmit_recursion
then we are set ;->
cheers,
jamal
Powered by blists - more mailing lists