From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10068.outbound.protection.outlook.com [40.107.1.68]) by dpdk.org (Postfix) with ESMTP id C8A295F33; Tue, 8 May 2018 10:04:31 +0200 (CEST) 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; bh=PFLaxYjrCFkZpAwmv6ZxTuaKQiQDFEk/6IGhVuoCWBE=; b=rMjTu8H8HYgEBPnk2U8IdT/VOBi1etODQjyea4hgyYGhvxjpPN65ioOQLBSp7WtTRh9cTsLAimivTIl03P+kXTAEHGVp6JB1s01MU6WibqLWN8KhgE039Ms8Ycdzqu/edeOFwcaXIv8GmFD5iV4lQ2oYOABWaCb+QWq9Ao3uKMw= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4170.eurprd05.prod.outlook.com (52.134.107.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.735.18; Tue, 8 May 2018 08:04:30 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::f116:5be4:ba29:fed8]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::f116:5be4:ba29:fed8%13]) with mapi id 15.20.0735.018; Tue, 8 May 2018 08:04:30 +0000 From: Shahaf Shuler To: Adrien Mazarguil CC: Ferruh Yigit , "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH 1/2] net/mlx4: fix UDP flow rule limitation enforcement Thread-Index: AQHT47sYKqCGrMCXiEy3DEDkvBB/caQlfoNg Date: Tue, 8 May 2018 08:04:30 +0000 Message-ID: References: <20180504151421.24765-1-adrien.mazarguil@6wind.com> In-Reply-To: <20180504151421.24765-1-adrien.mazarguil@6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB4170; 7:I7VzIoQgPGYHMbfyvS2jNlcnUpix8FtEm0jDQWqMH2cKvqQfvKxDXKgbfmawSFIVLb6s7h4abPsYIa669UD15ZsoCenb1to9H/dBvCcKl4jsxfqzyT3YuGdRo3ImQUeyz8SdcHtuN5oJPO8OmyymsI9RBP6vzu+GdAxCkjPse6JV6IAEkIFev1PwDBj/pJ7+moGLeN/Jpnzdj7lWHIDYdBXGhHvEvaunL43NJHeJtooPruAf8/5DyOknQmPtwZHz x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB4170; x-ms-traffictypediagnostic: DB7PR05MB4170: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231254)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DB7PR05MB4170; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4170; x-forefront-prvs: 0666E15D35 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(39380400002)(366004)(39850400004)(376002)(396003)(199004)(189003)(102836004)(305945005)(446003)(476003)(11346002)(9686003)(6506007)(3846002)(53936002)(486006)(186003)(26005)(5250100002)(7696005)(2900100001)(99286004)(316002)(6116002)(7736002)(54906003)(86362001)(76176011)(8936002)(6246003)(105586002)(81156014)(6916009)(33656002)(4326008)(74316002)(66066001)(5660300001)(81166006)(25786009)(8676002)(478600001)(55016002)(14454004)(6436002)(3280700002)(97736004)(68736007)(229853002)(3660700001)(2906002)(106356001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4170; H:DB7PR05MB4426.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: +Vf797X4ivVVPsd/xlsTDVTbuI63exK7DjxT5Nb0OgoEWXvbMOz+t10cLIeTxcS6/eKK51+ZAM9/f9+E+ZiUpXbdmsltndB2EGUfNjK4ytxAWldmIJPofrw2au8Op5GZvP2HohXSrG9RW077dtSBfH1OndE6hEf+uJGns88G+Dkjq07YmZLIZ3bJwQ7ndYxK spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 79b86248-2910-4e70-7a1e-08d5b4ba53a8 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 79b86248-2910-4e70-7a1e-08d5b4ba53a8 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 May 2018 08:04:30.2010 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4170 Subject: Re: [dpdk-dev] [PATCH 1/2] net/mlx4: fix UDP flow rule limitation enforcement 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: , X-List-Received-Date: Tue, 08 May 2018 08:04:32 -0000 Friday, May 4, 2018 6:18 PM, Adrien Mazarguil: > Subject: [PATCH 1/2] net/mlx4: fix UDP flow rule limitation enforcement >=20 > For some unknown reason, priorities do not have any effect on flow rules > that happen to match UDP destination ports. Those are always matched firs= t > regardless. >=20 > This patch is a workaround that enforces this limitation at the PMD level= ; such > flow rules can only be created at the highest priority level for correctn= ess. >=20 > Fixes: a5171594fc3b ("net/mlx4: expose support for flow rule priorities") > Cc: stable@dpdk.org >=20 > Signed-off-by: Adrien Mazarguil > --- Series applied to next-net-mlx, thanks.=20