From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80055.outbound.protection.outlook.com [40.107.8.55]) by dpdk.org (Postfix) with ESMTP id 9C23DFEB for ; Wed, 15 Aug 2018 09:30:06 +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:X-MS-Exchange-SenderADCheck; bh=72xp2x+3Bey5nfxNxA3k1FSPxLSDaCdiMo9Fw9Yv7Vo=; b=M1MyABFxVPG1zzOK3IJn1ePEXgjZ3w31cFGQgR6qQO+fAunGxgv5+G0Wi3rd1Q4zZ9Au+l0H1FhuDNOF/RNBlZnZ1XLP9pCdZAoujjoaQBPh88ip+bw6/MdVr5NB585PFtn6TPYQrPb29fk1iyMQkjEy9e+ELQzxIoDoObw2hEo= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4505.eurprd05.prod.outlook.com (52.134.109.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1038.24; Wed, 15 Aug 2018 07:30:05 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::52a:650b:ae10:fc3]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::52a:650b:ae10:fc3%4]) with mapi id 15.20.1017.022; Wed, 15 Aug 2018 07:30:05 +0000 From: Shahaf Shuler To: Adrien Mazarguil , Yongseok Koh CC: "dev@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix artificial L4 limitation on switch flow rules Thread-Index: AQHULZFn4ns+P4XWX06VzYBelcYtU6TAeCRw Date: Wed, 15 Aug 2018 07:30:04 +0000 Message-ID: References: <20180806142454.31907-1-adrien.mazarguil@6wind.com> In-Reply-To: <20180806142454.31907-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: [31.154.10.105] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB4505; 6:xx6gOEk+2BZlRJXFnJzu5QWHiP22Jbz3gTh+K6Bmu8scfvd4yU7ogXZL5MXbezdi+i+gtgXEGfQ8VSpVk67VyK+fHZ7BvLDSgLeKr1Jz3zaQ6yZUxO7qnVqNt72rQOgekxm70q3WpYUa3sKPhkHP6Rs4/vC2iyG9F++JLPNjajrjEvncEOF3c73Cr5cwkUStxeBZYcimIPwLOg2e3iQtaiH+6gAJsTt32Ru9FMq9sRC/Y8PBlJPVdUrlojOodGKk77/tpvmjGf00LsHoq9ni8klEkCCMqNY+Z/fasbw7nK+2e1K3V/tls9i3u9y6Bbj8u65bGrfDhg8IsUJrSDfOy5iqmC6Z0dm3YT3zZgHCHlHwxKx2Jct3H2+ovXEbqqmoB1ybczN9HfuJs92R6XlrcFf5KnOzYlawumj/9MLgwg/zWCOs3mpqTXcm7wkyWE7tJHO7/a7U0KxzAGAq/o+9bg==; 5:sScUdCeSU41rQLE9pZwBu12y8/wk3OpdsB+NLgc4O32vwPX3rqm9vdQqVsDXWOGsLy5IWdt/aq26Typ+/eCmjyY/0NArvsRR8Gf965J65wTw9bf01QiC+AIx+Rb7tgsZ/Ks0VgvaVl0TFPG30N5NC98gpD2eH/Ld/9WWrXJOYq4=; 7:Dbk+0ul0vDSV0PRK55Op9tADiLJPSJQssp7RL2+B653HR+66CGhy75IBVfUoNs84XUOb7QUyvPVTj6laWEgedgIadaTumaTLRaMxjXT08ATcUAD9HICZ0zczuqmK63v56KEvuOFilTSOnk7G4oAlcYMyBRLqaV+Y2R3uPas+MTNXHSXmSXryIh0Ya2BkywQKp0KxqfmvyanCNbrYN09U4q8wB7tgDzW6E27Q3PqdMxm486IaTZ6DgThtDH/ZXzAJ x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: bff34df3-af6a-4c93-e8af-08d60280eb96 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB4505; x-ms-traffictypediagnostic: DB7PR05MB4505: 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)(5005006)(8121501046)(823301033)(93006095)(93001095)(3002001)(3231311)(944501410)(52105095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:DB7PR05MB4505; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4505; x-forefront-prvs: 07658B8EA3 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(39860400002)(396003)(376002)(346002)(366004)(189003)(199004)(7696005)(9686003)(14454004)(74316002)(476003)(186003)(478600001)(66066001)(446003)(486006)(53936002)(11346002)(55016002)(26005)(256004)(6506007)(305945005)(76176011)(33656002)(7736002)(102836004)(6246003)(8936002)(2900100001)(99286004)(81166006)(25786009)(81156014)(2906002)(6436002)(110136005)(106356001)(97736004)(105586002)(316002)(229853002)(68736007)(86362001)(5660300001)(3846002)(6116002)(8676002)(5250100002)(6636002)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4505; H:DB7PR05MB4426.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: BE/fFZhyUoTzx8VeId5w6AwunsWq0QkBCdLUJELiJiZJmzwsOpT/J8uaxwwP3Dm+iveJzhJ4tnJjA9BwjWQvjbQxNZF8ChEAQSP1veRUPQqZtyBYi1Ha699kRgTinFy8wGdXy8OLOHi0OAdQjbbXcwE6putbsKKp6kat2DNt/21bgeyqHjOnou0UmAf5lkcpOkkomeKPek5jJYhmaMDIMI2bRdvvgdgc+0kDTLOzetEhJLbhqHYE5d1/ETHTaOxya6e6UsJMgv/KsvA8Z6zT2GIFNdKYFec5X7+pCC+KFTdADlvaS0A18+4Ghg1gnKhFtDLTTCqCEwUoDsk2/yWumqw9nmtZ8qXdobRIAupFRmg= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM 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: bff34df3-af6a-4c93-e8af-08d60280eb96 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Aug 2018 07:30:04.9898 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4505 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix artificial L4 limitation on switch flow rules 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: Wed, 15 Aug 2018 07:30:06 -0000 Monday, August 6, 2018 5:26 PM, Adrien Mazarguil: > Subject: [PATCH] net/mlx5: fix artificial L4 limitation on switch flow ru= les >=20 > Partial bit-masks are in fact supported on TCP/UDP source/destination por= ts. > Remove unnecessary check. >=20 > Fixes: 2bfc777e07 ("net/mlx5: add L2-L4 pattern items to switch flow rule= s") >=20 > Signed-off-by: Adrien Mazarguil Applied to next-net-mlx, thanks.=20