From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60061.outbound.protection.outlook.com [40.107.6.61]) by dpdk.org (Postfix) with ESMTP id 7B7092B92 for ; Wed, 29 Aug 2018 05:26:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=frtpzPdxUOpghFJqzbU+NdoSizAJCIF/Z1QS10H1mgY=; b=sXhy3WILB0Dm4sOSNQnK3SErgXLOtlcgDdUUjALqtH+h755UD38K1WWmaUxCG4RABo6GMuOdj1DtKmy06so9el2DvK4Az2SzxzF42DF6bc9cEEFzgUsOhfMIdZ0MNprYjvmwEG14V70WrTd9ipPh0B472+cQadeUge+U8OiN+Mc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=jackmin@mellanox.com; Received: from MTBC-JACKMIN.mtl.com (58.34.204.108) by VI1PR0501MB2029.eurprd05.prod.outlook.com (2603:10a6:800:36::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1080.15; Wed, 29 Aug 2018 03:26:16 +0000 Date: Wed, 29 Aug 2018 11:25:53 +0800 From: Jack MIN To: Andrew Rybchenko Cc: "dev@dpdk.org" , Shahaf Shuler , "Xueming(Steven) Li" , Thomas Monjalon , Adrien Mazarguil Message-ID: <20180829032553.cccdkdkiho537fdp@MTBC-JACKMIN.mtl.com> References: <1855dea4-7eb7-acf0-d31a-7d8b4b143e0d@solarflare.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1855dea4-7eb7-acf0-d31a-7d8b4b143e0d@solarflare.com> User-Agent: NeoMutt/20180716 X-Originating-IP: [58.34.204.108] X-ClientProxiedBy: HK0PR03CA0077.apcprd03.prod.outlook.com (2603:1096:203:72::17) To VI1PR0501MB2029.eurprd05.prod.outlook.com (2603:10a6:800:36::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 214ed48f-51e0-44df-d891-08d60d5f2f0d X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0501MB2029; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2029; 3:13XX7zIlfQdaAd44caMd5Ux/ZSQs9CsqVm458REnXx6q04GtT2qav+fbrNJEI6ogbpL73ACoL9GTYpS39LvWUihBwFGTCP478kcUZrKvQ1fZa2MKptvUcxE+A7wefxwt4i+uMhMoVc5Efmnmj5DPogyoSk+TP+7aIeTdusMvcw1q4dYmbMs4+9MNp0awUK+jD/35UXffJiuGcCOyVImkv7jdnYl5AjyfIwzLMvLTtBUgVHYVwP6Ay+ezONmO4sZo; 25:D1dMh6gVJWUQNeVUxJ9ax2mmud0h+G0Pp2of/O6eOVWQr6GVqJgTWfA2zqk68R0jc4XkkYOukpg0lBcm0jPoqUXM2NiBxH1ZXLzgCPijFezDR5eLOy97iIz5ll4x46zs4Q5jD99SyVnUpfxu0UbRdp7+mRRYR82+wY8RFYzu7k1nXpUJD/GgwUPdzTjYhn/QXm8a/pLWenW06zwsi8tqOsn0y2JmS1zf34gh5oDZ0lUcpiKkOeTq28b4/ay1RE3g5LCv1j8GIyaHyGS02j2S0bNfXlC93V77M/Q8C0wg56i8+TR0IZRV1a6xXD4yCrKv5mG3tn3RH1H+vLsArMeILQ==; 31:9KFJE7GpQM/IP9wSn0gfkckJk5o2N/ssP50Rq+Jy/atp99bMrEQ5bFKJxY6P9Okk7ytQVVwF6sMjUpusoRGyLBUXrc0EmHImTkYsIOl7LMxk9Tvh/LwIMjixHB9MdfpH9DhQiWMv0cY0E3+PNEGXjjJQHObHEBN0ZVROme8sPYupUJfardMZ/GHl7QNFw+8vjCbMJSZWDS+9jt/dHUjhpWx8qFTY2azd+xINfVBpQSw= X-MS-TrafficTypeDiagnostic: VI1PR0501MB2029: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; VI1PR0501MB2029; 20:hCbp+XOnYheDOd30a62dJ7qxCmaZOx2Yr9uvJ7I1LijTBV2aOUfhM9Hm7lg2pOICZQNQv21bE1N7Xx3gq4BUh0ccRZiIq55ezqwuItHLOT9P+p6qUKYmA/Gf2rsqJL+tOpgrEqMgPgKspdRpCz6DYjNwIzEGAnzwIRZtDj/sjtnjnGQDCYUTkylIDxptCt9XlpMuIHe5F1G/EBJ8vctPMlgobN3gYDfAjfuQAOw7iBSdlxUY7OmqO5ABi8EehEc1fy7ee8s42mQ9dcyLUIQW4pc0whlKKUFzResdKeQmoVfuXymzXGb9k4/5DIGTaQV5uqwdSxoNvFKavGppbTrYzRCf7fs0iC0R5D/9uNGaRteJeOXK3UXmIy+91C+s5I4Q3SmZD/uPFmc9gDoWxe/E42FzaMBc1yZNyZgnniq8XrqQa7dT2Dabow8Efb1Biw7hW0yMan5x7TBePmHR/qeeawE0oH0Ftq2Ue8fNzzzqMADYSdoqZ7p1Kb+feAjjpJb9; 4:gAspCTRhmQ2sMmIXfcgNEyjBQOMx4LlTR6loNNpoxBLX/eaKu3g2N4mnJKtXnh9K9dkL0mH2RYNWcFB48zO4TFdT0K2/Glft8NrPHLzAocJp9QcgIZQCiZojFF/YHoep/U4ZwLIJ4li074Kr3TsTlPwmcBOFcdU7snqRI6Xdc88h5Jm1FHBJlEcdAyrh0CKF8d0YqRqJatzu7POVk5hYWCM02WhyYhSY7r6Fr0+4PrJu7KxwKMMC1WsZWTtzAk5VMlqcZPTFw7v2Oe5wa8/BXg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(823301075)(93006095)(93001095)(3231311)(944501410)(52105095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123560045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699016); SRVR:VI1PR0501MB2029; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0501MB2029; X-Forefront-PRVS: 077929D941 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(39860400002)(366004)(136003)(396003)(346002)(189003)(199004)(16526019)(486006)(446003)(1076002)(6666003)(11346002)(956004)(476003)(68736007)(50466002)(5660300001)(6916009)(97736004)(6246003)(386003)(6506007)(8936002)(478600001)(76176011)(25786009)(23726003)(52116002)(3846002)(186003)(26005)(6116002)(16586007)(316002)(58126008)(7696005)(54906003)(53546011)(66066001)(229853002)(53936002)(4326008)(47776003)(86362001)(8676002)(81166006)(81156014)(7736002)(305945005)(55016002)(2906002)(105586002)(53416004)(9686003)(106356001)(41533002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0501MB2029; H:MTBC-JACKMIN.mtl.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0501MB2029; 23:gm6dFOHPs8iv4ivP7OvRlRQaSSwwY9Lcb2RFCn1?= =?us-ascii?Q?qX1lM3rMbHiGppofzsg+3XOp3hjpcHPdNGp5/DLmD1scdd3EzNWil5juoUs+?= =?us-ascii?Q?4nGhDqkNF1fNL5tqps1aqpgSR3S1jkByx2xKBNVQWvfg+pVdV6m5X8vN9Iuj?= =?us-ascii?Q?OIz2D9NNxJMkKtdK8PQSMx2d7gLTmffcu/Y55Pr6eRMGS3Eqbamd1gfkuWFF?= =?us-ascii?Q?SvrkWiPM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fk1xYcC6ROcjyuD3qpErbT/BA==; 5:/ZdyA2s/L4tp4Pzkn+hBAZuuwCAHUWu7YICEHyT65pSIOoByADQNtxC5zIa7bO3hPO2q+O7lCAO6+Hids7nLwVtXzOlWNx6X5w+JGpFTi+i+0jJL/DYjvl784nqA5c6Io7Ix2FU4hrUfVYAM1IyIagiLx8HWHthVKwGBnXI5bB4=; 7:HftvGBy37va0rnTPZwSKNH9ZO7/3YticXbqE2QLWOPzmnWEgRqB263gt15FLD0HnXJP78aRICXBYQ5b0796P6jeAsIU6GA+wK+4BSI2CbKQnCAv7JZlrWga28DC/gJzpi/S1PzUJVX4oqxqZFClCg2ROaYOk0BmMlgY4iT+kSWyeL5+nhuO5RQ9qmiIyMBHEPpvMS52AP5OEC64OlAPpDBh4v4WBKxz9xle07YwzCwLSdmeBR5SIhscjeE7vQCa4 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Aug 2018 03:26:16.1287 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 214ed48f-51e0-44df-d891-08d60d5f2f0d X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0501MB2029 Subject: Re: [dpdk-dev] [RFC] ethdev: add generic MAC address rewrite actions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Aug 2018 03:26:19 -0000 On Tue, Aug 28, 2018 at 01:15:09PM +0300, Andrew Rybchenko wrote: > On 08/07/2018 05:20 PM, Jack Min wrote: > > There is a need to offload rewrite MAC address for both destination and source > > from the matched flow > > > > The proposed actions could make above easily achieved > > > > > > Signed-off-by: Xiaoyu Min > > > The only question I have is which Ethernet header is edited, if there are > many > Ethernet headers in the case of tunnels. I guess the outermost, but it > should > be stated in the description. > OK. I'll add it in V2. Thanks -Jack