From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] ethdev: add action to swap source and destination MAC to flow API Date: Thu, 4 Oct 2018 16:36:43 +0100 Message-ID: References: <1537777765-16798-1-git-send-email-rahul.lakkireddy@chelsio.com> <569a7ac3-b725-0607-c3c7-4a8656e3d687@solarflare.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: indranil@chelsio.com, nirranjan@chelsio.com To: Andrew Rybchenko , Rahul Lakkireddy , dev@dpdk.org Return-path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id D77A71B520 for ; Thu, 4 Oct 2018 17:36:46 +0200 (CEST) In-Reply-To: <569a7ac3-b725-0607-c3c7-4a8656e3d687@solarflare.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 9/24/2018 9:32 AM, Andrew Rybchenko wrote: > On 9/24/18 11:29 AM, wrote: >> This action is useful for offloading loopback mode, where the hardware >> will swap source and destination MAC addresses in the outermost Ethernet >> header before looping back the packet. This action can be used in >> conjunction with other rewrite actions to achieve MAC layer transparent >> NAT where the MAC addresses are swapped before either the source or >> destination MAC address is rewritten and NAT is performed. >> >> Must be used with a valid RTE_FLOW_ITEM_TYPE_ETH flow pattern item. >> Otherwise, RTE_FLOW_ERROR_TYPE_ACTION error should be returned by the >> PMDs. >> >> Original work by Shagun Agrawal >> >> Signed-off-by: Rahul Lakkireddy > > Acked-by: Andrew Rybchenko Same here, can you please rebase the patch and keep the ack?