From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 054F4A034F; Wed, 10 Nov 2021 09:45:06 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 786604014D; Wed, 10 Nov 2021 09:45:06 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2061.outbound.protection.outlook.com [40.107.94.61]) by mails.dpdk.org (Postfix) with ESMTP id 06CFE40142; Wed, 10 Nov 2021 09:45:05 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=auKdb0FcAG2rFb/kUeBGDwGwBQNnVnPdl3mqlCWtDqQD51bzkBI6g1v9xsiaFzXK9PWqj9+D/NyR/TA8JETkF2wqctb/9i5FKZ9uwe5eQIySnx9xtaCYOQ8gp87yaKvd10prcz9/V6dS1wYdaylCO7awU6kf6QyrqzF5v4GRrqLaDTdpv57C4UPlfkPLlxfuLVK1+RBxIS0W/yu/CwZ+LaVnFkGUvc3cSyXNoXdyB5Z0+1xgGDy5UTVY0t10AUYp5gHDXJHK8+aK7D/FxeqEebuqV2fefc11iMd2yeKw0nr3uuJ3ImD8HNLJdrPEXZxXw7RXH3ie0KyBwSBTBTscRA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Yxm06MSsbIpmEdVUjQjymDs3dCKix8T0mIcF32CxRxw=; b=kAZ6rbSCDSU5chHB56F2+yDTf1wJLun4ieoKrXVbFBVISnJYB4qa16LiuuCX4CMGUL4aLHDeEui2t7AsngXpFBR+gpBi0Y0kTLUCnfYh1Ho03Th2VNOzWGyJQGi/FVQgNZHEFTanoDysJntcic7g1reYeVmB/yq2zDFsnaJP7MIMt3IpqlNFEpuKXCNU0vwH83NK3/B5N5v8LKDEmHwwSmmE2mZ8PFwsNJXX7X0zVSwER1LxeadcK2W8HIxsmTHprUgIG0xSaKuhH5tNitPER4sQjht2/rM81+IyIkDeffd460h9X563YNg2xaDwNpylgQbuNZ/VBPILC9s3J88FKA== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Yxm06MSsbIpmEdVUjQjymDs3dCKix8T0mIcF32CxRxw=; b=CD45Si69OPNvDj/jqr/xdWVI4jllpJC+xx1y7dssIH91VtTImRu/Ujg9zgmTbubpK+TsLvOzHPLGiZk620J4X/ELiwWpf/5V1eKZqOha2IFFvyzDCff1yLUGq8RJhkLT1EUG0bHixFsRUxojTGBz+9CYn40DQ30YY3yKonp/d6F8h6qfK+SITzy1iEgDEE2lmNk4YBz+jyI7H5GrY4CbelspsJi3ZWxQOsG6no5nM7RPRpmA1y1BT4DBfEXHp4KiwyX1HLC9KJo/bEb6aa1PkA64Pxujca32eEHAayn0IFlahY6ER6jkCSlyK3ExXhXNz8mSt6oN4I8tMcrAFYAc3Q== Received: from DM4PR12MB5312.namprd12.prod.outlook.com (2603:10b6:5:39d::20) by DM4PR12MB5374.namprd12.prod.outlook.com (2603:10b6:5:39a::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.15; Wed, 10 Nov 2021 08:45:03 +0000 Received: from DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::7cf5:9d34:fc6b:b4a4]) by DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::7cf5:9d34:fc6b:b4a4%7]) with mapi id 15.20.4669.016; Wed, 10 Nov 2021 08:45:03 +0000 From: Raslan Darawsheh To: Gregory Etelson , "dev@dpdk.org" CC: Matan Azrad , "stable@dpdk.org" , Slava Ovsiienko Thread-Topic: [PATCH] net/mlx5: fix tunnel offload validation Thread-Index: AQHX0JCwYiIVVqbNREOUf8CI15GFNqv8e+iQ Date: Wed, 10 Nov 2021 08:45:03 +0000 Message-ID: References: <20211103085556.25214-1-getelson@nvidia.com> In-Reply-To: <20211103085556.25214-1-getelson@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f1e13c93-23da-44b1-ca1d-08d9a42663bf x-ms-traffictypediagnostic: DM4PR12MB5374: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:397; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Q+xYp2LZbmOFhCQKhBydzs91W0mAQFe8vvzlBwUKYUMwCyR0aQgwd4DtH2gNiA+UwnhHvu+R6QDMu5dKAccZhJS2VSU+VJanpaxMNJ68g2zSQGAGmqOHFjCglfIvhQlb1R9K4uevs6sFCJv9yDC/XF2UPbvXGF1KD7yKC7nuPE6OUBVrTKcDc93HdX1RzJedjvSGtaeE2i7WrT+A0h6ANkMv5RLa4QFQvIzbwKlj8KrrXx7F9Ciajk0qSO9hP9+NqZ7jUM46BwZQegK187Z4qAl2h7pLTy5pGykXVjWE4HKJL7zbCCh9asV7Hb5IGcR06jX7K8VHJjL3akWkbwZuBd3no7gNKhbGfzvDonkCmMwFmGwTBbuts27Io9sM9JXp8mJnIuZCBrJr8LbrVTWbqJ0kp00ToGtlC/NzmneuspHUUqN6uu93jZvfnQORelg5R6KFaOz/ZKAR4dBF0X4fwyAryEpYlloice4kZQghDi0TJW48wwumgJUC/xSrM5JfzqPkGapZOq6AfK3wIE3s8QImUB6s2Tn+eo6zI7ElBazpTzUtvV2SdcJGBuM3DQTsiVdE7WHa2Ej7mKT+5WxJvuJOyziu3vpcamyIl6gIYnLpzEgHRW2f+HVABMBQRzcSLQFleodIMJ7Pfa37o+qU+D3PA3CjgPmD0KdXxeqhcQ/2z4D4y2S/SpSnWmUrGtEvckRWgMPaYdGr2uxVwF65JQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5312.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(66476007)(9686003)(66946007)(54906003)(55016002)(66556008)(450100002)(38100700002)(107886003)(64756008)(110136005)(4326008)(2906002)(186003)(5660300002)(86362001)(508600001)(4744005)(38070700005)(52536014)(83380400001)(66446008)(33656002)(8676002)(8936002)(26005)(122000001)(71200400001)(7696005)(6506007)(316002)(53546011)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?c4VXQlfN8mWgPSEG7Dx2LwYjL/c44m+kFcT1oLl5spJQanlqNVwixVcltyha?= =?us-ascii?Q?fhak1o+0kikNToTOls1cOVh2WWLycuWUDK++8tZmns0J5DJ/oWEz2XXjJBNd?= =?us-ascii?Q?0kTYO0OfjsuNuVtuLbAP6jzlxLP5oF3HNYkz0xaAUswOLAeSNMFNeOkSikb9?= =?us-ascii?Q?iWghgs0nmlaPHnHMfFT56sK9eHS8wnqVWH3QsPc5ca8rqeDq04rXQMfnl39W?= =?us-ascii?Q?2gU7qZaoEDN6n1v7Ym6m+gVSviplTG6MeOz4WiKKWnplIFIjFIXee6v4wLx/?= =?us-ascii?Q?O6xjCd5UPK7UKrjz3pRtGR04im7rMvFSBlpDRZE2AfSEvmpstKR3TQW5uKBQ?= =?us-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6fly7TCukUsfs8HrJ?= =?us-ascii?Q?FaByIBHV9leBCkKBRK0DhlW4j4XPbZG/ONqdFPHkdOYOzbvhbfjbbmuxwPC1?= =?us-ascii?Q?bXQKvAxTzdf6lTc/Ag7AgaeNv+Z45lRMFlPxtDadiNLxhQEwGyQXhO0Svvcg?= =?us-ascii?Q?Uz8MDKbxesEMq4miPsku8VvyVlhim+TQJazjwpPemjp7Uujhl/UzTs2cwjM5?= =?us-ascii?Q?a3a7506FDc2D5rCX+TN1WmaUW1I8CumUBk+SI2wt2lSZno5skrIIcGEWJvpw?= =?us-ascii?Q?LukukMIXhoiqlX3EVEsBEMQrb4xT5tVGuY3VaAEaLG65m6AYk2a24WcSHhEl?= =?us-ascii?Q?j81kmk3eo1iWbIG2uSUOFnX+ldYykod0gQqBFexxD/+x2gO6RvPm7txtiRBW?= =?us-ascii?Q?8G4Tm5qafkeIvVA+VW70oCQ=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5312.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f1e13c93-23da-44b1-ca1d-08d9a42663bf X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Nov 2021 08:45:03.8115 (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: evY9h167ttRJdvlp341YDDoaFkHBNSuUD3kj78vL+Eqs4R4voxz6WZAoaKCBfpfLh7Qd8fQDRw9e0eyUtCfOfg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5374 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix tunnel offload 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" Hi, > -----Original Message----- > From: Gregory Etelson > Sent: Wednesday, November 3, 2021 10:56 AM > To: dev@dpdk.org; Gregory Etelson > Cc: Matan Azrad ; Raslan Darawsheh > ; stable@dpdk.org; Slava Ovsiienko > > Subject: [PATCH] net/mlx5: fix tunnel offload validation >=20 > Tunnel offload API allows application to restore packet to > its original form if chain of flows missed after DECAP action. >=20 > MLX5 PMD provides tunnel offload support only if DV API was enabled. >=20 > The patch verifies DV availability before processing with > tunnel offload tasks. >=20 > Cc: stable@dpdk.org >=20 > Fixes: 4ec6360de37d ("net/mlx5: implement tunnel offload") >=20 > Signed-off-by: Gregory Etelson > Acked-by: Viacheslav Ovsiienko Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh