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 89104A054F; Tue, 18 Feb 2020 14:22:03 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 14B1C1C20C; Tue, 18 Feb 2020 14:22:03 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80059.outbound.protection.outlook.com [40.107.8.59]) by dpdk.org (Postfix) with ESMTP id AE1314C81 for ; Tue, 18 Feb 2020 14:22:01 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XFJ4up2lkRHHVGR8C4UL7Fiz2yorBALj0TFVEaKTu6SoeqLZTGE3dWH47s2rWy431T1rfR+cTsFzBJvdExrenii6osTh0ZB7QKxixgIHs6L4JPgOsW7CHb0tycr3c/YDLbi9QLe711P/c0nQQ5BwdNZuahh66H73+F9QUD4Zsh1SjvlG1/jn9jgrnutTG1mQihoD5wdKg6GwGHQQ6Waw3oN+jxE2ji109ztfpbSPjaoyuE2hIp1axHrSo+NZQwz3aeCBIBIbJfC8RpWpN+/QvzQM9E/Z9Ec9Y9+SF/1e0RsRJqBF2GHkSg86kA0aTfqOCouuhlVOuru67awgKGJTZA== 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=rax/gfsUvROOqaFcXgWzSDZ1wlMTLC4DzkFtZsUNyw0=; b=Yux9kNHGlsjytVbK0uC+bXLSRHwTi+7zXDs8H1fsLxo1ogBx1tJfjf43mvGtquU2TuyauiuwfJ6N6jzJNkZpIdWxwTKUBVX0UBNxfXAed9Ti9RL+kyZAFDSP10DvapzsBklOhRimQ14XqVVqbxLftZZbPaiPmorWgqVE4dLTdGpLRERT0L37ARpUCveOrmugt7YN4yvRbcDaxUKqRhFoeKXpELLEu7XljpFyTeOtEB6uG1c4eBT3N6BoOU75dtKUwlGGIV15kfGVpVvagrKZ44wVfjcNL5YW/nKPoSxQkEMnkxwMYTrE1qqLOyE3S8yHLUdvhm5v3GSzS3Bc9+ETyQ== 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=rax/gfsUvROOqaFcXgWzSDZ1wlMTLC4DzkFtZsUNyw0=; b=tK/Y/RX7ZYtwzGfD3+shPLmckqqild3d16M/0TvBuSskcjaOPmvihpX56Rs0zkBYc9civcmBwirJFP8FhU9Sxzog2Z98fJ+VhI7ePNl0BWdp7oeCLP9IR+qGTWM/2dYXeFv8qDv78tQihdTTMO2akbW0O29jmDuS+nkqozvdj20= 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:22:01 +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:22:01 +0000 From: Raslan Darawsheh To: Matan Azrad , "dev@dpdk.org" CC: Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH] net/mlx5: add BlueField-2 device ID Thread-Index: AQHV4ohM95LexCtaWUi7dofEtHMsCKgg4SKggAATkICAAAL/kA== Date: Tue, 18 Feb 2020 13:22:00 +0000 Message-ID: References: <1581610302-15299-1-git-send-email-rasland@mellanox.com> In-Reply-To: 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: 9b9c67aa-b72c-49b8-2ba6-08d7b47589b3 x-ms-traffictypediagnostic: AM0PR05MB6290:|AM0PR05MB6290: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr 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)(346002)(136003)(39860400002)(396003)(376002)(366004)(189003)(199004)(110136005)(316002)(26005)(76116006)(186003)(7696005)(81156014)(81166006)(5660300002)(8676002)(66476007)(55016002)(66946007)(9686003)(64756008)(66556008)(66446008)(33656002)(478600001)(53546011)(52536014)(4326008)(86362001)(2906002)(6506007)(71200400001)(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: ldr2Luwv1t/4JP++rlK8Xb6uyuyhrGnndB65iqWoJIosojD1oaVtpb6x0/u6mZVrHwRPBIc34oL4HfEodqb5+3Ps4cYStgDrfOzDVOe7ko7wOsvobQ61gtqY6YMSG7CMRRYKkt87Y5tTah5axPzVaLyuzqk27BXypp6hyJ6a1Y9psxiK7F3YhzOIANSI+4UIzWL0VHBH2Okz80Qrs0uy6F47NfjCjtbADn62mnVa2yX7zrOnSIX92vGr07vQGohp246bnw2LyAWl7A9iURAm89Ykfrv87rmwHcu3FXcHKKRPKP5nsIeyoBpRGuYUiwuxxfBxQZ78svi8POnEps8iggKctD9WRIClMhtSyYhJ1o+qIVDKE6l/DuqXkmx96arN7Bg6JYFdCU5f4ImEV1ycOvwd/Aya77W5QR0KjeoTktlMr5wGQCcQWAazU7uFLdQE x-ms-exchange-antispam-messagedata: z4InB2epGT2OdS9H54yfvE8NVoWzZ7QY/MVvQm/L6TlnSAjEe5G8wJZLYo8D66jyOBKFj/Y699jJ9qP1I/4Roj3mOUPaDlsAvgEeipT6K7sP8ie5XDP+031u87cv7qXPUeuzgogG6oZs1p+VpDG7WA== 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: 9b9c67aa-b72c-49b8-2ba6-08d7b47589b3 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Feb 2020 13:22:00.9632 (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: z9mXbjew1coHE7v3YBALjBObmUect9L6UEOeq5Fr9TSh4WT47VAJqSEl87utDul0Xl8iIWu9SDUqwbtLKqraUQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB6290 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" Sure, will send a V2 now=20 Kindest regards, Raslan Darawsheh > -----Original Message----- > From: Matan Azrad > Sent: Tuesday, February 18, 2020 3:11 PM > To: Raslan Darawsheh ; Raslan Darawsheh > ; dev@dpdk.org > Cc: Thomas Monjalon > Subject: RE: [dpdk-dev] [PATCH] net/mlx5: add BlueField-2 device ID >=20 > Hi >=20 > This one should be added to the mlx5 vDPA driver too. >=20 > > -----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 > > > > 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 > > > > > > This adds new device id to the list of Mellanox devices that runs mlx= 5 > > > 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 > > > > Patch applied to next-net-mlx, > > > > Kindest regards, > > Raslan Darawsheh