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 1898EA054F; Tue, 18 Feb 2020 14:26:56 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5F2641C210; Tue, 18 Feb 2020 14:26:55 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80073.outbound.protection.outlook.com [40.107.8.73]) by dpdk.org (Postfix) with ESMTP id 6248D1C20C for ; Tue, 18 Feb 2020 14:26:54 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WKgbPqJCyqoEDOM4K/9Duq5PZ6PUf+Nwf9OHV+O5v3mboxe8xfPEzWJOgdk23kpRjSEbuAXom8/LkhTlaHNF38QuytbkaOBmS4sdYR6lW5nEUMaeFGBECGlgaZXaeoTHoWN1pvVjW3Mh1GKYoadf9oMfYzZR4U14/hnXtcOvt2UmDR2VBHbEWPescoDGktVuopLsF5Fn8XQLjev58DSzMBspGffOuX1rtjuZzfYHALaQqTMrhkVU4fP3obBbROfkd426Mh3t3hWRYq832avM750oMDcMT9SeNNPSE3qEhlaiaV0+gw8w4Y5CnIUPk8f0PBRA3bRf9f5sHpeUnz2TVA== 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=F3ROA1bGliHxneghrLkM2MqJDAWmG2pnR0IQGZALqGw=; b=H/no/9a4MyWmePflIyeMO02vQOz0O1qvHNA0/v35udDmePkdpqAFqraKhxz6VngIwh+Mwh47PIcjHrL56QzjXCyijSpzHKZm4enJclypXonsexV/vu6Oj05rezfAR/1ymkBWVpwSxgwW2B9ThlR9+KIkG1Obao87VGKxQqgPlULEJUFIdBuGCR9QBn7r4LLyDHZ2TZkrfYgc8LSDOFUTz3SrB7MqTdExQuASNO3uW//z+eM5VgUaV2EOHb80VS1dgaJS2Uoqu+5KkCCUH1oEffuaL/6fCxXoayHB0xL6a3WpQi5zrLKsosaim75N8Hl4CvrZSsQ70JASMmok383Xpw== 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=F3ROA1bGliHxneghrLkM2MqJDAWmG2pnR0IQGZALqGw=; b=S86EmYzpHOIHrmtgkjXmwFHeH9Kh6qTlBGBNkJTJoNelJ2n528Ye6QAV3yaA7MEoCMRw2rkiEwzQu5o1EzqAkoTqAY5PieqQSLKwxQJ5CSydSvw+Ic/26JP/QF6iaagqX4H9WOBxuIpLj2a4fi98nFgcTlQPBGyJeTkLLeabcPs= Received: from AM0PR05MB6707.eurprd05.prod.outlook.com (10.186.174.145) by AM0PR05MB6451.eurprd05.prod.outlook.com (20.179.32.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.22; Tue, 18 Feb 2020 13:26:53 +0000 Received: from AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::adbd:45ca:54:bba9]) by AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::adbd:45ca:54:bba9%7]) with mapi id 15.20.2750.016; Tue, 18 Feb 2020 13:26:53 +0000 From: Raslan Darawsheh To: Raslan Darawsheh , "dev@dpdk.org" CC: Matan Azrad Thread-Topic: [dpdk-dev] [PATCH v2] net/mlx5: add BlueField-2 device ID Thread-Index: AQHV5l6WoJYQQ5h8A0aYd6aJZ9o2vKgg8WtA Date: Tue, 18 Feb 2020 13:26:53 +0000 Message-ID: References: <1581610302-15299-1-git-send-email-rasland@mellanox.com> <1582032192-1951-1-git-send-email-rasland@mellanox.com> In-Reply-To: <1582032192-1951-1-git-send-email-rasland@mellanox.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=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: 2d90ffda-1cb9-494c-e40c-08d7b47637ff x-ms-traffictypediagnostic: AM0PR05MB6451:|AM0PR05MB6451: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-forefront-prvs: 031763BCAF x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(376002)(346002)(366004)(396003)(136003)(199004)(189003)(26005)(110136005)(55016002)(2906002)(71200400001)(9686003)(66446008)(64756008)(66476007)(53546011)(6506007)(7696005)(86362001)(478600001)(66946007)(76116006)(186003)(4326008)(5660300002)(81156014)(81166006)(8936002)(8676002)(33656002)(316002)(66556008)(52536014)(107886003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR05MB6451; H:AM0PR05MB6707.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: J9ObSYTz3I4OO5+CIyd5Tq0yygF5FXhbLBigBTR5UZYxpaIUJyYTddCaoQtwlrCgi5WtMYH5fxXdWEhdCOL99bCqCA+6diK5tIKDmFLzptXgcYXHhsYp3WV5A3c2UVCexYFRAfEhQ144wpIiLduoWMZ9vg7FQTNhazJWxKde3ys6monbKEXPshIRXkfCyVFjyTG7z7/wBitY1fCNFfhRb5sBOliBm2tONnyq7fe4M33Xp/YRyFNgSaB9gjOzV7pmYmH7GHev1G2Ef48FJBn8OKNAjDyXiXdps6u8AZXlAh4T6D/m9SNUzIvmCnmUv1Uxv33Oe1N10rjP7wb0n9mEP+A/n556a+3FsP389sPmAntL2Swy+dKegKgL9QcRYMYm63AkNMU1x7bBpLNFVn2eKgyrXs5vPL6fXZBerdA6uHyMOojA5vyGgonQqki/3gVh x-ms-exchange-antispam-messagedata: 0kzghS9/smSL5UFhXvxDSPzR9o8k13g28bNvGeONhBXvg+EbUGhGy3IE1etAVHb5G4Ma2YjFhXzpOnKa3i5AJ6vNx/nf0ZoNv8OfXrAzmaj5bFOlDVslkdhSI/4jAacdciRbjO13tuKJ720UtfOa8A== 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: 2d90ffda-1cb9-494c-e40c-08d7b47637ff X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Feb 2020 13:26:53.3995 (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: zZ6Sb8/nq4ari8hKwMvBCIrGmwxLx0JKuwcGEZTdNv0R4tuAB1FdhYVrWP/QC28RX7Tips/Ha3MHPJeRVXLtXA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB6451 Subject: Re: [dpdk-dev] [PATCH v2] net/mlx5: add BlueField-2 device ID 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" Removed V1 from next-net-mlx, and applied new version to next-net-mlx, Kindest regards, Raslan Darawsheh > -----Original Message----- > From: dev On Behalf Of Raslan Darawsheh > Sent: Tuesday, February 18, 2020 3:23 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v2] net/mlx5: add BlueField-2 device ID >=20 > This adds new device id to the list of Mellanox devices > that runs mlx5 PMD. > - BlueField-2 integrated ConnectX-6 Dx network controller >=20 > This device is not ready yet, it is in development stage. >=20 > Signed-off-by: Raslan Darawsheh > Reviewed-by: Gavin Hu > Acked-by: Matan Azrad > --- > v2: added missing support for VDPA driver > --- >=20 > doc/guides/rel_notes/release_20_02.rst | 1 + > drivers/common/mlx5/mlx5_common.h | 1 + > drivers/net/mlx5/mlx5.c | 4 ++++ > drivers/vdpa/mlx5/mlx5_vdpa.c | 4 ++++ > 4 files changed, 10 insertions(+) >=20 > diff --git a/doc/guides/rel_notes/release_20_02.rst > b/doc/guides/rel_notes/release_20_02.rst > index 78dab7c..0b42890 100644 > --- a/doc/guides/rel_notes/release_20_02.rst > +++ b/doc/guides/rel_notes/release_20_02.rst > @@ -133,6 +133,7 @@ New Features > * Added support for RSS using L3/L4 source/destination only. > * Added support for matching on GTP tunnel header item. > * Removed limitation of matching on tagged/untagged packets (when usin= g > DV flow engine). > + * Added BlueField-2 integrated ConnectX-6 Dx device support. >=20 > * **Add new vDPA PMD based on Mellanox devices** >=20 > diff --git a/drivers/common/mlx5/mlx5_common.h > b/drivers/common/mlx5/mlx5_common.h > index bc200e2..961c606 100644 > --- a/drivers/common/mlx5/mlx5_common.h > +++ b/drivers/common/mlx5/mlx5_common.h > @@ -137,6 +137,7 @@ enum { > PCI_DEVICE_ID_MELLANOX_CONNECTX6VF =3D 0x101c, > PCI_DEVICE_ID_MELLANOX_CONNECTX6DX =3D 0x101d, > PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF =3D 0x101e, > + PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF =3D 0xa2d6, > }; >=20 > /* Maximum number of simultaneous unicast MAC addresses. */ > diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c > index 23a50f3..4803760 100644 > --- a/drivers/net/mlx5/mlx5.c > +++ b/drivers/net/mlx5/mlx5.c > @@ -3530,6 +3530,10 @@ static const struct rte_pci_id mlx5_pci_id_map[] = =3D > { >=20 > PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF) > }, > { > + RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX, > + > PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF) > + }, > + { > .vendor_id =3D 0 > } > }; > diff --git a/drivers/vdpa/mlx5/mlx5_vdpa.c > b/drivers/vdpa/mlx5/mlx5_vdpa.c > index 36344ca..97d914a 100644 > --- a/drivers/vdpa/mlx5/mlx5_vdpa.c > +++ b/drivers/vdpa/mlx5/mlx5_vdpa.c > @@ -531,6 +531,10 @@ static const struct rte_pci_id > mlx5_vdpa_pci_id_map[] =3D { >=20 > PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF) > }, > { > + RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX, > + > PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF) > + }, > + { > .vendor_id =3D 0 > } > }; > -- > 2.7.4