From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 71843A09FF; Wed, 6 Jan 2021 10:25:08 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 584191608F1; Wed, 6 Jan 2021 10:25:08 +0100 (CET) Received: from nat-hk.nvidia.com (nat-hk.nvidia.com [203.18.50.4]) by mails.dpdk.org (Postfix) with ESMTP id 79CBC1608E1 for ; Wed, 6 Jan 2021 10:25:06 +0100 (CET) Received: from HKMAIL102.nvidia.com (Not Verified[10.18.92.100]) by nat-hk.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Wed, 06 Jan 2021 17:25:05 +0800 Received: from HKMAIL101.nvidia.com (10.18.16.10) by HKMAIL102.nvidia.com (10.18.16.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 6 Jan 2021 09:25:00 +0000 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.104) by HKMAIL101.nvidia.com (10.18.16.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 6 Jan 2021 09:25:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HT6hZMFZYSb0B8qbOFrvBMKXtEDap0SMKqqKZeYQnHDUu6TUnUPjC2R2T7T5FVdNQ/XpSQiSs3OzNCIcLMhLgov41ZuEuiY2NzpsQJoIiPZxJD2bkDJ6DICNwl5i5u6LV56NbmisahEweUbpax5JCSK4+fX23sS3RSX0pyuMhCvEg5DmZWq4FEtR+ZkMg108Ciy7e5bHT97E+wrMvIpkKO5Yz5wCJGJnIu4QQKJ3gr3u440IeJr1PELnA49Pces3F+jpy+IYS91MIzjkgpSzrcuGzTh0sJ95S+3/6GO/xH5647XEui2rJmUJhN3IDr/GJDSpf30U87+Q/PYhwMH96g== 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=d923C2d7G5bDnleEDt/8zHYAeDR+L3uY/IPq0YD45PI=; b=EJJTW61SwwL2K9zUwFp0qXwrMBS/8WhGU16UwLkuSa6jQGgk6FDiM1D3v9pHaJxujy3HpMlCJX8W3+xpk5rv0ru4GnqSwNfz9EIMFHQ4a+XUCt7MjC8eXZNTwzJeCBriH9/3VMPbHaJMIb0Zw8vKt8RCh9EOfSCM+Ot5a/0X9JijWFPO3Iql6c/h4gw54bo/j2hz3lYxhJx4JqaZ1N9RuHCjDdiTA/85SqxEy60OtUxChT+XFC//+Z3f/P/94Tqcvy9NBwCvB21v/gzuZpLSieDUlnu0DX7yImerh9P3QGRhY08XMqR55aKGzDPPbg08a1yp2UxraoS4JNg7nZAhgw== 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 DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM5PR12MB1402.namprd12.prod.outlook.com (2603:10b6:3:73::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.20; Wed, 6 Jan 2021 09:24:58 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::e4a9:f9a1:d873:d07a]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::e4a9:f9a1:d873:d07a%5]) with mapi id 15.20.3721.024; Wed, 6 Jan 2021 09:24:58 +0000 From: Slava Ovsiienko To: Shiri Kuzin , "dev@dpdk.org" CC: NBU-Contact-Adrien Mazarguil , Ori Kam , "ferruh.yigit@intel.com" , NBU-Contact-Thomas Monjalon , Raslan Darawsheh Thread-Topic: [PATCH v2 6/8] net/mlx5: add GENEVE TLV option flow validation Thread-Index: AQHW44vW+e6F1d0NG0C6W4O3cYcqj6oaVHJw Date: Wed, 6 Jan 2021 09:24:57 +0000 Message-ID: References: <1609085183-25229-1-git-send-email-shirik@nvidia.com> <20210105175358.16712-1-shirik@nvidia.com> <20210105175358.16712-7-shirik@nvidia.com> In-Reply-To: <20210105175358.16712-7-shirik@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: [95.164.10.10] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8b77c20c-1068-483a-5308-08d8b224ef96 x-ms-traffictypediagnostic: DM5PR12MB1402: 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:5797; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jW6Knds7n/zaSKlXfZQEOh6vYiQmgJ6yu8X+mEQom8Hs/6NblC51k8OgPGD+S4dqFS6P4Hr5Wg8Akbs1m7db+O+gJWSLkXvxwR5N2M8qY+LoXVsBQz2hSPm65982EN2Dw9JLS/a8RCjDuudoshAmex2NVQqK2jLNT0rYmctw747Tj7bRxzv3/Zl5Fa9PKygYzGFxYTfX5EbNRvkuVOQ6oTSURiSLtaBr8Lm0mD9kZEMIeosr3paMdCR6TXM9x8F4JEIOiLPYKF7TH0VJmz4xy7mv1OJJp9VA55u5WRGpwmm1Qzuf6VZ/7eugSyv21m1PekBg3AflFqXjP104uGO8cJUINOsnLBWSP+QbBWp4cqwEu7Wdkm0XbWI4cOv1pS5AF/PguLuDyZ3JyNhSWLyo8Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(136003)(39860400002)(366004)(346002)(396003)(107886003)(66446008)(478600001)(4744005)(86362001)(8936002)(5660300002)(83380400001)(76116006)(4326008)(66556008)(64756008)(52536014)(6506007)(66946007)(53546011)(54906003)(8676002)(316002)(33656002)(66476007)(110136005)(55016002)(186003)(9686003)(71200400001)(7696005)(2906002)(26005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?EZkFNPibFe3LNDeTiwGj3SaOJCQbFMSSaMbFeG4HResneUQDzUgqiYsHYo1o?= =?us-ascii?Q?pV3yG82MzCMrq4Gzo4raX3QZi2CScHjkdnN4w1xJDy4+ewnaTxvRTidyA6vs?= =?us-ascii?Q?u5GU+tDBZ/Top0WqzwhK+uNCVbVY7T8kInKXVrO5+VhiX5tnAQQ5pw88/7g2?= =?us-ascii?Q?sMtbAZJwlCY1xUvqO2oWsB6nrTN1M9FuN6yLaUerBadbrp3krMk2c3MaMwmn?= =?us-ascii?Q?NUNcZuAbUMXZbKJjSkGmfboOvGo0lFZSr1eznsuMbjYghxqdvfHDksgDul/x?= =?us-ascii?Q?xl8jOsxpVrrOe8EVbt4zDkCY/M9uyMQpFEHtYfcfHkPk+HDPRTPy1PeVkIgT?= =?us-ascii?Q?a6qja4QCqr6s2Aa1mVtkAtcFZOQD4zs5mNOAl0vYIj9En+jL1/ukM3k9qsa2?= =?us-ascii?Q?QPAwUFIwqQYOWK/2r2LR3FC6YqRjWfHqemoqYN8iY8vV+pQRawKSqNG+44wi?= =?us-ascii?Q?+BDtRwDSibSx8PNrpxgZWvMD1eRf42mo/YcGKgmXfKzlmcRl/3muXHe+JDJr?= =?us-ascii?Q?JeoULzJN68aGRp8J1JY+lET5LK7XY1xKP7VlWPGpKyM1TlBVorpBrKDP1Hq3?= =?us-ascii?Q?w6+Sa27JPJmfvu97VK5u669oOWwdjW9o2ZOeUx2EE8edwk46wEEx6sTUdcnW?= =?us-ascii?Q?K4fYcaTIHIrTeX0vRNfRscJAK+znck+WeivFR5S3qAt2uRUDEscsSUblkNUF?= =?us-ascii?Q?HWYBxq9sfl5oYP9U8HUflW6P79msORkFAUPTlDn2hpbORqAu6KS6rnwxsVUB?= =?us-ascii?Q?8iFjYqXfPJXMU4bg77o3zMJUEjxEpf9z/mkBomRlN25yrbnGCHtCV6t5l61B?= =?us-ascii?Q?tjgo/k3FERP0OB2ku9taMaamIGquskwDu1RcOaJKttNdUawKXALKMlb/5Jqa?= =?us-ascii?Q?6FAtK4+3ocKhhH+29Poj9f6clmJ8XMcBduK7WBL/PFL8MjhCGxQNiI04SPJS?= =?us-ascii?Q?eG+UQZKbg4yxUbZjZ7cqwx879YW9FtklPZfly0v+EXQ=3D?= 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: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8b77c20c-1068-483a-5308-08d8b224ef96 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jan 2021 09:24:57.9679 (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: /zBhKis7hNKr1ReYXxwDjJYHO9QYIxf9FysC0y8qeQVOfOAOZD8Ikf0yg4QvsPsjNhBhKuhdRyp5GAjUUfM4CA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1402 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1609925105; bh=d923C2d7G5bDnleEDt/8zHYAeDR+L3uY/IPq0YD45PI=; 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=LXpXr4VbK1WGKd0Q11WgFcB2P3/Ai1MutFSHH2eSdj02GYVsPm14p/5+gtqKn7YGE EGgkHafYtNupXeDr0jVEhOlThV/WPCs1DIe7wkghhL4X0vXP1AEkygYEKF5HQFOuiD V4UXJJKOYszlNpCs6w1alY1A7AMg+vqkmTglvIjUj9pRx4230G+X5K4E23hgJkM16e g7kUnjwnHOYJ4wMcDPOxd9GEJWRgqy5Osgxd9WUhXjW437pe6KBS9dkbXjZYMvW9om KN/xBVid4a02d34s5dRj9VrhKkfM1GBCP8ajuZ9l5wl/CrgYb58FAQUP7lwIWuxLwb EHXd4Brse+SEQ== Subject: Re: [dpdk-dev] [PATCH v2 6/8] net/mlx5: add GENEVE TLV option flow validation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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: Shiri Kuzin > Sent: Tuesday, January 5, 2021 19:54 > To: dev@dpdk.org > Cc: Slava Ovsiienko ; NBU-Contact-Adrien Mazargui= l > ; Ori Kam ; > ferruh.yigit@intel.com; NBU-Contact-Thomas Monjalon > ; Raslan Darawsheh > Subject: [PATCH v2 6/8] net/mlx5: add GENEVE TLV option flow validation >=20 > This patch adds validation routine for the GENEVE header TLV option. >=20 > The GENEVE TLV option match must include all fields with full masks due t= o > NIC does not support masking on option class, type and length. >=20 > The option data length must be non zero and provided data pattern should = be > zero neither due to hardware limitations. >=20 > Signed-off-by: Shiri Kuzin Acked-by: Viacheslav Ovsiienko