From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Abeni Subject: Re: [PATCH net-next v3 0/5] TC: refactor act_mirred packets re-injection Date: Wed, 25 Jul 2018 14:07:15 +0200 Message-ID: <168de66002c665d817e7ad5f3137a7db42b0bec9.camel@redhat.com> References: <20180725115345.GC2164@nanopsycho> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, Jamal Hadi Salim , Cong Wang , Daniel Borkmann , Marcelo Ricardo Leitner , Eyal Birger , "David S. Miller" To: Jiri Pirko Return-path: Received: from mx3-rdu2.redhat.com ([66.187.233.73]:58330 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728474AbeGYNSk (ORCPT ); Wed, 25 Jul 2018 09:18:40 -0400 In-Reply-To: <20180725115345.GC2164@nanopsycho> Sender: netdev-owner@vger.kernel.org List-ID: Hi, On Wed, 2018-07-25 at 13:53 +0200, Jiri Pirko wrote: > Could you please send the userspace iproute2 patch and list some > examples of usage along with the next patchset version? There are no iproute2 patches, as TC_ACT_REINJECT is not accessible from user-space: act_mirred will use such value when possible. User-space can have any notion of the above only via the perf tool and/or performances tests ;) An use case is the OVS TC S/W datapath. openvswitch alreday leverage this when configured with: other_config:hw-offload=true other_config:tc-policy=none > Also, I would like you to do selftest script to test this and have it as > a part of this patchset. As said, there is no user-space change. AFAICS the current act_mirred self tests already cover this. Do you have other things in mind? Cheers, Paolo