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 74023A054F; Tue, 18 Feb 2020 13:02:01 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E57691D526; Tue, 18 Feb 2020 13:01:53 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80058.outbound.protection.outlook.com [40.107.8.58]) by dpdk.org (Postfix) with ESMTP id CB1A71C2EA for ; Tue, 18 Feb 2020 13:01:50 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V/Erh4bS+1tNsyk/X/GUJoJpcF88HYjyLWNJ/WPHIs0EaoNQumRpAxuUzwPf/0odnxhvxe4b8hKr2v+vRLSImv2SoMM8ck/7UUD4uAYTPHKjsZvG/waiR3BnnvjUpfWp0C66vlWJTSbe+z67sQaUAndTU1u4UKXCwgE07EHYJtNYBzXkkbXw6oOVsRYBdGC4Svg4brLSUmonvnqZwEKBj9hZrZvIyIvVlx7VNxDzJGFFwmRMR0bVRJJpJcgAl2VkT068obgaIw6R7RdKsY1+e8Fu7aomZrHbglRLKFyFc1pTRz4S67kUDRx0iAEtoeZRBGUubOn9vVxjbDk13wdytw== 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=bfqjSIAxhGbZz0wfXypzr62JH/wrqODVNU2Ej9jVwV4=; b=OA8BNyp2U0lhcfds4lBOkrJjlHEq7RDHYMUD1vJ+i0b+xkfV0ZrCPxbDBqC5DMY5p9QMRRPR/ZPpz5uI7ZgYm6yPnjOBZ0G7o0uNiHZ4ktSTGo1R7kf4SnzMdE4l5r2GktnQLUNXc20f+lxHFL4pZucIY3M7V8vpiNPO4Z9i4Z4OP75c51cg9jnJjyKqfS4OzMc7wtmW9PSWjxa7De6XLufFxfj+1M7uBDJu3cIIs8uQifTa1d2nf+726IqMN7xZPUvwaA6siEGFmM4zhatPKWUvdWy+eQY8aVUbRhA2GJgUtByX/rsqZkWBiKyqJp+pzt1h1Mes5XiJq4lTW7zRhw== 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=bfqjSIAxhGbZz0wfXypzr62JH/wrqODVNU2Ej9jVwV4=; b=o6a/fdSmk+0rGfibbprtW8Ofa+qrmPwwK67pgNk3yohDdaxRikM24Yg9GNH1jsFbbNMme0CmL6CD42sA/nnM9bOu88OAkBRwul+jDJ691OxARYx92yrkFSoIfvOYnicGpMZW5U3csPTRxu6njU3OSSV8FKvjOPjweOmTik0p5Fg= Received: from AM0PR05MB6707.eurprd05.prod.outlook.com (10.186.174.145) by AM0PR05MB5330.eurprd05.prod.outlook.com (20.178.18.139) 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 12:01:49 +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 12:01:49 +0000 From: Raslan Darawsheh To: Raslan Darawsheh , "dev@dpdk.org" CC: Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH] net/mlx5: add BlueField-2 device ID Thread-Index: AQHV4ohM95LexCtaWUi7dofEtHMsCKgg4SKg Date: Tue, 18 Feb 2020 12:01:49 +0000 Message-ID: References: <1581610302-15299-1-git-send-email-rasland@mellanox.com> In-Reply-To: <1581610302-15299-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: 76f05b55-924f-4cfb-6b41-08d7b46a5610 x-ms-traffictypediagnostic: AM0PR05MB5330:|AM0PR05MB5330: 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:4941; x-forefront-prvs: 031763BCAF x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(396003)(136003)(39860400002)(346002)(376002)(189003)(199004)(8936002)(33656002)(71200400001)(478600001)(81166006)(81156014)(2906002)(53546011)(8676002)(6506007)(26005)(186003)(110136005)(316002)(76116006)(9686003)(5660300002)(52536014)(66946007)(66556008)(64756008)(66446008)(66476007)(7696005)(4326008)(55016002)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR05MB5330; 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: 6eYuw7ChPHBQYaD8U6CeowaDNdspUz7fan+Gy3zlNhSyEO5u38DestojRs4SJak8/d7YmAx8mK0bnXdvYwx3zIHEepdp++vG9RbsV0FFRlSTPHjZwDSDnhKB+dYO4iGs3rV6/X65iR7Hi0uXgqNizugFhGZ5G4k34t8FNbXTQV+ih75x2EKExu6agqPvP9F25T3+AN33pLhdMC7+Qdde/eS3uPb3BZu5GhgZIsBcnYHLkMUzVd2oR10Dd6h+AhwvWKKfnNxWCcpMruNj7BF0uOhIZgTHuk7PGKgMH6UKQ4Zb8sWiNLwfSqsdVik8Km37uA5dwiDgqhPVjCRckF2ndk6j+Ga+TdDVOTRz1Q+aj6COpYdXEUFp34CoNni8OOC2OD5upJmHx0ikL1OS4nBcieewmlo7Fq+9rOvZMLEGNGwa8jI/mRRJ7GxI0XlxfqmR x-ms-exchange-antispam-messagedata: DTfG41kqJt+LiIVS6V6D5Zjw1brS6yuVjM8NYQmNqS6UwcXFwYcUeUYBZC+4iStevm5CsCKqjlp0rh/O+OL+rkQOC/ZMOS2F5sxZuKO9bRxs31Td72UosLZOYIO8+fhRueMYCNQYb1kzeaAJsHJuRg== 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: 76f05b55-924f-4cfb-6b41-08d7b46a5610 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Feb 2020 12:01:49.9066 (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: WI8zoKPIMS7xmyAF7X+Eq3Quj1GcXWNHT6n1XQ3o2eiNIuoE2OlTdLN4C09NcskIT5Yiu/Yjt2ZgjPAl8ww88g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB5330 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, > -----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 >=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 > --- > 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(+) >=20 > 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 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 > } > }; > -- > 2.7.4 Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh