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 B27D6A054F; Tue, 18 Feb 2020 14:23:23 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 910001C20C; Tue, 18 Feb 2020 14:23:23 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80088.outbound.protection.outlook.com [40.107.8.88]) by dpdk.org (Postfix) with ESMTP id D0D4E4C81 for ; Tue, 18 Feb 2020 14:23:21 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YJ6OIC/5YAoCwrRxIWw8vF13zXAd+1NGWMtTq1mH9NrPILMD51phFvcUjzkrMXglYx8jvBUHAxuyzAEVovU+JuaRKkF4MkoZTQBT1P8RISiB4ZrUTcrScJ/evKPtCVRJrK4FLQjkzEP/b7UFb3+6zbhs6zys0zFFcxOFRDVDy15hJJkEup4Q/bYwhOMfglb7fYUX48bRDuwzhom1aqmheLpR6ezfurpJLkyofeAAIj9oqfTyeEaGdZPryjRqGyAxv/peKn96v0IFr60S6aUS7MuXjW5qvhtv1n3r4DajCmOU5gtnCwLRDPJr23xznDPQvcRhZ5qk6X05loaUH4LU4g== 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=tV7TcOfHRYhTPOsvqJKM7XrEjjI0jCcXNldeSE6FjjE=; b=TI60hm3Ka061zm0x00z52ZuADAo80dkSv+zJiMydAowrXaswLN//5qGGyhmsSRsEQmL9lsyDDSfrbQa3FUh2RstTwtJg5ntIoRecAyrMlqzxULNTV2JLtv1Cmg/h/a23zuk+WU8AaNAppu+JBquyclvqoXJEkGGiPdFGpAmT9FfLc9NW36Up/S9zTWqjAocsCoBZ/ivR3dGdk72tgieo/C1URN3BC4Il8arLpuiaANylfmafcNtXE1LkiVQVeZsrg1iRjvX2rXCz0ngovrjaHpK1I8yriYHzzCk3JJUb0FHiJ/v0OTqxEzMoWbb4VxHwglAxhWrmGfw6VYd995f3RA== 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=tV7TcOfHRYhTPOsvqJKM7XrEjjI0jCcXNldeSE6FjjE=; b=XU1+5GHk+i8zuk0cgDWKvsDYmX3e12iVjHnmMiL02XQvTLbAoNJexMcJGJSxRNbX4JCK+A/Sxaup0YJkV21ggpihf3MEj6rftEqkZDKgj5HpMkZta4AR4A8oeXHAh1v8S81woNLqbRLwV0+aa/nKnz8XUqpTpSV2Aj3CAYxCi6k= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=rasland@mellanox.com; Received: from AM0PR05MB6707.eurprd05.prod.outlook.com (10.186.174.145) by AM0PR05MB6290.eurprd05.prod.outlook.com (20.179.32.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.24; Tue, 18 Feb 2020 13:23:21 +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:23:21 +0000 From: Raslan Darawsheh To: dev@dpdk.org Date: Tue, 18 Feb 2020 15:23:12 +0200 Message-Id: <1582032192-1951-1-git-send-email-rasland@mellanox.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1581610302-15299-1-git-send-email-rasland@mellanox.com> References: <1581610302-15299-1-git-send-email-rasland@mellanox.com> Content-Type: text/plain X-ClientProxiedBy: PR0P264CA0078.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:18::18) To AM0PR05MB6707.eurprd05.prod.outlook.com (2603:10a6:20b:15b::17) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from mellanox.com (37.142.13.130) by PR0P264CA0078.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:18::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.2729.22 via Frontend Transport; Tue, 18 Feb 2020 13:23:20 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [37.142.13.130] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: d138d46c-7c5e-4b4d-01f9-08d7b475b92e X-MS-TrafficTypeDiagnostic: AM0PR05MB6290: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4502; X-Forefront-PRVS: 031763BCAF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(136003)(39860400002)(396003)(376002)(366004)(189003)(199004)(6916009)(316002)(26005)(36756003)(186003)(7696005)(81156014)(81166006)(5660300002)(8676002)(66476007)(55016002)(66946007)(16526019)(66556008)(478600001)(956004)(2616005)(52116002)(86362001)(8886007)(6666004)(2906002)(8936002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR05MB6290; H:AM0PR05MB6707.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: gGRkqKRtSp6/LkJ4G5Gd11JwbxAc/1h/V5lLxLXYpRDZweZloLGyd80HA7Ge483i/O972VXww7aPETsn1hAGtEnGOpGXUYhPiae+Q1THik4wwbqZcwHK2C/xKpr6o/Wp+nhPJF4j5kPwKdOq2oC7JOzOPaGU2XsFTk45vtM8MqNWW2Q24u9PiI8CFBvLETj5UC18R3iieQFTd133DF8inQl5aC1Z8Yel6c9DfZ9yo+0+m+yehj8ktdTxjyr/QkE4nxIHfxIAcyLYWfDs32T7xAjYJZqEHxro6Ui53tHFwjCbwwCvdEVeIot5c3ChsSkveSdzmpZmGukfR3QuSBBSnD3Ma1DV+SdbMTEWu575tob6S2I7Cj+3jEkwD3pAlsNbOoviYvzBvuVNJNYe0cpu7qe3UoyATn1EHiK0KJj4qqEaWOh7RR51IIN9jIUe2Tx7 X-MS-Exchange-AntiSpam-MessageData: A9xEYoxRMVbI3mITx3gHspGHkBp5bJcrvp3EWNEAcpYOGeQo6M3FgPM99B4bbiL6GSvq5QdN1LnjNgyryCr9fOS1+yHiAcuOCXH2JuIcW5c0Tdj/aDJy2D93VmaJIIgXLZdc/+TFuX686FWnrpf+2A== X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: d138d46c-7c5e-4b4d-01f9-08d7b475b92e X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Feb 2020 13:23:20.9876 (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: djd6g9VGzDEDaVVlg/NEpjhuR6P4gm4E9cPLBD168rHKyBvWZ+x0MNKxY7wiCXm2myIdYgS1O+3KyZTHf9BUqQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB6290 Subject: [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" 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 Reviewed-by: Gavin Hu Acked-by: Matan Azrad --- v2: added missing support for VDPA driver --- 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(+) 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 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 = 0x101c, PCI_DEVICE_ID_MELLANOX_CONNECTX6DX = 0x101d, PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF = 0x101e, + PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF = 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[] = { PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF) }, { + RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX, + PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF) + }, + { .vendor_id = 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[] = { PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF) }, { + RTE_PCI_DEVICE(PCI_VENDOR_ID_MELLANOX, + PCI_DEVICE_ID_MELLANOX_CONNECTX6DXBF) + }, + { .vendor_id = 0 } }; -- 2.7.4