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 8067E427E1; Mon, 20 Mar 2023 13:59:05 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 11EA440A7F; Mon, 20 Mar 2023 13:59:05 +0100 (CET) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id B3293406BC; Mon, 20 Mar 2023 13:59:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679317144; x=1710853144; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=OK8g4k860AuNBsk0Z0ahNeB6S+OmEudcCp3pH55RSJ4=; b=DXDGTuNGqkc+fhyvO5TkMbTpyHg9N0Vjvh6oDlTSz+1arWUmS16HNWAU 9KTl9TcIW5CrFVgznfM1D1ioStSKWdvdLDsGYffi27DNRQwVJny6Lq3nI fIWFzd0i6KKC0tjOl6LIjMpzrVdFHWnZ43YdwLldt57ZZ0gcclB7DSybF dleV4kWyVoOQ4lGDHoQVRlF3QB10eNcgr4lMQ3EHW4DMjzFKcewvFku+W 2y5+rd68cLqlmYPsmNR5VHDVy8kOD3w9JOMOv0khaezJ9LaJ5DJm/ipaq zmMcQgPOGeqF5mDJd0QUiJ7kT/tMhFSilK3RHRVyfvGGBGb4CnLTP3w/4 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10654"; a="401226224" X-IronPort-AV: E=Sophos;i="5.98,274,1673942400"; d="scan'208";a="401226224" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2023 05:59:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10654"; a="658328782" X-IronPort-AV: E=Sophos;i="5.98,274,1673942400"; d="scan'208";a="658328782" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga006.jf.intel.com with ESMTP; 20 Mar 2023 05:59:02 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 20 Mar 2023 05:59:01 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Mon, 20 Mar 2023 05:59:01 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.40) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.21; Mon, 20 Mar 2023 05:59:01 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IRBbTmK+IESBvZMSS97EasSFhzvFNtgkAe34hU1bVBFzANmtJ3BdKsdkBcMXfUWgzjj4C0hlCrsnXnA+9WFAEuHsJEeMOQ2E1bwALYU5gci4YIlnKtT/hs5y03YZNpI1QVoiMxGpND7VheyMT58vkryHs8mhzgaX0ogyo7XtOOYcUZbvMFuk9Islmi0uE8MGtoImlI7Gh+paYMHA9iVZr/uxJitNH84/doDhHFZbdg7JUluRVi9YN73oKvhbdV/nN5eomZ2m9eT5f9gslT4fFbOMSe4ZuPhpb7SngShOaDgbHx1ADstrEebV5nftJ3VmYCQ+E29eijyC9Fon1cWr6Q== 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=7uIOjHuyPtaI4vjlVDVr/ksiWv6gEFyVz87kOnuMWNI=; b=e1vrQZpFGui+FmaS2sJwAzgfmyNmIbF/m2Ea9blQikS0K6y/KsSgXnK2whP6fk2Ujf6kR4jeXucXFF/UwloUyA9k9LBtEHpWr19440OYvI0A2KK4YeOAUivtr3v6TM9mFd1paphNt/6MMCmlUenASBHGMt7bIzwDOK33P9JyqkAfnNfYgkHKQPALzyZrJYAdOnTnyRP2azIQ3Ewny9cMSU3M4cOLwwO7oClDiqQyppIfk7Lnqq/YYUBxF+vUFI3Qmf9wEFEFLyy9EVXQ4q5NVIB02c2i0iqKzkWWDceVqCXlJyDrkEAcQj+kApc4zjlU4T8T6+LdI8JCnMUnzfeAIA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from DM4PR11MB5994.namprd11.prod.outlook.com (2603:10b6:8:5d::20) by SN7PR11MB7440.namprd11.prod.outlook.com (2603:10b6:806:340::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.37; Mon, 20 Mar 2023 12:58:54 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::2c5d:49cd:a9b4:f764]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::2c5d:49cd:a9b4:f764%7]) with mapi id 15.20.6178.037; Mon, 20 Mar 2023 12:58:58 +0000 From: "Zhang, Qi Z" To: "Xu, Rosen" , "Huang, Wei" , "dev@dpdk.org" , "thomas@monjalon.net" , "david.marchand@redhat.com" CC: "stable@dpdk.org" , "Zhang, Tianfei" Subject: RE: [PATCH v1] raw/ifpga: remove virtual device unplug operation Thread-Topic: [PATCH v1] raw/ifpga: remove virtual device unplug operation Thread-Index: AQHZWHHuhk1dI0QRtkC9QnNVU3oIrq8DQAaAgABma7A= Date: Mon, 20 Mar 2023 12:58:57 +0000 Message-ID: References: <20230316204445.360330-1-wei.huang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM4PR11MB5994:EE_|SN7PR11MB7440:EE_ x-ms-office365-filtering-correlation-id: 241b234d-182f-4c1f-d4ef-08db2942de6d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vmj4syff3uR7b+QN4ibwhiKnDBHdR86H/g4SHbn/EvpoN5L3LOUobdxIstQeEanjwg5c12O8xv5kYjAM/lYHMekM9EkRIvOS4bFAukC5Dw0RAJdxCraY1WAeWbFRPIMVWiJjYAzpnjUV3XDXTQCfg8Slwm7bG7DedWJGpnhdybhR7WHmTL1o7hCYQr0t3ALx4qb+6YS5rsiqDw3sI3z4RqT+XSdbsg4Upittiv1Tz4nhHLSKlok0yMUVLyCUJMdx/E5nvV+usEHDYAZsAlleN5HeeeyB8wH2wUlZGf9+r56OJ0t31lIwBJZz1JhdHW7UghvjXYoUurImF/dVnipBuykpyXk5+1F3AbIpHXwbUSkDWvB+U42B5Fse29O1+Ygs240Ij90uW6OxgoQJ/PIIXHDxg6TEBYTpqA94SHMBeg7my4RnaF0NRhZI3+UrSsMdGhPVY9XqPQm/2JoQ1xYYtGGfcMeiCJ0qzrUrsdO3g5JJtjo9/0iz8agUNCMuu8vSqGKkYUKGnvsLm5EIbM2LfdXFzLIYRk2HqLGZana4BdVMM9h3JAaBs3Nc7HAn+E2MmHsE2AFzigoqCTEdJlaudj0dbtYBtopyrWJtGRpbNy4nDYz5Gxd4WZDY/86v91UqloQhk1n7Ee0Coy4YVle9zDK8x9Ee14gtu0Bcm4YkzalXYthJSQ5cWl1X8GJRddPSgZocf56BVEtsHwfZ6YChKg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5994.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(346002)(376002)(136003)(39860400002)(366004)(396003)(451199018)(83380400001)(38070700005)(55016003)(86362001)(38100700002)(122000001)(8676002)(82960400001)(64756008)(41300700001)(66446008)(66556008)(66476007)(52536014)(76116006)(2906002)(66946007)(8936002)(4326008)(478600001)(5660300002)(6506007)(33656002)(26005)(53546011)(71200400001)(9686003)(7696005)(186003)(316002)(54906003)(110136005)(107886003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?b+H+xK0zYcdfDvEU7GUdigTtWStlWPBOCmh7IfhDkKHIUaznfA8ZVi/hbvYZ?= =?us-ascii?Q?ff3OXVKp30NuP7WT7e6yRCZJdiLVH6rFE74w8tydQtV0Np9pJhdxZ39MJazl?= =?us-ascii?Q?Y8UprXR7GVap+krIX+WR28KdgsrHvtUGaamZXnDq16yoM3gv1pJr6YhXhjSy?= =?us-ascii?Q?RJ1gQIm4UVsboSvANtNJ2nwsjepB7xNmaRVnQVQUyaaRW731B6j/Hukq42GT?= =?us-ascii?Q?LZxdK+DgrQEmV3VvoaCW1CEAwRLS+OE+jAUqfduyu6SY/5FcpB2wB3yRLu06?= =?us-ascii?Q?pp3TxmMMOv42gYXShs7w7nTsjru/gjIkNnHYsUTpg70ivmwHh7e6dq/HvZoS?= =?us-ascii?Q?7ZZ0ZDIlXpHTdleGomPadzG9cVqqUT7fjbvCqVedamkK0ihyPuMgS6ujO6uf?= =?us-ascii?Q?jDvDkRMBcBHjDrmseAd06parpo1cMnxdNA9wuCXkl3p7FmwLFVyuAPQNo+h0?= =?us-ascii?Q?cShxBXz189IOCBcaPXx47nIMxx3xXnUnX8ghg2os0wUMtiQ0RQmJI6nWedsU?= =?us-ascii?Q?zPhfWACh3zet26+idvUl56km2rt7hs7y4Y2rdkphVu6rTXxYqhN33zEvOAXY?= =?us-ascii?Q?MPLgirYaEUcCHU2RvnQpjavOAY9KYhJMT6Ml2ULHR1jF/BxqkvN2N6AhLAec?= =?us-ascii?Q?q56X3vANkRI+w0KhIeSVdm+6/XSz8YlZQbW3jOGV1/0qqYjSdo+bJd2KaGhy?= =?us-ascii?Q?ntz+QobwpzsK3viLlouUh9ghGbnME4M9DJI5W+9XMub6xTZhFgwDp6zfEQYV?= =?us-ascii?Q?5GZAvrc+EPbvPLngP8LByuBGmpPiVEeQvzy6Xw3irk4x5HPiMWsttx0ouMhO?= =?us-ascii?Q?DADzu9LdkOGbwGPyE5XfpWqvKJrjRciXLO19M9WiU5CGNIPI9zyXoCwfcdyu?= =?us-ascii?Q?H7FsO5tVNVE/uXig3aym+8CDI8RNd8w88V8HKuWo418JYtd/TAk7bpqx5k58?= =?us-ascii?Q?GEhZCwnWe47tRR8CJzfdRWSyKp0ku4smC3Bqp2KbBP+JQ2aerAA4obLQ6NTU?= =?us-ascii?Q?kdBztmMV7WnA/jylq9vj+MeM0Y+JyHeDwMbxeS+OKg7ZJeuPSYaY2Fg0lKEu?= =?us-ascii?Q?INwtgEdqwWl5SF/+94FUM7YDlwqPnw1UtjBBFkoKX4QFGrTj1QycMvfnpj2z?= =?us-ascii?Q?TzDjvVk8CHu/p/vHzeuG5xs1b0HfuiSEooDMMNZ8+Njt0M7Bv6RmYMO6xSje?= =?us-ascii?Q?06ruU12MSwmCzi2BK1CWe7Kwtm1QVmRzZOB8AvuxuVtHIovgyynYGTOqOzbC?= =?us-ascii?Q?eub+55uF3oan/1FPOH8qXIrCsrk9FMv4vBSuXT/diZnL3+KYzVbq8sD6wdYx?= =?us-ascii?Q?/81kFrEgbXYhGrOOYU4A0UaKUqa6o4D4h35+gj+/XDJTzquLUAKp1Ktc3WQB?= =?us-ascii?Q?3Az4ZlovtT4/A2sPWnP9GuadUiIBcMAISUW19qunQ+uHaQGfxulZCLoAFpoJ?= =?us-ascii?Q?wcm/b42Z8OFzIebjo6yjVo/hOzS01T65AP6UhRGTttpSFIjAVkaA4N6aqJFl?= =?us-ascii?Q?qWnVqPxmsZDAI8qI6P/JuJgDILmgOApxKgBID0UgFGb0SAhxLLOUrHVHJkG7?= =?us-ascii?Q?Uc7tDVQuk9TSmB+1gk+QKKGPHjZPqEvXhH9waaLF?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5994.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 241b234d-182f-4c1f-d4ef-08db2942de6d X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Mar 2023 12:58:57.8752 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ZvDxfAULLBaGjB8xFhEIHgYNvCQkObr5fZduJ3/V0do6DYj1T/aNur6DhWkjUZLyd0s5i7LmPe0/9SGIKvAYzQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB7440 X-OriginatorOrg: intel.com 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 > -----Original Message----- > From: Xu, Rosen > Sent: Monday, March 20, 2023 2:52 PM > To: Huang, Wei ; dev@dpdk.org; > thomas@monjalon.net; david.marchand@redhat.com > Cc: stable@dpdk.org; Zhang, Tianfei ; Zhang, Qi = Z > > Subject: RE: [PATCH v1] raw/ifpga: remove virtual device unplug operation >=20 > Hi, >=20 > > -----Original Message----- > > From: Huang, Wei > > Sent: Friday, March 17, 2023 4:45 AM > > To: dev@dpdk.org; thomas@monjalon.net; david.marchand@redhat.com > > Cc: stable@dpdk.org; Xu, Rosen ; Zhang, Tianfei > > ; Zhang, Qi Z ; Huang, > > Wei > > Subject: [PATCH v1] raw/ifpga: remove virtual device unplug operation > > > > VDEV bus has implemented cleanup() function to perform cleanup for > > devices on the bus during eal_cleanup(), so there is no need for ifpga > > driver to record virtual devices and unplug them. > > > > Signed-off-by: Wei Huang > > --- > > drivers/raw/ifpga/ifpga_rawdev.c | 99 > > ++++------------------------------------ > > drivers/raw/ifpga/ifpga_rawdev.h | 2 - > > 2 files changed, 9 insertions(+), 92 deletions(-) > > > > diff --git a/drivers/raw/ifpga/ifpga_rawdev.c > > b/drivers/raw/ifpga/ifpga_rawdev.c > > index 1020adc..8e6e70f 100644 > > --- a/drivers/raw/ifpga/ifpga_rawdev.c > > +++ b/drivers/raw/ifpga/ifpga_rawdev.c > > @@ -140,8 +140,6 @@ struct ifpga_rawdev * > > for (i =3D 0; i < IFPGA_MAX_IRQ; i++) > > dev->intr_handle[i] =3D NULL; > > dev->poll_enabled =3D 0; > > - for (i =3D 0; i < IFPGA_MAX_VDEV; i++) > > - dev->vdev_name[i] =3D NULL; > > > > return dev; > > } > > @@ -749,17 +747,11 @@ static int set_surprise_link_check_aer( > > struct ifpga_rawdev *ifpga_rdev =3D NULL; > > struct opae_adapter *adapter; > > struct opae_manager *mgr; > > - char *vdev_name =3D NULL; > > - int i, ret =3D 0; > > + int ret =3D 0; > > > > if (dev) { > > ifpga_rdev =3D ifpga_rawdev_get(dev); > > if (ifpga_rdev) { > > - for (i =3D 0; i < IFPGA_MAX_VDEV; i++) { > > - vdev_name =3D ifpga_rdev->vdev_name[i]; > > - if (vdev_name) > > - rte_vdev_uninit(vdev_name); > > - } > > ifpga_monitor_stop_func(ifpga_rdev); > > ifpga_rdev->rawdev =3D NULL; > > } > > @@ -1778,104 +1770,31 @@ static int ifpga_rawdev_get_string_arg(const > > char *key __rte_unused, static int ifpga_cfg_probe(struct > > rte_vdev_device > > *vdev) { > > - struct rte_rawdev *rawdev =3D NULL; > > - struct ifpga_rawdev *ifpga_dev; > > struct ifpga_vdev_args args; > > char dev_name[RTE_RAWDEV_NAME_MAX_LEN]; > > - const char *vdev_name =3D NULL; > > - int i, n, ret =3D 0; > > - > > - vdev_name =3D rte_vdev_device_name(vdev); > > - if (!vdev_name) > > - return -EINVAL; > > + int ret =3D 0; > > > > - IFPGA_RAWDEV_PMD_INFO("probe ifpga virtual device %s", > > vdev_name); > > + IFPGA_RAWDEV_PMD_INFO("probe ifpga virtual device %s", > > + rte_vdev_device_name(vdev)); > > > > ret =3D ifpga_vdev_parse_devargs(vdev->device.devargs, &args); > > if (ret) > > return ret; > > > > memset(dev_name, 0, sizeof(dev_name)); > > - snprintf(dev_name, RTE_RAWDEV_NAME_MAX_LEN, "IFPGA:%s", > > args.bdf); > > - rawdev =3D rte_rawdev_pmd_get_named_dev(dev_name); > > - if (!rawdev) > > - return -ENODEV; > > - ifpga_dev =3D ifpga_rawdev_get(rawdev); > > - if (!ifpga_dev) > > - return -ENODEV; > > - > > - for (i =3D 0; i < IFPGA_MAX_VDEV; i++) { > > - if (ifpga_dev->vdev_name[i] =3D=3D NULL) { > > - n =3D strlen(vdev_name) + 1; > > - ifpga_dev->vdev_name[i] =3D rte_malloc(NULL, n, 0); > > - if (ifpga_dev->vdev_name[i] =3D=3D NULL) > > - return -ENOMEM; > > - strlcpy(ifpga_dev->vdev_name[i], vdev_name, n); > > - break; > > - } > > - } > > - > > - if (i >=3D IFPGA_MAX_VDEV) { > > - IFPGA_RAWDEV_PMD_ERR("Can't create more virtual > > device!"); > > - return -ENOENT; > > - } > > - > > snprintf(dev_name, RTE_RAWDEV_NAME_MAX_LEN, "%d|%s", > > args.port, args.bdf); > > - ret =3D rte_eal_hotplug_add(RTE_STR(IFPGA_BUS_NAME), > > - dev_name, vdev->device.devargs->args); > > - if (ret) { > > - rte_free(ifpga_dev->vdev_name[i]); > > - ifpga_dev->vdev_name[i] =3D NULL; > > - } > > - > > - return ret; > > + return rte_eal_hotplug_add(RTE_STR(IFPGA_BUS_NAME), > > dev_name, > > + vdev->device.devargs->args); > > } > > > > static int > > ifpga_cfg_remove(struct rte_vdev_device *vdev) { > > - struct rte_rawdev *rawdev =3D NULL; > > - struct ifpga_rawdev *ifpga_dev; > > - struct ifpga_vdev_args args; > > - char dev_name[RTE_RAWDEV_NAME_MAX_LEN]; > > - const char *vdev_name =3D NULL; > > - char *tmp_vdev =3D NULL; > > - int i, ret =3D 0; > > - > > - vdev_name =3D rte_vdev_device_name(vdev); > > - if (!vdev_name) > > - return -EINVAL; > > + IFPGA_RAWDEV_PMD_INFO("remove ifpga virtual device %s", > > + rte_vdev_device_name(vdev)); > > > > - IFPGA_RAWDEV_PMD_INFO("remove ifpga virtual device %s", > > vdev_name); > > - > > - ret =3D ifpga_vdev_parse_devargs(vdev->device.devargs, &args); > > - if (ret) > > - return ret; > > - > > - memset(dev_name, 0, sizeof(dev_name)); > > - snprintf(dev_name, RTE_RAWDEV_NAME_MAX_LEN, "IFPGA:%s", > > args.bdf); > > - rawdev =3D rte_rawdev_pmd_get_named_dev(dev_name); > > - if (!rawdev) > > - return -ENODEV; > > - ifpga_dev =3D ifpga_rawdev_get(rawdev); > > - if (!ifpga_dev) > > - return -ENODEV; > > - > > - snprintf(dev_name, RTE_RAWDEV_NAME_MAX_LEN, "%d|%s", > > - args.port, args.bdf); > > - ret =3D rte_eal_hotplug_remove(RTE_STR(IFPGA_BUS_NAME), > > dev_name); > > - > > - for (i =3D 0; i < IFPGA_MAX_VDEV; i++) { > > - tmp_vdev =3D ifpga_dev->vdev_name[i]; > > - if (tmp_vdev && !strcmp(tmp_vdev, vdev_name)) { > > - free(tmp_vdev); > > - ifpga_dev->vdev_name[i] =3D NULL; > > - break; > > - } > > - } > > - > > - return ret; > > + return 0; > > } > > > > static struct rte_vdev_driver ifpga_cfg_driver =3D { diff --git > > a/drivers/raw/ifpga/ifpga_rawdev.h b/drivers/raw/ifpga/ifpga_rawdev.h > > index 0fb66cb..1c128c7 100644 > > --- a/drivers/raw/ifpga/ifpga_rawdev.h > > +++ b/drivers/raw/ifpga/ifpga_rawdev.h > > @@ -65,8 +65,6 @@ struct ifpga_rawdev { > > void *intr_handle[IFPGA_MAX_IRQ]; > > /* enable monitor thread poll device's sensors or not */ > > int poll_enabled; > > - /* name of virtual devices created on raw device */ > > - char *vdev_name[IFPGA_MAX_VDEV]; > > }; > > > > struct ifpga_vdev_args { > > -- > > 1.8.3.1 >=20 > Acked-by: Rosen Xu Applied to dpdk-next-net-intel. Thanks Qi