From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 850C1A04B5; Wed, 30 Sep 2020 16:54:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 74AEB1D659; Wed, 30 Sep 2020 16:54:12 +0200 (CEST) Received: from nat-hk.nvidia.com (nat-hk.nvidia.com [203.18.50.4]) by dpdk.org (Postfix) with ESMTP id 492F21D64E for ; Wed, 30 Sep 2020 16:54:10 +0200 (CEST) Received: from HKMAIL103.nvidia.com (Not Verified[10.18.92.100]) by nat-hk.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Wed, 30 Sep 2020 22:54:08 +0800 Received: from HKMAIL102.nvidia.com (10.18.16.11) by HKMAIL103.nvidia.com (10.18.16.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 30 Sep 2020 14:54:03 +0000 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) by HKMAIL102.nvidia.com (10.18.16.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 30 Sep 2020 14:54:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LzYHL2Y7+yZeMKUoKPs73k8fMgU2+kyMmR6CKkpMTPcImBpp/B/j7B5LDLB2Opm3xLfotKE3HEyixerP9WsBpqMcha0BwEMsUxM8wWvrbAz7o8HX3vNf3/JGY2akFNfZwBzJOBVRewcQ/ES5PUVq1HMD2JH/mwCEAw8sN1XuApsKOGygySlbCFsVVwZ/hm0Xy4DoTyqVlLfxVuxttHpaXTvs5uXild6c02+CBx/erVxJ8/EvKQlc9gDfkL8eTGyBNeWRb9lpj5EyCW8/hLhRBhIL25KBjdSGSvNPbFwOtJ6aKfP3jEqqOdU4GvEEVe7MoGpo4rHOnJ1wgIf9BxEHgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TVANjx9Zn9yHAQ9elxtSZd5Ont8GnjTRwbANQ/KLDws=; b=YjwvNyhlSvZr33Jvyt2mvTYG+V9+QlgMtaaKEHZAfNcVVjw8ZtbYVq1gJjN5P5BfJKbXse/RTPUuhEVI+87uwjwrjvZIatxrBaQwyBAJaTlC+9/aNwoTXTWzZASSxEKstyc//AYxPF8LrxrzcDGY+iL/dfdYxQJE7var1aUZyQ8JfSG/IhiC/WrscXc32s2RPvWyniLfp6xRuboLafAkkSnE4NGLG1X61sl5hxOKugaOBB4ajZhY7obNWE6FUBr/0ARuAL39ulwBrO0iTZLDNqw1J31YZFUE3ER9doJdLgQSg2Tht9J38zZZ1Fj4FFzXiUnF2E1obCP+8Ob404BgbA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none Received: from MN2PR12MB4286.namprd12.prod.outlook.com (2603:10b6:208:199::22) by BL0PR12MB4994.namprd12.prod.outlook.com (2603:10b6:208:1ca::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.35; Wed, 30 Sep 2020 14:54:02 +0000 Received: from MN2PR12MB4286.namprd12.prod.outlook.com ([fe80::61fd:a36e:cf4f:2d3f]) by MN2PR12MB4286.namprd12.prod.outlook.com ([fe80::61fd:a36e:cf4f:2d3f%8]) with mapi id 15.20.3433.035; Wed, 30 Sep 2020 14:54:02 +0000 From: Ori Kam To: Dekel Peled , NBU-Contact-Thomas Monjalon , "ferruh.yigit@intel.com" , "arybchenko@solarflare.com" , "konstantin.ananyev@intel.com" , "olivier.matz@6wind.com" , "wenzhuo.lu@intel.com" , "beilei.xing@intel.com" , "bernard.iremonger@intel.com" , Matan Azrad , Shahaf Shuler , Slava Ovsiienko CC: "dev@dpdk.org" Thread-Topic: [PATCH 01/10] ethdev: add extensions attributes to IPv6 item Thread-Index: AQHWlzOAbm94zCjb6kaGaG2Z4rYiH6mBRCvg Date: Wed, 30 Sep 2020 14:54:01 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [147.236.152.129] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f6325057-8089-4183-aa07-08d86550ab75 x-ms-traffictypediagnostic: BL0PR12MB4994: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vkst1EUDvQV78zI88ZCwIf6xxliWlciwQLifqgCat6LtblcToaz0vUi35R2ep8tBqoqIzygUrTf+H3kbf5hi0kovlJwHOnohRthQVw6a9WtDvtzf5UoS6IUQW1YGQIHyj9thZ6l9rUkkzD+auLaQ7szJM2K1nrLmjZqPqP2DV7yPort4dy+b1K9V/9HogJdmgG2cOM5NUhokZokqAe/xwcP9cCZDeSOsHGdb+FeZrskg2wLdRDcE6rOUbvwCbMSMQNq2DE5np7x+UEzl/nrUti1dTEUo25favM1baOD+GVDXaglrUATIsCOHETI0pd7d/kh0D9/F1toTGmsjWlM44Izx+u8gKshIPZNXXcDdeMyT1h7JnFEPY81V7XorKpqH0DNrHJBoEF5XWfnyl1l+7Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR12MB4286.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(366004)(396003)(136003)(376002)(346002)(316002)(86362001)(71200400001)(478600001)(33656002)(966005)(110136005)(45080400002)(83380400001)(186003)(4326008)(66556008)(66476007)(8676002)(66446008)(64756008)(2906002)(52536014)(26005)(76116006)(66946007)(8936002)(9686003)(55016002)(7696005)(6506007)(5660300002)(53546011)(6636002)(921003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: 7pffuI+zOHmfBhJRpI/Dh0mhINGQO6Xz+fini/w20GSmS7XVWMxQFdAUqG/CRLry8BHK5nVlvlSf4XpODnDTpNWbu0fx0nKNSJqRQ7DI+WRycfrOcoKmNyADanv7KAfvorta+1y9J1ZTczdOLevhR8ZE1+cS0L72zmDHsW8w4+EeAVccRchFonWjsqZpfyiOz+X4uXj06Q+35t+n3fgqVjEA/YOjXjaD//95R09sUzv9L6VBBF0uNTglhUHrMn0ufzdbVvsgn0lI1XPRvEd3Dy52xS4QiYgTZQ5SaFgydrX2R56vyrrgLEebe3DKH/y8KLkX4juQgKBeDYt5KfltppX31gvlW6eRatpXLIiFvqYFRm5IMslADerkGiuJIqaD2CXm4miVrdqsi2bRvbdul5kIF4dq8IQeGliDo6hhQsd4QRocFcJhr7sePiz3A13ffs8Dz15QlgVCaRKKgVAT04r3CFatb3NzMk2yU5FTjGB9DNvyDZ14s1QkOF5za60/YE+mNwQ1FLPwmAtZVcmKBAGYlBfTyJo7Syo9YN683cmR45uqAtgUiN/kiWYkC8a2QL6KHa5SZgu7G9HvCo8MzbzmJJpcQ+AkSChkc5bv3Fc0QMWMQ19gL2Eec6ZUiWn6ihMevp5XjXMuWqqx+BAK4w== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB4286.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f6325057-8089-4183-aa07-08d86550ab75 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Sep 2020 14:54:01.9557 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: xkVSsmNe2cYpGkY0fUec+L0cyj3s3q4wsq4byauZWwZbCNdnhbjtRybB3xwNwxHiBg8VRMt27XfWS3eap89Obw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR12MB4994 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1601477648; bh=TVANjx9Zn9yHAQ9elxtSZd5Ont8GnjTRwbANQ/KLDws=; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To: CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References: In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ld-processed: x-ms-exchange-transport-forked:x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers:x-ms-exchange-senderadcheck: x-microsoft-antispam:x-microsoft-antispam-message-info: x-forefront-antispam-report:x-ms-exchange-antispam-messagedata: Content-Type:Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=emfsDbWM7VqJ77DjNcnvFD2tMoDWNgz9iHDqxnZrtaRBrvJsgt9VasVDJ89vaon+R LAmtbxI6zSriqoMtXnziH/15lJ7lQzfvv00gsQGpMFjxJasv4HO0T8TNlnQXYDejT6 SjS12V2tn14wzGkbBOxSfFodGsgbs3yYuVuVo4P2NfyFMIFtkmtAm/Y1pEg1XPCMJt k+TnOTPtkJj0tzmADuMAaGe9/9gdbcDUno5A4C/my64VekNuS92n/YR1LxUx4LbHs/ T/3FhCPv8FjABCJ17aQ4zp12jG6mq3Fe70cS2bv5njbdK3XU1eakbcDrrJdBoW4lHN bVMNzJ96K0PEw== Subject: Re: [dpdk-dev] [PATCH 01/10] ethdev: add extensions attributes to IPv6 item 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Dekel Peled > Sent: Wednesday, September 30, 2020 5:10 PM > Subject: [PATCH 01/10] ethdev: add extensions attributes to IPv6 item >=20 > Using the current implementation of DPDK, an application cannot match on > IPv6 packets, based on the existing extension headers, in a simple way. >=20 > Field 'Next Header' in IPv6 header indicates type of the first extension > header only. Following extension headers can't be identified by > inspecting the IPv6 header. > As a result, the existence or absence of specific extension headers > can't be used for packet matching. >=20 > For example, fragmented IPv6 packets contain a dedicated extension header > (which is implemented in a later patch of this series). > Non-fragmented packets don't contain the fragment extension header. > For an application to match on non-fragmented IPv6 packets, the current > implementation doesn't provide a suitable solution. > Matching on the Next Header field is not sufficient, since additional > extension headers might be present in the same packet. > To match on fragmented IPv6 packets, the same difficulty exists. >=20 > This patch implements the update as detailed in RFC [1]. > A set of additional values will be added to IPv6 header struct. > These values will indicate the existence of every defined extension > header type, providing simple means for identification of existing > extensions in the packet header. > Continuing the above example, fragmented packets can be identified using > the specific value indicating existence of fragment extension header. >=20 > [1] > https://nam11.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fmails= .dp > dk.org%2Farchives%2Fdev%2F2020- > August%2F177257.html&data=3D02%7C01%7Corika%40nvidia.com%7C5a12 > 16c396994e296ce308d8654aa25a%7C43083d15727340c1b7db39efd9ccc17a%7 > C0%7C1%7C637370718505729468&sdata=3Dym5QBAFHOsuNfcKxhc%2Fj60B > ojpD%2B5G1mvUuYAxKZP6k%3D&reserved=3D0 >=20 > Signed-off-by: Dekel Peled > --- Acked-by: Ori Kam Thanks, Ori