Thread (44 messages) 44 messages, 9 authors, 2016-09-27

Re: [PATCH net-next 4/4] net/sched: act_mirred: Implement ingress actions

flat view

From: Cong Wang <hidden>
Date: 2016-09-24 23:51:18

On Thu, Sep 22, 2016 at 6:21 AM, Shmulik Ladkani
[off-list ref] wrote:
From: Shmulik Ladkani <redacted>

Up until now, 'action mirred' supported only egress actions (either
TCA_EGRESS_REDIR or TCA_EGRESS_MIRROR).

This patch implements the corresponding ingress actions
TCA_INGRESS_REDIR and TCA_INGRESS_MIRROR.

This allows attaching filters whose target is to hand matching skbs into
the rx processing of a specified device.
I like this idea, this idea actually came to my mind when we
tried to redirect packets from eth0 to veth device in containers.
I remember I already brought this up to Jamal before (either personally
or publicly), but I forgot why I stopped.

This would reduce some latency for our Mesos containers, we
would just skip one veth TX in our scenario.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help