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 4B1FBA04B3; Mon, 18 Nov 2019 13:30:25 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 95EBCB62; Mon, 18 Nov 2019 13:30:24 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80074.outbound.protection.outlook.com [40.107.8.74]) by dpdk.org (Postfix) with ESMTP id 5693DA69 for ; Mon, 18 Nov 2019 13:30:23 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nv8yV2jwOqs9k4QQsZynGjL3WYYZ1MbDOXDOPpu8ASMchYYXgzgS/rDK1Wzj3ejTQPPIwf9+vNbrMY2DoOhEShXMcMX0zpS39aHtz+zN+lcDgz7HYr1+u/w7Qaufz2BQNOfSk0tnz4ofwLBhKmA1dzbDcz1rxto6SJYLWXgzb5Wx2sTiCxyRnrLScgihoDtJBDHN4OXdPiVUdovSdlJ3iWiMAhlxfbppiRdfjVvebVsD7MUiWmFF/5P+PjCrorxiVoYW6VyBBNIjxBe0uHQsWif1pKLFTr7GOsE+3GI5g2dR19pvnjZQeaagfcIXMVXN++SejAA7s+vPpA9g3mjvKQ== 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=NAMC4mpfgxxWBra7yXJ1AhmFhO1Ub5hkfhvHyFXmgrs=; b=XkR8v+R5EgfPyX72JVl0Y6d3ZBcLUvql9x0G2eIJV2P1eKpPSFLCrijSXlRK8Q0Esf1vM8Nh8mw+PjWUPCL9x29wQ8q3NNp6obOvpeiPjdn7oGIZOl7iV2GY4tP1ORj+7l6vg1MT0vdh+rkho4D7GfBvgAE238YbvREXygVRjs/6gVrwyEZzBeA2xlBFrtgdwCY1ZSxuJf7oPs+8WOopGKD2i6eGJmGpyqLd/13NwnEHC/UCdQnIcT6U/yJmcGC9SXAmtSjfCKmiAHfxnnxUSDy1lrR/UFNsHEODSEfhlFQCDqwHrWkA6u5OcEv3JOM2i1D0bj4Q3o0ZGE0m3frYmg== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NAMC4mpfgxxWBra7yXJ1AhmFhO1Ub5hkfhvHyFXmgrs=; b=Vb+zC1jNNz/gcP2Sa5vpBu2hPYezMV/mKXHin29chuUPZ3IwDV8G63BJ5rgwfZx9IkY2hySk6SEFeFAAvpqOhSA1zUSh26W8gmesuGrmQpsIdJSsHqngFpRoJx1yYR1EFT/kIqHqR8uqzqIEK3aLA67x+hSiisrFbHxIQt61wrs= Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com (52.134.65.161) by DB3PR0502MB4059.eurprd05.prod.outlook.com (52.134.66.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2451.22; Mon, 18 Nov 2019 12:30:21 +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.2451.029; Mon, 18 Nov 2019 12:30:21 +0000 From: Raslan Darawsheh To: Dekel Peled , Matan Azrad , Slava Ovsiienko , Shahaf Shuler CC: Ori Kam , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] net/mlx5: change default flow engine to DV Thread-Index: AQHVimpirtH5fTsY9k6NMoPxmMlwOKeRAvMQ Date: Mon, 18 Nov 2019 12:30:21 +0000 Message-ID: References: <3305860b2bb3e310fe614644ee6fc44d11b00a7c.1571918258.git.dekelp@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-ht: Tenant x-ms-office365-filtering-correlation-id: ea6b0491-1281-449e-0691-08d76c231423 x-ms-traffictypediagnostic: DB3PR0502MB4059:|DB3PR0502MB4059: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-forefront-prvs: 0225B0D5BC x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(396003)(39860400002)(136003)(346002)(376002)(189003)(199004)(13464003)(256004)(86362001)(6246003)(54906003)(476003)(8936002)(26005)(25786009)(5660300002)(11346002)(66476007)(66946007)(102836004)(6436002)(53546011)(9686003)(186003)(66446008)(76116006)(64756008)(81156014)(81166006)(8676002)(66556008)(55016002)(66066001)(33656002)(478600001)(14444005)(52536014)(74316002)(6506007)(229853002)(446003)(486006)(316002)(6116002)(6636002)(3846002)(7696005)(110136005)(4326008)(71200400001)(2906002)(99286004)(76176011)(7736002)(71190400001)(14454004)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB4059; 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: A+OzyI9k4I2Eadggui5bIUou4h7TNdvxwb3UP/h4wLfSa/5XMKmliyFeY1j/q+oPnbkmxs1bOQ/yFb94u9rGRG7kLG+hbfQYmiN7wXr5Ka5a9QTzwAxX86WHgt2CypYKVQe89rGXQUv+aRu0/W2DKBNfQlwoQSZ3ejGXUPMZiZUSQKb+pY0Hkf7mUqHpj5W7Ythj+78a37v5Xfdfcq3hFPIYwHxyaNqmOxWrg5Mk/yJKqPP+wWji3nGrOxpf9JAERygKf8NhYgjgKn9Kt1KqJTZt0X5I0b7RlNaCcejlN6veOJ6kB1CNSD/sCILuO76TPTchkbqUD84UU2BczISGS9ug304WrGZ7mA+zlnBa4YnPF+sE3l89draotcJADW1b9QDND3DSaOtrzsL02wWG7r/1BePFA0wVjVxEVp9XW0XaHmA657tTl2L38f5RuOuY 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: ea6b0491-1281-449e-0691-08d76c231423 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Nov 2019 12:30:21.1330 (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: H0qNuUibyTpHOpGgbtcJOcDXaCBXPEvgDXXhnFUs1c3k7Zx6EBBBKasoNQ1+WKjfF8VJhD1pPRjt/EtWJRugEQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB4059 Subject: Re: [dpdk-dev] [PATCH v2] net/mlx5: change default flow engine to DV 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 Dekel Peled > Sent: Thursday, October 24, 2019 3:53 PM > To: Matan Azrad ; Slava Ovsiienko > ; Shahaf Shuler > Cc: Ori Kam ; dev@dpdk.org > Subject: [dpdk-dev] [PATCH v2] net/mlx5: change default flow engine to DV >=20 > The default flow engine is Verbs flow engine, for legacy reasons. > This patch changes the default to DV flow engine (dv_flow_en =3D 1). > Documentation is updated accordingly. >=20 > Signed-off-by: Dekel Peled > --- > doc/guides/nics/mlx5.rst | 2 +- > drivers/net/mlx5/mlx5.c | 1 + > 2 files changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index > fc7de52..600cea7 100644 > --- a/doc/guides/nics/mlx5.rst > +++ b/doc/guides/nics/mlx5.rst > @@ -583,7 +583,7 @@ Run-time configuration > A nonzero value enables the DV flow steering assuming it is supported > by the driver. >=20 > - Disabled by default. > + Enabled by default if supported. >=20 > - ``dv_esw_en`` parameter [int] >=20 > diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c index > fac5105..b99c5a9 100644 > --- a/drivers/net/mlx5/mlx5.c > +++ b/drivers/net/mlx5/mlx5.c > @@ -2721,6 +2721,7 @@ struct mlx5_dev_spawn_data { > .min_rxqs_num =3D MLX5_MPRQ_MIN_RXQS, > }, > .dv_esw_en =3D 1, > + .dv_flow_en =3D 1, > }; > /* Device specific configuration. */ > switch (pci_dev->id.device_id) { > -- > 1.8.3.1 Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh