From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 845C2C0650E for ; Mon, 1 Jul 2019 10:26:08 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 14D47206A3 for ; Mon, 1 Jul 2019 10:26:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=Mellanox.com header.i=@Mellanox.com header.b="Y2E+CKgp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 14D47206A3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mellanox.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DB4892C23; Mon, 1 Jul 2019 12:26:06 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60057.outbound.protection.outlook.com [40.107.6.57]) by dpdk.org (Postfix) with ESMTP id 048122BB5 for ; Mon, 1 Jul 2019 12:26:06 +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=huRsVOHG5WwRPd17fJLLlrJ726ka6si30Z27QqsDu9w=; b=Y2E+CKgpHqlJp/03/5io6NBPVZnn2vp5drdT5pr1GLlvS7rrweTbL9ivui7dw1e6SODRByx/B0Jw0tR/qhfIB9H+p1ZQEerJ5/vuppffrmHIL/1zPb14k6O+MxY+pjVY3ZR85z+y+u+qqfACsreS0yLZftlYBfvTdGkZD1p1fcU= Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com (52.134.65.161) by DB3PR0502MB4010.eurprd05.prod.outlook.com (52.134.66.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2032.20; Mon, 1 Jul 2019 10:26:04 +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.2032.019; Mon, 1 Jul 2019 10:26:04 +0000 From: Raslan Darawsheh To: Moti Haimovsky , Slava Ovsiienko CC: "dev@dpdk.org" Thread-Topic: [Suspected-Phishing][PATCH v6 0/2] net/mlx5: remove TCF support from PMD Thread-Index: AQHVL/Avzz6roEY9skKM9m6/b6C4Pqa1jqHA Date: Mon, 1 Jul 2019 10:26:04 +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: [212.29.221.74] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5a4406cb-ce04-4a64-7e76-08d6fe0e85a2 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:DB3PR0502MB4010; x-ms-traffictypediagnostic: DB3PR0502MB4010: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 00851CA28B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(136003)(346002)(376002)(366004)(39860400002)(13464003)(189003)(199004)(52536014)(256004)(4326008)(5660300002)(8676002)(25786009)(6506007)(81166006)(81156014)(229853002)(71200400001)(71190400001)(102836004)(7736002)(66946007)(14444005)(446003)(76116006)(305945005)(53546011)(76176011)(478600001)(26005)(186003)(73956011)(110136005)(316002)(74316002)(2906002)(33656002)(66556008)(64756008)(66446008)(66476007)(8936002)(6246003)(55016002)(11346002)(486006)(6436002)(53936002)(7696005)(9686003)(99286004)(6116002)(14454004)(6636002)(66066001)(3846002)(68736007)(476003)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB4010; 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: wWMN1GZUDFbGUgU6vvjY/6orKyUeW2CAndgCNB+u/TfWH1T4FOEL4/7wcdl+pApNlP2uGtuWLssKlDo2j8NLRk8Pxy+7B25/8HO7LSSs/RKc/7MaONRslKPfIv14LhQG0RtRKG5BWwUA7M4Tqx7GpYTDxSxYCTjVdz6A13hwewn0WIrSKXnRdBqF+KNecW3urjSx/koGwJUnFZAXzZwNFww7XEfBo2paKaKb8Q7eCLjkZYhn7IFeYWyJyKH7vRI/XtnJgksQLA+d3qMAEE9m4Gxh7Pk3dKUlyRXfjEAYt2Vw1h4TeqcXqc91jbo1xVABsWXsL1NifbZjTCZv/bFi4avEfLM+DHcj0OLqq7ktbOKc+Q3EqCI8hRupRWyx++j7EVAZ2Nuc8rS2E49I8bju2EytXBoYp9Do8XR0f8bNSY8= 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: 5a4406cb-ce04-4a64-7e76-08d6fe0e85a2 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jul 2019 10:26:04.2631 (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: DB3PR0502MB4010 Subject: Re: [dpdk-dev] [Suspected-Phishing][PATCH v6 0/2] net/mlx5: remove TCF support from PMD 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: Moti Haimovsky > Sent: Monday, July 1, 2019 12:34 PM > To: Raslan Darawsheh ; Slava Ovsiienko > > Cc: dev@dpdk.org > Subject: [Suspected-Phishing][PATCH v6 0/2] net/mlx5: remove TCF support > from PMD >=20 > Today, it is possible to offload an interface flow rules to the hardware = using > DPDK flow commands. > With mlx5 it is also possible to offload a limited set of flow rules to t= he mlxsw > (or E-switch) using the same DPDK flow commands. > A 'transfer' attribute was added to the flow rule creation command in ord= er > to distinguish between configuring port flows and E-switch flows. The > commands destined for the E-switch are transposed to TC-flower rules and > are send, as Netlink messages, to the mlx5 driver, or more precisely to t= he > netdev which represent the mlxsw port. > With the addition to the PMD of E-switch configuration via DR (direct ver= bs > rules) it is now possible to configure the E-switch using these commands > instead of using TC-Flower messages. > Doing so will allow us to remove the TCF support and the dependency of > libmnl from the PMD. > The purpose of this RFC is to propose configuring the E-switch flow filte= ring > using DR, to remove the TCF support from the PMD and to remove the > dependency of the PMD in libmnl. > As for today VLAN insertion or removal is not supported in DR, this suppo= rt > will be added in separate commits. >=20 > Moti Haimovsky (2): > net/mlx5: fix crashing testpmd on null drv opts > net/mlx5: remove TCF support from PMD Series applied to next-net-mlx Kindest regards, Raslan Darawsheh