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 C422FA034E; Thu, 7 Nov 2019 15:00:32 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 985831BEDA; Thu, 7 Nov 2019 15:00:32 +0100 (CET) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00040.outbound.protection.outlook.com [40.107.0.40]) by dpdk.org (Postfix) with ESMTP id B6D4C37B0; Thu, 7 Nov 2019 15:00:30 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kyg3Vi2oaPlC9HnRK+Z+Nh1IiA0ZISqPLXppLn7dSoJgAJmqorpp3hMnaFaIoc0IWonISOgYOK1h1Ld4/kGFGOAw1NFZbMKd9My67E4izthHI8t7Oey1DfLLru3iBicADaLFl0aDPNNcx9+snG36mKNxfI9jDMDTdCqHhGi/WYlICPceKiEIuWV9gS0cHH/hGgWW4XSp3QeGXtujg/SpU2nQ8FVgRugNAGNnbN2pkJ7OKcEGXNkEApsJLvsDF8B+URwgpsQemT9Cu+dGATwWkNHU7Ed5Gcvr9B5oE9CoZ8e1jfDUWploXw878o2gNa/u/1mtoT3EYyo1Hm8hZclb3A== 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=NsY9WV8diaW8itEjAKzllvd7kV+5DRuHE3QKTFURqvA=; b=IoUW7NndIl2hFnm8X9DEKjP4uGrwLEkgQSqw4E1lavXU/wo0o0GZN4cRbS0h+ULvlw409JEcuNogCySCtguflzEBRMP+3LftITvO6xMfkhZhTaBgPstxd/rHFmcx7ybPjliq0tv5qSno1cg5uSVLZH9FazzQw6gJzKZrLp1AtWJKKo/+98DeA+6pCS3luO6dApPS8BXSHG2aDXLZtYymLSvKUJ35qB8XtJ+vOYbFHnFAptx9wi3dMukDqMA8ywOIrTthMnPSdUEaKcGN/sERORU1W/6oLZbham9GrVdYO4fv9k6SAXJ+xRngyvMiFh4oB3BysvWqOIMQ/yZb67Duhw== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NsY9WV8diaW8itEjAKzllvd7kV+5DRuHE3QKTFURqvA=; b=GknjLbNmxmGw7CXkhjTQHF2nV9rbqfp18CuuwbRICmQr5Cp+59rcEUfqHKGpZGXtYqXql8vk9f446IUusu9lWjPnCPotThnJFrla0MytntFKrbhRJ+8sE3XHwFHXtcFe/ug3SzBrVb+fnVebXnb8smuwRn8SNlvQDqx0hm716Xk= Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com (52.134.65.161) by DB3PR0502MB4043.eurprd05.prod.outlook.com (52.134.68.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2430.20; Thu, 7 Nov 2019 14:00:30 +0000 Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::a850:bac9:c90f:f2f5]) by DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::a850:bac9:c90f:f2f5%6]) with mapi id 15.20.2408.024; Thu, 7 Nov 2019 14:00:30 +0000 From: Raslan Darawsheh To: Jack Min , Ori Kam , Matan Azrad , Shahaf Shuler , Slava Ovsiienko CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/mlx5: allow pattern start from IP Thread-Index: AQHVk7BXGZ5loCBMD0+nWg1ycbYsvKd/vXUQ Date: Thu, 7 Nov 2019 14:00:29 +0000 Message-ID: References: In-Reply-To: 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=rasland@mellanox.com; x-originating-ip: [82.213.2.186] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 8fab78ff-8efb-4715-0c08-08d7638ad96a x-ms-traffictypediagnostic: DB3PR0502MB4043:|DB3PR0502MB4043: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:317; x-forefront-prvs: 0214EB3F68 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(396003)(136003)(366004)(39860400002)(346002)(189003)(199004)(13464003)(446003)(33656002)(99286004)(186003)(476003)(256004)(4744005)(26005)(5660300002)(14444005)(76176011)(6506007)(66946007)(64756008)(9686003)(66066001)(102836004)(55016002)(229853002)(76116006)(3846002)(4326008)(2906002)(66556008)(66446008)(66476007)(6116002)(52536014)(6246003)(316002)(6436002)(450100002)(7696005)(54906003)(86362001)(7736002)(53546011)(8936002)(8676002)(305945005)(81166006)(25786009)(6636002)(74316002)(81156014)(486006)(11346002)(71190400001)(71200400001)(110136005)(478600001)(14454004); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB4043; H:DB3PR0502MB3964.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-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: apnP4Z6DmB2gthN8gWaXaP1YbQ8Ai2ME1kkenn/LFm6h09jnMNRBO6VCT/DDfSfgXp5BpYHB4w3iBI0+kVT+AeHNZl5TUHMfxtLPwhzHVI/7lhwRcNExS9tp2dtTflKEqTn7bWbqLN3MfyNlnqy5PUlMskTL+/jUOL/h7uiJE8soZXKYpRKAR2PExqrvnpdA6MkRVUwSXWMTL3XcvfN7E601zy8DqfbCsdKM2sakY4cDTmel2F1j3CZonZMWfe+8Lp741RAw3NnGYGVu4TjI0Ugk7WKkFToYUMi4uMccdSx/71TBywu2q6JrXPOB3LqVffVu2M4Mf6jemDMdj5ItNMSt1wBG7YdPKEpVjiEB54Ds1Rhu9tHCAodJrAAs9yqEcCzbd7NgYtI4L5YkW/6K7nP799Ww11CUN1vbY0juoNo5lq63yRyn2jvGVJJEOiSG 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: 8fab78ff-8efb-4715-0c08-08d7638ad96a X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Nov 2019 14:00:29.8817 (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: NCH66+sICjTCu6RQjhG3BZu7s+x2ubgLg8ZO/M1m6FucGm4Pt0onHktNmpCHu+8x5xHgMU+6otPD1Nk/sQrWkA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB4043 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: allow pattern start from IP 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, > -----Original Message----- > From: dev On Behalf Of Xiaoyu Min > Sent: Tuesday, November 5, 2019 10:03 AM > To: Ori Kam ; Matan Azrad ; > Shahaf Shuler ; Slava Ovsiienko > > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] net/mlx5: allow pattern start from IP >=20 > Some applications, i.e. OVS, have rule like: >=20 > [1] pattern ipv4 / end actions ... >=20 > which intends to match ipv4 only on non-vlan ethernet and MLX5 NIC > supports this. >=20 > So PMD should accept this. >=20 > Fixes: 906a2efae8da ("net/mlx5: validate flow rule item order") added Cc: stable@dpdk.org >=20 > Signed-off-by: Xiaoyu Min > --- > drivers/net/mlx5/mlx5_flow.c | 28 ++++++++++------------------ > 1 file changed, 10 insertions(+), 18 deletions(-) >=20 Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh