From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 24AE31B585 for ; Thu, 11 Oct 2018 18:46:56 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Oct 2018 09:46:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,369,1534834800"; d="scan'208";a="96682606" Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by fmsmga004.fm.intel.com with ESMTP; 11 Oct 2018 09:40:45 -0700 Received: from irsmsx107.ger.corp.intel.com ([169.254.10.56]) by IRSMSX153.ger.corp.intel.com ([169.254.9.121]) with mapi id 14.03.0319.002; Thu, 11 Oct 2018 17:40:44 +0100 From: "Dumitrescu, Cristian" To: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v4 1/8] pipeline: add table action for packet tag Thread-Index: AQHUYVeRzaG1k4DVkE+MnICANimKU6UaP3cQ Date: Thu, 11 Oct 2018 16:40:44 +0000 Message-ID: <3EB4FA525960D640B5BDFFD6A3D891268E7D8276@IRSMSX107.ger.corp.intel.com> References: <1539258078-85906-1-git-send-email-cristian.dumitrescu@intel.com> In-Reply-To: <1539258078-85906-1-git-send-email-cristian.dumitrescu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOWNmMzRkNzgtMTM4MS00MTZkLTgyY2ItMDJiNTYyM2U4MGY4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoidm51bUVNUmJxZ29kTmdpdlJwckVzdTNyQ1k1U09pTEg3ZVh5Z3ZsUk5tOUNPRGx3RWY4ejlkTFZVNzl6UGNVMSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4 1/8] pipeline: add table action for packet tag 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: Thu, 11 Oct 2018 16:46:57 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Cristian Dumitrescu > Sent: Thursday, October 11, 2018 12:41 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v4 1/8] pipeline: add table action for packet = tag >=20 > This patch introduces the packet tag table action which attaches > a 32-bit value (the tag) to the current input packet. The tag is > read from the current table entry. The tag is written into the > mbuf->hash.fdir.hi and the flags PKT_RX_FDIR and PKT_RX_FDIR_ID > are set into mbuf->ol_flags. >=20 > Signed-off-by: Cristian Dumitrescu > --- > lib/librte_pipeline/rte_table_action.c | 78 > ++++++++++++++++++++++++++++++++++ > lib/librte_pipeline/rte_table_action.h | 12 ++++++ > 2 files changed, 90 insertions(+) >=20 Applied to next-pipeline tree, thanks!