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 884C8A0548; Wed, 16 Jun 2021 15:09:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3DE7C4069C; Wed, 16 Jun 2021 15:09:32 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2086.outbound.protection.outlook.com [40.107.94.86]) by mails.dpdk.org (Postfix) with ESMTP id BCB4340140 for ; Wed, 16 Jun 2021 15:09:30 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Bht1TqsJYtwZko1I10KtdiJm7ImqmbmWAwsq+L0X9SG5f/5c1OHfgZYE3O//4T3TesEB8da+/Dm7nfoMqOTx3L9OzhCbGL7flRkrTRT9YazIc+ZyX9gobilu58LXRloH/Ib/eM21UB13Qb45tz/GpalukcuSwcSSisP8oYM8ifYbr3zGJo3FNwt8e0HJvA5IEmgVfNcchd+OuZHj9NeYvrYPY88QUd3ACVY1OIwK1As5FxM72CMYPzRRj4Xx0OQOE9rMjGLq9x5voGTLHCd4BQGfxVMQ0VMKH1Rj4G+lwmwL4wKCn9Ezi8yK8lM5aoMIshoy9NJXLr5Vbj7HQP1ZlQ== 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=7JE07kNP2IBTYQrEwVEapGPmHVG4fPssfEFbBQPSlt4=; b=Nm3QS8BYt8v64Vvq2T79tdMriQwsniVMLqyzcivPOsQwoZNbf8ApXuj5jqEIc2U895eG3ZKoPBvPWMBLQi7EyH70HJzJpIdjI3Bu5WqoQf29sspSs9gdK4cdVfz5wsRs/8mfSXil5vZrTuH/UGwFt6D2Z4H5rSctn49glrlbF3p2Xe598b9qzANc9hh1ZQkQKU1x7Hvg/ddDkG3h6luqi7bTmIa7cu2aragWVY4f+41BkdcrEE6GbSomepl6mvpQBGKuIlmrRCyDY2+wcgArn/llxChjUaGw3TY17D6sY1wW6XVSVZj3L77PVzSwWUkHHbS8qm3hV1EF1yg0RXBctQ== 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=7JE07kNP2IBTYQrEwVEapGPmHVG4fPssfEFbBQPSlt4=; b=dwZiIW8IRqVWdghQS3VGj6FfsTUFMBJtptOxdZDNNkDoFPCu9aODiPIMQ7NeG2reEmEVrFZfG4hpeMYHLuWt7ZX/p60dF8HRsxXoVW0ilAp/IUd/40ljOua8qHUbQQDxPlVqgar/LRz3zJ/TChvtJHT2QsG8cF0kfWJhn/wzLWjh9kKeZsYdcoG4QoJMXlZff7EsLFhdv5ag87RTCiwNAmEF8iFD/C181UQjTyF1kze1yc36zJjUOeduScpg8dl9ilFMM9nZwTHfO3jtY1sY1MnvVSgyUkzpMOdA7P7vxWQUntfHjG90xTbvRVIR/9ZSpG4TnCm4lHm5YvMTiMVseA== Received: from DM4PR12MB5054.namprd12.prod.outlook.com (2603:10b6:5:389::24) 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.4242.16; Wed, 16 Jun 2021 13:09:28 +0000 Received: from DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::ec20:feb5:66f:ad50]) by DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::ec20:feb5:66f:ad50%9]) with mapi id 15.20.4242.019; Wed, 16 Jun 2021 13:09:28 +0000 From: Raslan Darawsheh To: Lior Margalit , "dev@dpdk.org" , Slava Ovsiienko , Matan Azrad CC: Ori Kam , Lior Margalit , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v1] net/mlx5: fix IPIP multi tunnel validation Thread-Index: AQHXYn15BlxiyZ+kckO1pRCWYvPcUKsWnJvw Date: Wed, 16 Jun 2021 13:09:28 +0000 Message-ID: References: <20210616070118.240681-1-lmargalit@nvidia.com> In-Reply-To: <20210616070118.240681-1-lmargalit@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: [188.161.228.24] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: dbee5053-dad3-4b51-bc4b-08d930c7f952 x-ms-traffictypediagnostic: DM4PR12MB5374: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 53vlzYzkUOrWhc4rrusIdd+VYdw6nSPqlVpuTnhFo+rGCFd7Qb05RMl3R6mYALhzmhgFp3KmB4oGaDw0ALUJcNqcGNSnk0SCVBrlRJFJqU4krvcvfuBnYlPSanERiQ5J2VSl8JlElFdzmpVpcuMJwnKwJSGPazdITizORsZeSFF9GcPAnSpF5EteSMVgJPDSvwsNTlrnlx8FVfdDtLmk0nwk+LuWX3/JQpMs00tn1xg7VYQTWejNCwVHBqyhlQZNKhou3Om7DuZVgliJMFTPe5WAnyuxvyzjGlOmAAEaHQ2vZVpQgjLFNDxlD83X/sycbaUfaY4uT0GTjCaM43uisGdnhulapKkTmmDV45zDX8oXR7TT5fgZQu3Rsl1mGE1P7aIC4SNaa/maqaEFCIXXGr/QdPb7+ja5W4N46kj4IkxEjT3le6htIZ8/dVZfcquK6ffqMNYmBjMWOvMVPqLjwNWXIdZ57c5F6sD/01ov0V+iBfymGz4VhmcydrF5N4i/CjwERW9QbpopDZih9sJXOkmWAHLLt9qere6O6xyzzzBhX8SFbCXxsyI35ZmWehtk/ivKebxw9d8jf7E2F6Uul6xweSfQUImgC89R55yBbbo= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5054.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(376002)(39860400002)(366004)(136003)(346002)(83380400001)(55016002)(8936002)(478600001)(54906003)(5660300002)(7696005)(450100002)(4744005)(4326008)(8676002)(71200400001)(316002)(66946007)(9686003)(66476007)(66556008)(6636002)(64756008)(66446008)(76116006)(33656002)(86362001)(53546011)(52536014)(122000001)(110136005)(6506007)(186003)(26005)(38100700002)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?YHIBZFPA7CELlIl4NI1AIXvVtPNuXvRgB/0bVLE9DtWvsn8nFa9qrr+cQtId?= =?us-ascii?Q?K23u9SLn/siUOQ245AESW172fbS8gA5obGGyTmWy6FGG1abQh6ciYdjHNhA8?= =?us-ascii?Q?XNo2XNe4wcYmqR1EOEo42azMv/2lN6dlnbJ9KCUp4kGHaAYCUM0MISjoCM/l?= =?us-ascii?Q?+eIGE4+NJs+TIJYQCz1jQVLkMICAaukSihKyVq5Nq/GGITczUv1Lb0V/jvgx?= =?us-ascii?Q?ew5oeqZ/6v8dNSqmwWEEdFsLAzkgio+mDRvkGNHGjMtderkCNQAJJH1PppXE?= =?us-ascii?Q?HdJK+wsUarH2iaiz/UPvtXRYGaeensQ2xqj/5yiyrdqo2LTuOMLC7HW8s0bT?= =?us-ascii?Q?HG7M9gz10I5+aEQ+P9dzupuR/7bc2BIs0hsBaeUD8YOEqAy4M6iQ/TyaH8UI?= =?us-ascii?Q?PixT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MdMDm3+/JdS804gMD/?= =?us-ascii?Q?zzsanwf99MAV8YI13WJNK3SF?= 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: DM4PR12MB5054.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: dbee5053-dad3-4b51-bc4b-08d930c7f952 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jun 2021 13:09:28.8562 (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: /sbBfgA5QvH4zahmvfLoStRXaxhZztfiV3u/cFXqyPElzixkTQZid0z8sSNabtR/IxdBaonFcCrRDVNdfwcozw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5374 Subject: Re: [dpdk-dev] [PATCH v1] net/mlx5: fix IPIP multi tunnel 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: dev On Behalf Of Lior Margalit > Sent: Wednesday, June 16, 2021 10:01 AM > To: dev@dpdk.org; Slava Ovsiienko ; Matan Azrad > > Cc: Ori Kam ; Lior Margalit ; > stable@dpdk.org > Subject: [dpdk-dev] [PATCH v1] net/mlx5: fix IPIP multi tunnel validation >=20 > A flow rule must not include multiple tunnel layers. > An attempt to create such a rule, for example: > testpmd> flow create .../ vxlan / eth / ipv4 proto is 4 / end > results in an unclear error. >=20 > In the current implementation there is a check for > multiple IPIP tunnels, but not for combination of IPIP > and a different kind of tunnel, such as VXLAN. The fix > is to enhance the above check to use MLX5_FLOW_LAYER_TUNNEL > that consists of all the tunnel masks. The error message > will be "multiple tunnel not supported". >=20 > Fixes: 5e33bebdd8d3 ("net/mlx5: support IP-in-IP tunnel") > Cc: stable@dpdk.org >=20 Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh