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 9C6CEA04B7; Sun, 4 Oct 2020 15:45:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E88971BB40; Sun, 4 Oct 2020 15:45:46 +0200 (CEST) Received: from hqnvemgate26.nvidia.com (hqnvemgate26.nvidia.com [216.228.121.65]) by dpdk.org (Postfix) with ESMTP id 353AA1BAB6 for ; Sun, 4 Oct 2020 15:45:45 +0200 (CEST) Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Sun, 04 Oct 2020 06:45:30 -0700 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 4 Oct 2020 13:45:40 +0000 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.106) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Sun, 4 Oct 2020 13:45:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AXLlGECWzPka7aLd3QrCj9Drj/QDjt/bNBgrNbuOBVTH9n9mpSpj4Hl2v/TbKOPL7hn3rmY47QNpbhvkq0b3oGbV7z9ed0WfWuQO5EHFIgO6oKl6V3mR+RyW+HU0NHs4FxR+qA/WkcPpmjjEo4s0bfUklrQnWjcQND0+by839jKndV/TWZdG5w/eCS79mKcElmZxPFookN2Y4vinTLoY6DvPpo9G3zEjloN4l9RNz2jPSRq3BtdRQXLSZKSM9tFzqsXokV1mBgfd1V2rI+30PT7MrnGjaarBZmp0QMhkR6qgdpL1gUXlqFM/CBXiJMYMa28vp6VUJHSuVQjJL+LOPw== 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=S1iGHMnut84QNO8+wV+foOD3EYvAsB8o+onX30bJsS4=; b=MOMEhlihXm2vIofjuvdawaFY5B8XTceb42Kjzj9oa/aSVzyMyqWTo+IN0nl3lyzhbVK/JGASdvUIRK90zfJH0AGO7GvFW9/pcSLX049mQr1hRabz9ASKdoOSFUot55LHvnE4Q74x8BAhZPCZk0vIVDua17jnqtBH0XzjPuX/HXRUxBzgxx3w+PXsyfW62DcYJYZRfphloMwpm5JK8UAhML9fbBlzzXkqawy/XyfW4YJqwXfNrj3q0wPeFTiVcYMOItZx3MzwM/cHHScXqLk7nwC6C51bATyFf/fYGJ4rYh4jN1reqXw/teYJuZjgq0LvFbR69OlIF+NboEwpTX4ZlQ== 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 MN2PR12MB4406.namprd12.prod.outlook.com (2603:10b6:208:268::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.35; Sun, 4 Oct 2020 13:45:38 +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.042; Sun, 4 Oct 2020 13:45:38 +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 v2 01/11] ethdev: add extensions attributes to IPv6 item Thread-Index: AQHWmDgE5AsigMtos0+b5iRjR144UKmHeHmQ Date: Sun, 4 Oct 2020 13:45:38 +0000 Message-ID: References: <529d5943c5e23bc03cea0c4046cda5611f26d9ca.1601586563.git.dekelp@nvidia.com> In-Reply-To: <529d5943c5e23bc03cea0c4046cda5611f26d9ca.1601586563.git.dekelp@nvidia.com> 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: 89d942d9-0b84-4141-67b5-08d8686bc74b x-ms-traffictypediagnostic: MN2PR12MB4406: 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:6430; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: UHV7fx9hT8gUzPjJRghgnB+SHSs19K5xjX4ORJxilJFkPFhTDbimzknVxfWsi1ZM3PXUsSBWN3iwjUTlmluyQ9UV9ozupH+kePx/pu/jZVtGD5PgdN0wk42lEaqoLtcc/XL8PJYOVVu8Vr+vXWpYeCbMPl2DPWtUAFKlmE6mpvVNsW7uuHkciFP1yHHs8Su5Hw4MJ/wjeeffr4RysAUicEXy/KpaMsaXikK33UtB8Wyv7bArHnSYxxLIviVs5h252Q6PSXA1sByqRxqfytJecP9Iat/F+Dx/R8qWNhNrKvGmT+MEstmEdOajk3GCHqnEPKuH1ZICzflUpGqZ09Yv+mIB6FaAV/LRcg/pv9QZWDl0uX75MjLTBmrZPFz3i+z9+gvsGIgehz9LTiLm8VeWeQ== 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)(366004)(376002)(39860400002)(346002)(396003)(136003)(45080400002)(71200400001)(966005)(316002)(76116006)(478600001)(9686003)(55016002)(110136005)(4326008)(8936002)(8676002)(86362001)(83380400001)(33656002)(2906002)(64756008)(26005)(66446008)(66556008)(53546011)(6506007)(66476007)(7696005)(52536014)(6636002)(186003)(66946007)(5660300002)(921003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: QwfHjpQTpKbRgS9xfeFAyTUR1Q1T3OW3dSb6YXKcXWuFXFpS6OzS3vlpnK7Nc880LHPWuF7D05UUoXVrPs0Vq/ucD46VeVUawSaAu+Hzk1Zax2QAhgax0Af9Hh+tup6v2zoboRORTu5seoJU/Hu9NbFwUdr8BoCpnyxMSGLj1DFKKK8k/eiG2JprzUzvT1JDoWGB+9/w9K38VqtaGncWau2dqDrqTGhaMLvWhrh3ttxUSugw+RvpciDP5Hi0gm6JZRHhRLFC/+A0RlIQdec/RpocmGEjV0Wn88W9hPKl8u0wgI05qVygRqzcnDPdzmx3dqh5y6v9ebpiv3KT13sA7KvwPhytU4jwNGvKY5JxSGHDHvQy6ejpDVx7kphf+fpbggaKVIvxeFlfEtXZ27tlUr489ErvkUoEjHrHtDZPZjXXtSZpAwsztyOKUpK++aR4gYub7MNCAaOC0nVcOFdgSAJXaY7R9PjTin82NNTZdkJdKL0iOdH9TsmdQ91wv2Oo+nJGBsxAr9Hiv9zeRQC97u0BVvz0hNLjFHyIDLa3VrGojHyiYdvjPuczNeOAnS5djMNopL8Lmz/Pxq2pcooIt6RtvC415Fr2uGDzDmO7h183OADl4evmKCxO6ypGpN23qDwo9Q+WzoYeUu5FXOS6cQ== 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: 89d942d9-0b84-4141-67b5-08d8686bc74b X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Oct 2020 13:45:38.5998 (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: +mpsw9+eWoM13Uks/qVXyHRQRckKzQfnU1k9gqflN71FgtQYnfazSL225HdoP29fMPATU4OzDX116Xyk9C5g3w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4406 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1601819130; bh=S1iGHMnut84QNO8+wV+foOD3EYvAsB8o+onX30bJsS4=; 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=pYagH81wOdNNjq5CPJxUwTKOAMdW5Vjzw7YT8X73kzIAgvxtN9XE3/hgcJ3ONQUgj RSMpqcU9/sdKbUcr5x9ogq9xjb1OcDJu9uDzMOinn7v6EAyRnVd8PCkpLcgoJSZEtr PebSgA/ldMS+6bVzKDXFKIuVUm53To66gpDJoZ86CxUiFLBh9f/HBuTYJ3MItV76W3 8rGKZpsPsy3roHLscMyzRMn1X6ICJgWiUdZ75cNd9nsVpoLzfSyjSPz+V5u/uxj0hy p4BQKNdxYj/fnAqM8t2HxnFbGwiy+6G6svBJSIJcd5xi5SBxIuNGrM7T3QL+HG4dGR vq+DqKn9gH/dA== Subject: Re: [dpdk-dev] [PATCH v2 01/11] 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" Hi > -----Original Message----- > From: Dekel Peled > Sent: Friday, October 2, 2020 12:15 AM > Subject: [PATCH v2 01/11] 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%7C1a92 > 82d24518485dd37508d8664f2634%7C43083d15727340c1b7db39efd9ccc17a%7 > C0%7C0%7C637371837412802968&sdata=3D7Jdz3yt3nsSrWYei69BwWro7cZ > 0VwdnKZ0sfcD8MglQ%3D&reserved=3D0 >=20 > Signed-off-by: Dekel Peled > --- Acked-by: Ori Kam Thanks, Ori