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 87580A0542; Thu, 13 Feb 2020 17:11:53 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0F93A1C069; Thu, 13 Feb 2020 17:11:53 +0100 (CET) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2046.outbound.protection.outlook.com [40.107.20.46]) by dpdk.org (Postfix) with ESMTP id F16DB1C038 for ; Thu, 13 Feb 2020 17:11:51 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EGTFGczAlLQ83Si8a5SF5FmiG69yj3h6M9Bj8yJtrivmWuzOwIvEf54kFLGWlpJjVjeZ5cWr1zE+bn+gfTypJzvKW2oH7gBsXSVhqiLk4gowUblZp8DJcmSIuKZtkFDJZeNNRuZAmd+6+75839ThPudrBd5/dsZmUekt6N6D/B1crAtnMvm3KnrOJ9Jlqp9lctQ1kIkcGXJo0skgWWz3ZhbRSM5bmx5dVrzB2xBwVOARkglP95Kw41Y9dI55PG9rc36qAYkDVyxyuX/NRO+OHn6Vtrc591NMzhrYLLkX1GRG2aB3/oGnXRBGkpnxMz3rgE9R/Zv3RSqpI0JH//MfJA== 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=jxyC1/a8z9NyVjNErYuP0VJq8llSHnACejVjJNhFOnU=; b=bZTNKL0xLF5gQpOXfmgL6+NL0aYJ6381Au9e983ncK9wCzkt13lVpb9HBNwKTHnFOqXT2+4RRuv0Eq4kj1FG35CZGnYU64CjdnWIfrxHSBqhNV5bvEkhl8CH8i09zjpqazd3EXkQPHZ4uGZFx+FgbZRP8efTmxqigg0ppSzFvmaJYyHnAj9ZooCNC75rJNR24mjK027aOtCep5el+Wnx4PANFZKHqgnXcbGg7w6DilH8XQE8KTC/YqY5oOWWQ5PU+gC/p/hbxtBumtOsYxmLTPa7783I8lDptkNmgrbVakN/CGOvciyXR4pISdmVoEag8fAwN8ai8c0KdgBZhBkPtw== 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=jxyC1/a8z9NyVjNErYuP0VJq8llSHnACejVjJNhFOnU=; b=T+M5kRzWC07D507N4r8Z9M4X+xFTNW/Dlpm+ADHNNA/lhWM6pWnamtyDx5ogJUCEL8SGaSdXNfuC0IqjwxYedlhANPOTAJ3mNPS8Cu1n3MvRCvKqCDWOxORa/zMpq4xS2xE0AD3rkn+jhWm4hK4PynkybhMA9uk1S8ZSM2P4PP8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=rasland@mellanox.com; Received: from AM0PR05MB6707.eurprd05.prod.outlook.com (10.186.174.145) by AM0PR05MB4578.eurprd05.prod.outlook.com (52.133.54.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.29; Thu, 13 Feb 2020 16:11:51 +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.2729.021; Thu, 13 Feb 2020 16:11:50 +0000 From: Raslan Darawsheh To: dev@dpdk.org Cc: thomas@monjalon.net Date: Thu, 13 Feb 2020 18:11:42 +0200 Message-Id: <1581610302-15299-1-git-send-email-rasland@mellanox.com> X-Mailer: git-send-email 2.7.4 Content-Type: text/plain X-ClientProxiedBy: PR0P264CA0171.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1c::15) To AM0PR05MB6707.eurprd05.prod.outlook.com (2603:10a6:20b:15b::17) MIME-Version: 1.0 Received: from mellanox.com (37.142.13.130) by PR0P264CA0171.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1c::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.2729.22 via Frontend Transport; Thu, 13 Feb 2020 16:11:50 +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: 591f2d1c-10a0-4a8b-5036-08d7b09f6f22 X-MS-TrafficTypeDiagnostic: AM0PR05MB4578: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4502; X-Forefront-PRVS: 031257FE13 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(396003)(136003)(366004)(39860400002)(189003)(199004)(86362001)(55016002)(6916009)(316002)(186003)(8936002)(2906002)(66946007)(16526019)(81156014)(66476007)(66556008)(478600001)(5660300002)(8676002)(81166006)(36756003)(4326008)(7696005)(26005)(8886007)(6666004)(52116002)(2616005)(956004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR05MB4578; 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: wlOrAR3hz6YXTlo/ibvRiYyqE6p7YO61W/p2JQ25JltU8iMIwuu4ZDGtBgv/0GGBdHzXcdXPCIcuPl3uMAf7vr6xhUl5kFs9NGfZO59TmOg1P8XKLQ0UlfgKnysfPWMau0aw1dQJr+0wqcIyrxnrDNVNshRbVPRC6eribhxUimX0ZaeiXcWnqF92DO7MwlebEeulIT6b7IjePkoSPd7EI2bKlAz6myIgVSYSLIwHExca+N5uVgJW/WGVIakssWPwrjNZxDO0oc0jOA2k3eUGeoFRLO9bJ8e9YzcqJDg68j7DU33/mRD6ptxZuHKR5D9ZMhQyy5APWzmuz3kfdAdTRhFA+bO+4f5HhP5gVitCyIGwWD15ixpY28Ba06Uf8w1cxFvCSB2tnk3wAW66hMMrJAtEuZ4cY1ErkjZUIj/KX2NmHRSf2FIqpGKCbSx+yyxd X-MS-Exchange-AntiSpam-MessageData: eiPhwhK9coHZpvgE7HAwJkCraHzxzIwxf1lkKlv1wE6F5BBzhBdYXJoax+OyypHlbJ+f5+o5cwhIlkZRpQeaeoORuE4P8WrtUPuDo13YhmgGc2OW7FUaUaVB02K+kFYcEjI4DFU5O0y3Jo9CLTyn4g== X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 591f2d1c-10a0-4a8b-5036-08d7b09f6f22 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Feb 2020 16:11:50.9541 (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: 9i9TNXQcDdUxOzl3T+PDba5iqJHMtWbnMzBvffMhWFJue/X6GnrEBNzGRc4mZAUpah9b1sWkd47ixj3ZzOPnpw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4578 Subject: [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" 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 = 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 } }; -- 2.7.4