From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C824AA0C43; Fri, 1 Oct 2021 01:25:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 500B14067A; Fri, 1 Oct 2021 01:25:34 +0200 (CEST) Received: from na01-obe.outbound.protection.outlook.com (mail-oln040093003010.outbound.protection.outlook.com [40.93.3.10]) by mails.dpdk.org (Postfix) with ESMTP id 6C12E40040 for ; Fri, 1 Oct 2021 01:25:33 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ME8u+TRGRmEEgtkEjOutQuG3sbMPcawBtavUT/vU/U0nPkem+FaczKNSzU7DBwT1tGlBqMk1XApl9usZMKUMge2Vn6JoJzYSjEgyWuda2fWfSOnMkq8Q5cy6NUQf4NhvFrptab+rAyA+wrYCOc4AvaFsEzSeSu6AgeZqd3jnHEZlCkmlJfXg0hDcXmHGaXwT9h9XRqKWOXJ4bt9Dj4eRr7VJKbmi1GE4j6Ubm3y45CeeXNtKlGkDOm6iI3bjDq67eeX9xNG8ewxuIh+D0SAzxoEmWdd1zlwK1CjMab4PyRSAXjg6edavXYcCwdPfNTya40YPIJhWeqpXIr2QrRoO3Q== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gs19FagiJRVlxvW4N7fz8Om74KNETQDAbQr4i6wATRY=; b=k7hgXSsUMuC8mPc6hhJwpsmNXf9bOO4A+vSbke52a42Nhlcj74cizfcjYYdLLgmjXV2b5M3lfAu2jEEpdg+o+02X2gjWx/mnQAMgbQ+s/l+c1+vbLefTMD0WjQrZHbVzbuOkVW3MRlyJzR/HilIf+T1kGo382Xs7QCMJejpG1UfMEypFHpf41e/DQsLI2sK9a18bq4Mo7cOmiEwmiGVRNEA7p98jIO3EU1IFZkBshy1v+cf7kia9Ko7QLDRWnqA5WK+CuDpDSlrifh0rnPhzAAgrrBr0ViL1Ok64QUmI+DcDNRURSd02LMyIdXtuV5Niw1S4yJ+S7vghu9MqYSStzw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gs19FagiJRVlxvW4N7fz8Om74KNETQDAbQr4i6wATRY=; b=FBGqWACVWDrcx/CeutMOE1XY8fTSGjNhQyPEwzSpgSxk4tlLirl5g78o2NlFK9UopNSoYhBgJVcVOnsAKBJA1Zrc9Me6syLQynBbZCBkyFlZziDyOykrhUZOHcNcHeDuS7OxmqZ7lZcJR6fCPSUHEvj+2lbU50/tTqF7QAMAYNo= Received: from BY5PR21MB1506.namprd21.prod.outlook.com (2603:10b6:a03:23d::12) by BYAPR21MB1190.namprd21.prod.outlook.com (2603:10b6:a03:105::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.3; Thu, 30 Sep 2021 23:25:31 +0000 Received: from BY5PR21MB1506.namprd21.prod.outlook.com ([fe80::c5e9:9018:e64f:c330]) by BY5PR21MB1506.namprd21.prod.outlook.com ([fe80::c5e9:9018:e64f:c330%7]) with mapi id 15.20.4587.011; Thu, 30 Sep 2021 23:25:31 +0000 From: Long Li To: Srikanth Kaka , Stephen Hemminger CC: "dev@dpdk.org" , Vag Singh , Anand Thulasiram Thread-Topic: [PATCH 00/11] add FreeBSD support to VMBUS & NetVSC PMDs Thread-Index: AQHXs6WXebKtkhazSkmKaXiQtiZEaqu9PQ9A Date: Thu, 30 Sep 2021 23:25:31 +0000 Message-ID: References: <20210927134231.11177-1-srikanth.k@oneconvergence.com> In-Reply-To: <20210927134231.11177-1-srikanth.k@oneconvergence.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=ed3ed319-f5e7-4626-80cf-5156d86ffcc9; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-09-30T23:23:29Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c313cef1-d2ff-45f6-d7c7-08d98469984f x-ms-traffictypediagnostic: BYAPR21MB1190: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: WCI4RzVEPudwoAVEJCJtZvxa+maSVn/akoG7xS5rL7qPryBq5Hl4ayXzBeHjHTgCFapl3FKmmOgNck4+qHXAvpgWg8eVxFdY7DxXCJC/BPdR9DikxzMrDQ6ZBgAGfInUIkOzaUvnjlb6BEzymAddpXGKQd3ZYgUj8SnDSWLep57KoEJk2nKzEw6q79E4XCKxAVs7dXnepfejtX7GVOT1lDpOHnf1XE6OGKv/R9BwXJU7rcSxB6k37rODJxewh/TWaYVyfFTGaVr0EL8Wx8eTZCrSwYLWcS6MV9c09MX4XJri2yBl7J/wFecTlm/tZDSJIaXejO7BYFDoVxk5EnHtFcs65oTDRUiafGG80j5pPNt3ZFUNcO45g4J81huiEIdy+x8j4B18hjBF+rdAqfOuc0UpW5LpEKVGzZ1V4J651P4Jegh6K7KggRQQVK8brVHbdcEGaE31ehZG9Qs2RNv/arcKJPIOPVkMFXgn7O2CCKiPOobO+2C14Pr/9H/WquBMBMspRr09d75bapig4xACMPvj4anS8bzLsMYf7ey1Y/KJ4FdudxI0cIuGghAwlQmUrC1YbOxxqn9R3eKsfXsyIzPzDlMb1GmKFtdHMViF0wt5ybhCKTKyfvO7dWpcpww257IVViSpCRHSQ9t6g1lB1KxQFulH3j4evSlVorPi2lCXvhKu4bxRg48CrEd08+3zzx1m88bagDkaE9ExKAx3hS3ZMvn46WetvddxfpOMOjZgsi7vRI1XD4ctxbKGBOo8 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR21MB1506.namprd21.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(86362001)(122000001)(66556008)(8676002)(83380400001)(5660300002)(26005)(82960400001)(82950400001)(6636002)(8936002)(38100700002)(6506007)(38070700005)(66476007)(66946007)(8990500004)(66446008)(7696005)(10290500003)(71200400001)(316002)(186003)(2906002)(55016002)(110136005)(33656002)(54906003)(52536014)(966005)(508600001)(64756008)(76116006)(9686003)(4326008)(10090945008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?on5FuwcIQP2/fbZzbqbV/LCAlTcTomkOEDJ6KxMzW97t3foXZjGHLzrx5hRx?= =?us-ascii?Q?RGpQhd3xREpaAEOEgczm0Oqh1fDiSSdJq58U2OxhywPBZvWSFbRvg5ZqWX0V?= =?us-ascii?Q?N/lO3aQ+bDeKPGRT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rCczwOgGQIOb?= =?us-ascii?Q?qXFr2xfd/XDq4cnyyuHdvPeYx30cMBamPl9wdvmr8DjqrikasR0setZIdB5Z?= =?us-ascii?Q?uv9vXoUKmZXRFaZywSYVGWvIyHePtHnvzg3YtVNyXC/iAN4MwIr4v23lx6T4?= =?us-ascii?Q?Wf7jFCu1DWo299OyDtUrLFsBbHYYJRoejKH3fPQyzzIqX62MXKnD/vQp02xE?= =?us-ascii?Q?6rPUlK2/2qBtifnjw57SlHkEXM60Ddoph0+XEg/EDlKzChOIYpfPZ2zWtcSG?= =?us-ascii?Q?QEOCvtISd7fgFy8Kdok1PJREqEb0ZWxJvIEAW/6StgwrYbv5OGRDHvWirS3M?= =?us-ascii?Q?aRPqjFxIVoiTPZXAGNxMSctb?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR21MB1506.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c313cef1-d2ff-45f6-d7c7-08d98469984f X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Sep 2021 23:25:31.0750 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: RYmEcDgu0CD2iVyVK9Hq97AOJbaWBmva4qAiWrgp1sSTqgBFNHReDvXttNdTbKKtdAdmmf7n5q33LPbQM8946A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR21MB1190 Subject: Re: [dpdk-dev] [PATCH 00/11] add FreeBSD support to VMBUS & NetVSC PMDs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" > Subject: [PATCH 00/11] add FreeBSD support to VMBUS & NetVSC PMDs >=20 > [You don't often get email from srikanth.k@oneconvergence.com. Learn > why this is important at http://aka.ms/LearnAboutSenderIdentification.] >=20 > This patch series adds support to VMBUS & NetVSC PMDs run on FreeBSD >=20 > Srikanth Kaka (11): > bus/vmbus: stub for FreeBSD support > bus/vmbus: scan and get the network device > bus/vmbus: handle mapping of device resources > bus/vmbus: get device resource values using sysctl > bus/vmbus: open subchannels > net/netvsc: request HV_UIO to open sub-channels > bus/vmbus: map the subchannel resources > net/netvsc: moving event monitoring support > net/netvsc: moving hotplug retry to OS dir > bus/vmbus: add meson suport for FreeBSD OS > net/netvsc: add meson support for FreeBSD >=20 > drivers/bus/vmbus/freebsd/vmbus_bus.c | 296 +++++++++++++++ > drivers/bus/vmbus/freebsd/vmbus_uio.c | 499 > +++++++++++++++++++++++++ > drivers/bus/vmbus/linux/vmbus_uio.c | 8 + > drivers/bus/vmbus/meson.build | 6 +- > drivers/bus/vmbus/private.h | 1 + > drivers/bus/vmbus/rte_bus_vmbus.h | 10 + > drivers/bus/vmbus/version.map | 1 + > drivers/bus/vmbus/vmbus_channel.c | 5 + > drivers/net/netvsc/freebsd/hn_os.c | 22 ++ > drivers/net/netvsc/freebsd/meson.build | 6 + > drivers/net/netvsc/hn_ethdev.c | 95 +---- > drivers/net/netvsc/hn_os.h | 8 + > drivers/net/netvsc/linux/hn_os.c | 111 ++++++ > drivers/net/netvsc/linux/meson.build | 6 + > drivers/net/netvsc/meson.build | 4 + > 15 files changed, 989 insertions(+), 89 deletions(-) create mode 100644 > drivers/bus/vmbus/freebsd/vmbus_bus.c > create mode 100644 drivers/bus/vmbus/freebsd/vmbus_uio.c > create mode 100644 drivers/net/netvsc/freebsd/hn_os.c > create mode 100644 drivers/net/netvsc/freebsd/meson.build > create mode 100644 drivers/net/netvsc/hn_os.h create mode 100644 > drivers/net/netvsc/linux/hn_os.c create mode 100644 > drivers/net/netvsc/linux/meson.build >=20 > -- > 2.30.2 Can you also update ./MAINTAINERS for FreeBSD? Long