Re: [PATCH net-next v5 4/4] act_mirred: use TC_ACT_REINSERT when possible

2018-07-30 Thread Jiri Pirko
Mon, Jul 30, 2018 at 02:30:45PM CEST, pab...@redhat.com wrote: >When mirred is invoked from the ingress path, and it wants to redirect >the processed packet, it can now use the TC_ACT_REINSERT action, >filling the tcf_result accordingly, and avoiding a per packet >skb_clone(). > >Overall this gives

[PATCH net-next v5 4/4] act_mirred: use TC_ACT_REINSERT when possible

2018-07-30 Thread Paolo Abeni
When mirred is invoked from the ingress path, and it wants to redirect the processed packet, it can now use the TC_ACT_REINSERT action, filling the tcf_result accordingly, and avoiding a per packet skb_clone(). Overall this gives a ~10% improvement in forwarding performance for the TC S/W data pat