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 7A124A00E6 for ; Mon, 8 Jul 2019 13:42:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 017FB397D; Mon, 8 Jul 2019 13:42:16 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50089.outbound.protection.outlook.com [40.107.5.89]) by dpdk.org (Postfix) with ESMTP id E8C19325F for ; Mon, 8 Jul 2019 13:42:14 +0200 (CEST) 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=N97Y/rNCPz7pQ22PQvstmfFa4E64blhlDzUNHwCK0CM=; b=rdOOzKl4UiwR+9Xi9uYbuTFPp43LC2QNDqVMDNv/CCpWVe2EjTLmfhXy9XIQa9gUtW/qj6ZwMePkY0scy9qMSUNWHEeKCpWZjlJUR8PfeJa218KY0yWkLrrwrVOTIt0yqN0eMYXS5og8xgHVTe7zeOdv+xobVbRQuN0jLSAtcoY= Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com (52.134.65.161) by DB3PR0502MB3946.eurprd05.prod.outlook.com (52.134.71.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2052.18; Mon, 8 Jul 2019 11:42:13 +0000 Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::98d:75d0:486b:10ae]) by DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::98d:75d0:486b:10ae%7]) with mapi id 15.20.2052.020; Mon, 8 Jul 2019 11:42:13 +0000 From: Raslan Darawsheh To: Jack Min , Slava Ovsiienko , Shahaf Shuler , Yongseok Koh , John McNamara , Marko Kovacevic CC: "dev@dpdk.org" , Eman Hamayel Thread-Topic: [Suspected-Phishing][PATCH v3] net/mlx5: support matching on ICMP/ICMP6 Thread-Index: AQHVMXAoTmpIEz6+yEiiQbwRblh5uqbAoSow Date: Mon, 8 Jul 2019 11:42:13 +0000 Message-ID: References: <20190528021456.21611-1-jackmin@mellanox.com> 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: [212.29.221.74] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: be0bc7a5-c4bf-4dcd-0532-08d70399522b x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:DB3PR0502MB3946; x-ms-traffictypediagnostic: DB3PR0502MB3946: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:178; x-forefront-prvs: 00922518D8 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(346002)(136003)(396003)(376002)(366004)(189003)(13464003)(199004)(55016002)(6506007)(256004)(53546011)(110136005)(478600001)(81166006)(8936002)(26005)(9686003)(81156014)(54906003)(6436002)(107886003)(7696005)(316002)(6246003)(74316002)(53936002)(102836004)(33656002)(76176011)(4326008)(5660300002)(7736002)(76116006)(6116002)(64756008)(66446008)(3846002)(73956011)(66946007)(66476007)(66556008)(305945005)(52536014)(486006)(68736007)(14454004)(66066001)(99286004)(11346002)(186003)(2906002)(86362001)(71190400001)(71200400001)(446003)(229853002)(8676002)(25786009)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB3946; 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-message-info: exYIkmKv5KRa3o4AY0cPYwmNW43Hgg2C6wiPx4K+o0uFD2+RXSfUMjQnYE1P5Qwzzram1Luz7t3BhNMDBO/OS91ZBPlqLEVBuLMhNQ2PfYjEYuHRueCpqfqqxYfjPqh3125v5QvmO732p2kDJfPOY9TiuyicKhD+L8W8TTMBXHtgrgTJJ5fp2YULIi8PXfoSPTu4suRAEIf8ysQN8EicUDa26LzyOpMVqrUgwmg/8cz/NBpQTL4pZoVC+dYtTAFJ+m/4uFmUHA3ygsP6NgrbITWhVGazrMdFUiEu6DO++mJvEBB3b8uUhF8Cs/8E7jVU2plH31l5b9X/0xxHx+YRj+qFdQ+QiSNnLYMNyPkpWbe/VZYlQidMag8CWxcEt3dqj97T4ta/Z6aC0OeSOJeXdHCUyM6B8lHpCh/RmxXmNLI= 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: be0bc7a5-c4bf-4dcd-0532-08d70399522b X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jul 2019 11:42:13.8216 (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: rasland@mellanox.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB3946 Subject: Re: [dpdk-dev] [Suspected-Phishing][PATCH v3] net/mlx5: support matching on ICMP/ICMP6 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: Xiaoyu Min > Sent: Wednesday, July 3, 2019 10:23 AM > To: Raslan Darawsheh ; Slava Ovsiienko > ; Shahaf Shuler ; > Yongseok Koh ; John McNamara > ; Marko Kovacevic > > Cc: dev@dpdk.org > Subject: [Suspected-Phishing][PATCH v3] net/mlx5: support matching on > ICMP/ICMP6 >=20 > On DV/DR flow engine, MLX5 can match on ICMP/ICMP6's code and type > field > via FLEX Parser, which can be enabled by config FW using FLEX Parser > profile 2: >=20 > mlxconfig -d -y set FLEX_PARSER_PROFILE_ENABLE=3D2 >=20 > The testpmd commands could be: >=20 > testpmd> flow create 0 ingress pattern eth / ipv4 / > icmp type is 8 code is 0 / end > actions rss queues 0 1 end / end >=20 > testpmd> flow create 0 ingress pattern eth / ipv6 / > icmp6 type is 128 code is 0 / end > actions rss queues 0 1 end / end >=20 > Signed-off-by: Xiaoyu Min > --- > v2: > * updated release note > v3: > * added example testpmd commands in commit log > * more strictly validation: ICMP needs IPv4; ICMP6 needs IPv6 Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh