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 00D57A054F; Tue, 18 Feb 2020 14:11:11 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3AF131C205; Tue, 18 Feb 2020 14:11:11 +0100 (CET) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70070.outbound.protection.outlook.com [40.107.7.70]) by dpdk.org (Postfix) with ESMTP id 4E8C11C204 for ; Tue, 18 Feb 2020 14:11:09 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hajbUp9JntszSnRX7owptUEY/RBBEsF98Tcw0Xiv+9itEO8HQ8gCVLZJvnFFV3T5/ygcVjdxuRE7+1ArNWTLlhrLOY4imEXK5guuHUGLyRIbiuVjXZ0F3C032FdNIrN9SAWZn9niJ2+/4ExIsjLk1CXQxQpBP4I0PDcAaEOlTk/2fw3Dw1pvqqSL/xmRzfyXYKMPKZ2scySkyeY+mFAC+TjtK3T0vFQQkliZ6jR6wnnDQDetOugIAg8Yg7xb0/ZUkgXoq9Bc2S66Kwcv3sAcUGtGq5gikW3zLubrcsTUwtW8kl+ZlOUtgB+tggRZRwMu94C16eE5vdWnP4coSw/ABg== 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=rZ0+taAVThlWARsFyxJBhpa9DBFRCQWpImMTnGDyyLM=; b=g0PoIS8uHXj29loXpjn6U13aK9oxEw0tsWuqwWY7EzLVXMEffgZcSPOe4wrEXRbVXa9zSeIViA8rbxxCpCkUtMMZoAblwt8PZREUh4opsNa7ULKqbKfz3BzMRuqLWncE+9H5j/D4OoyuAW1y3jvp27vwAw95xTzl7oTmxrrrxOB+IxHpLIUe9gOsiXTKZQv6hBiQwIuKDPC1bT+RmL1BDsuaxgOJbdkne2NfIWdKOV9G/SoSmGt3nd9j0/rD+WXk9TEfWTOpzU6Ysh21ir53kH2Wqiex6WtwxwVj6isjRyQJzVqLBZ5wciLNGGY9Xt27FldBMmEFWQiT/Ab954vvsw== 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=rZ0+taAVThlWARsFyxJBhpa9DBFRCQWpImMTnGDyyLM=; b=roF1ZyrZRRGZ3SaXzvljDI/FqFhcS+wlRJWvMrqZYk3+fzfpPlbowzrMbcAgq07BRU3O2Fa7Gr0r7jIH0dVk0yadgNwkVaeO/jGyHfT4bUfJE1W8kWX7kt76nxmkQTuOgpd75InMM4alqjPBHRhjcoklG2tIG07LRItbHhr2FbY= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB3841.eurprd05.prod.outlook.com (52.133.51.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.25; Tue, 18 Feb 2020 13:11:07 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::e495:9258:db09:1de8]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::e495:9258:db09:1de8%7]) with mapi id 15.20.2729.032; Tue, 18 Feb 2020 13:11:07 +0000 From: Matan Azrad To: Raslan Darawsheh , Raslan Darawsheh , "dev@dpdk.org" CC: Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH] net/mlx5: add BlueField-2 device ID Thread-Index: AQHV4ohSJbqIQU/MnE+JskDb97vs2qgg4VWAgAATLRA= Date: Tue, 18 Feb 2020 13:11:07 +0000 Message-ID: References: <1581610302-15299-1-git-send-email-rasland@mellanox.com> In-Reply-To: Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 31a8f682-b25a-491e-7df0-08d7b4740420 x-ms-traffictypediagnostic: AM0PR0502MB3841:|AM0PR0502MB3841: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-forefront-prvs: 031763BCAF x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(39860400002)(346002)(376002)(136003)(366004)(189003)(199004)(2906002)(26005)(55016002)(9686003)(66556008)(64756008)(66446008)(66476007)(76116006)(66946007)(71200400001)(4326008)(5660300002)(86362001)(52536014)(6506007)(478600001)(33656002)(186003)(81166006)(81156014)(8936002)(7696005)(110136005)(316002)(53546011)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3841; H:AM0PR0502MB4019.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: ClPPy7MOnIj5ZGn5bcW8Lly2mXTQ81dJsDx027AnMzPeCVD6Ux1Yq4d2s7fCFdIdCl93xt1upMD5QfYSBnh9haZLQSY1A7S9XNoAM8ZhBGC298NucbV5sXYdDysXUkzCXfGYhIfewxPN6TjI7+xnzCGWS9yYQaX4QYBbd+8sPjBmVU5i0gndLeIE8TO+HGcpmLhKP9tOZLkvB18pbHII6RRzfHWxskerOdJ6uXkmkrBcEMukjPM+ncgQUcNMpf8/we7ZvYdlRTj6qEKwInIBmxpxtCnfvsX2j0HSS1gWCVghuQDIkp+epg8/grZYPXJF5H3TxfTJ4olF9GTOnvkpUPaagkk2NEis/NHW5yiFuRr126wAK2mvUc7Ats+iy6S+MmBQZFzBaLG3f9hiCri02lpS2C8jHi2SUvo4TfGowU57B0gEilOtORWTJm208hCR x-ms-exchange-antispam-messagedata: t+/XzH2MuRzq56vEhsDGPtsqDIXCQ6y/zJY1BqEAq1cH2zrYlj71ZlvtdNXEgWTgCdeDzacOnuMoRqJbohIIIquXmJeElsBTVjfYOknKu5jCdR+9p26wg/ltjeJ2CFtVwm8r0XsXxyV/mtktOUMbJg== 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: 31a8f682-b25a-491e-7df0-08d7b4740420 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Feb 2020 13:11:07.3839 (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: +gISF02uXCK+BDjtbv8kLrX4JK31KZTtCZ8zf/p1Hpf1pWyNBjmdabbtRjlNtX+qah8Ux7TfwJ00fEgXB8p2Kw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3841 Subject: Re: [dpdk-dev] [PATCH] 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" Hi This one should be added to the mlx5 vDPA driver too. > -----Original Message----- > From: dev On Behalf Of Raslan Darawsheh > Sent: Tuesday, February 18, 2020 2:02 PM > To: Raslan Darawsheh ; dev@dpdk.org > Cc: Thomas Monjalon > Subject: Re: [dpdk-dev] [PATCH] net/mlx5: add BlueField-2 device ID >=20 > Hi, >=20 > > -----Original Message----- > > From: dev On Behalf Of Raslan Darawsheh > > Sent: Thursday, February 13, 2020 6:12 PM > > To: dev@dpdk.org > > Cc: Thomas Monjalon > > Subject: [dpdk-dev] [PATCH] net/mlx5: add BlueField-2 device ID > > > > This adds new device id to the list of Mellanox devices that runs mlx5 > > PMD. > > - BlueField-2 integrated ConnectX-6 Dx network controller > > > > This device is not ready yet, it is in development stage. > > > > Signed-off-by: Raslan Darawsheh > > --- > > doc/guides/rel_notes/release_20_02.rst | 1 + > > drivers/common/mlx5/mlx5_common.h | 1 + > > drivers/net/mlx5/mlx5.c | 4 ++++ > > 3 files changed, 6 insertions(+) > > > > diff --git a/doc/guides/rel_notes/release_20_02.rst > > b/doc/guides/rel_notes/release_20_02.rst > > index a40fa06..527c752 100644 > > --- a/doc/guides/rel_notes/release_20_02.rst > > +++ b/doc/guides/rel_notes/release_20_02.rst > > @@ -113,6 +113,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 > > using DV flow engine). > > + * Added BlueField-2 integrated ConnectX-6 Dx device support. > > > > * **Add new vDPA PMD based on Mellanox devices** > > > > 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, > > }; > > > > /* 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 { > > > > PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF) > > }, > > { > > + RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX, > > + > > PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF) > > + }, > > + { > > .vendor_id =3D 0 > > } > > }; > > -- > > 2.7.4 >=20 > Patch applied to next-net-mlx, >=20 > Kindest regards, > Raslan Darawsheh