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 DA002A057A for ; Mon, 23 Mar 2020 17:21:23 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BA0C11C0B3; Mon, 23 Mar 2020 17:21:23 +0100 (CET) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130045.outbound.protection.outlook.com [40.107.13.45]) by dpdk.org (Postfix) with ESMTP id 5A1841C07D; Mon, 23 Mar 2020 17:21:20 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DP1JVR6KLEu+lbxvbsIYBK8g+HnqNzB/VqIt3FVeILZGmRW8tn8gqqjO09pgWtY4HDUiMc6zyFelTAS0QPqjf27FioxDU7a6QKKCCa4x0i6nqRxIFHspXjVGaHqnL8yTw0V3zgNadXVwKmLScTyB0/+CWmLnrbbMzmaPGhtaGiOmCWL8JffZPZFrJJMUYZzQanXA26+kZWDNI1drMIKlsNJMx+j0s0rJ8gxDziLishtpi33CDekjeb5CieSHggH7+A91+Jus2hqcfzyVO4zas0nny7oil8T5NUuc9wavo3DeEifiMeQ4h4HMKAaMCl5JbTrUv0mf9Yegqbn9HGUobg== 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=N/whDmnzLrkSDdW4Aqhsytwi08SNqNerqOqQ7b80G1E=; b=EHSsExa7Q/3++HhPnbqjKecHHQtmHI9copRGSUHbv2/D5bAfS4m0fH9MxCLZJ0yUp0xKukZKakc+ba9C2rfGwwhS718qhKZubYABWfBcD+v+Kn9ZzRRvdoa4lZKbq/R4XvUdx/P+iK3uCjutwnLLRwVjUeqpFJofBsfwuztYd2EcJGd7ewCqwsuUOjoZde0tIq/ktpoo93P0w5GPXyMU1X8SYBDY477kt0LT5hJ4L17xg0MwOFdaq07k81ebBFgId/twFXdCoS/MuPG3WcOH9UYen3cRpP0cnxJWZ3cObZVZPVYiv6puSXzfcU0G2TTbRZ3batssJhiNSLo+2T5nlw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=N/whDmnzLrkSDdW4Aqhsytwi08SNqNerqOqQ7b80G1E=; b=D5NC3nMMsQDY4Jr3mwvbB2H/6vDzhKM2UlADUCg0pphedt38zButripRLYAtOHl8E9B3/RvAqZs+qw4swtqz5HU8WWpIWUxv+ni/Q46fJKhV4qvzl3O7yWPfSyWi6f4KLMhbcYR+d/fvl02y1POVaCggfc27xNWKp1/yVrA2ZYw= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB3779.eurprd05.prod.outlook.com (52.133.48.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.20; Mon, 23 Mar 2020 16:21:18 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::a564:a117:9022:1fee]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::a564:a117:9022:1fee%7]) with mapi id 15.20.2835.021; Mon, 23 Mar 2020 16:21:18 +0000 From: Matan Azrad To: Raslan Darawsheh , Slava Ovsiienko CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix validation of VXLAN/VXLAN-GPE specs Thread-Index: AQHWAR5g3h9BBYHJaUai1KIfDodEF6hWW7tQ Date: Mon, 23 Mar 2020 16:21:18 +0000 Message-ID: References: <1584973293-186-1-git-send-email-rasland@mellanox.com> In-Reply-To: <1584973293-186-1-git-send-email-rasland@mellanox.com> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [77.125.94.232] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: b6024e4d-aeee-457c-2c59-08d7cf4637e2 x-ms-traffictypediagnostic: AM0PR0502MB3779:|AM0PR0502MB3779: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 0351D213B3 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(366004)(396003)(136003)(39860400002)(346002)(199004)(8936002)(26005)(55016002)(8676002)(81156014)(81166006)(478600001)(7696005)(33656002)(52536014)(66946007)(64756008)(66476007)(66446008)(5660300002)(66556008)(76116006)(54906003)(6506007)(71200400001)(4744005)(110136005)(86362001)(2906002)(186003)(4326008)(6636002)(450100002)(316002)(9686003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3779; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vJg7nOvudbDbKLzameoMpkXKPymCxesUYBcGs5NKwQJ5rEipCrQXMpHDNw7Wjn1XGXB3Pug65aSlMmJs4yKDKBxAk/NIKDq4AFDYmi9GPWGcbmtMm9ljp7W/4PyqirH/7KhDTkudRpbDl4OUqhjcgMZ0evdvbaNTNqFOBl+XtGtzwquzchveFJ13cdFjxINS1BOQg9w/iPPUsoRT/CvRrZKpG5QVe0+AT9IqfVTrqRnE24UiycLC9Weh+FXqAYxtqNneHzlnlT+WT1ZK9231LpAZ7K4e4BlEk26LEWswwLebbu8kurcE4zfzCow/9/bhs+tZJmDOyoSQ4sjQwgJ818Bc/xL1yRTjIHMiFp6IXyXlekrUKeCFfbmphPb/vhJpkYdw870AceFO8K7aYhRf9oA4jFWbymTv4vt3BwBWoVFlF88FZWU7ajCEAnj9D+2A x-ms-exchange-antispam-messagedata: OypeSUrUoPPMvwL52y59sJ/GfdoBVfhKXOqM8yV37/8spH049EnNEC40BoIrjEFwO0ubySQn54HO6edjfPze/ayOQvGI4UHaRY/pyLdXDxl4TovuFjy9FCGtNLP6NacsxD7juYdz7pg9yeaqVCiV/A== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: b6024e4d-aeee-457c-2c59-08d7cf4637e2 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Mar 2020 16:21:18.7734 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7yFZ1Git1fvFgDCIP9Y5oxFVRz5RVecM21AyfSnZsbdqKW+OP++/RRQ91IRpRkdY4T459TeuUOAQHAZc0pc7TQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3779 Subject: Re: [dpdk-stable] [PATCH] net/mlx5: fix validation of VXLAN/VXLAN-GPE specs X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" From: Raslan Darawsheh > Trying to create zero spec for vni wasn't allowed, to avoid matching all > packets from previous layer (udp). > This behavior is incorrect, since VXLAN is being identified through the o= uter > UDP destination port. >=20 > Currently, if the user didn't specify outer UDP destination port the PMD = will > automatically match only on outer UDP port of 4798, and if the user want= to > match on some none standard port he need to specify it explicitly in the = rule. >=20 > This removes the limitation of vni spec to be able to match any vni. >=20 > Fixes: 23c1d42c ("net/mlx5: split flow validation to dedicated function") > Cc: stable@dpdk.org >=20 > Signed-off-by: Raslan Darawsheh Acked-by: Matan Azrad