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 EAAD645C6E for ; Sun, 3 Nov 2024 16:36:58 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 752DC4021F; Sun, 3 Nov 2024 16:36:58 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) by mails.dpdk.org (Postfix) with ESMTP id 69EC14014F for ; Sun, 3 Nov 2024 16:36:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1730648217; x=1762184217; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=omSajeKz1BQMulLnjwFnWCPW6QSE90zenIy1ZyLSeo4=; b=OxK1pHDYNewJ2jn8h8gEcrItfHPmoezXJRUTW/nDFM7aaIM53b3fehFQ JnuwVMd9HoXEidf/FjJgJ/yuF6+SRJnxNny+z6+di/ODcfbw3DihjrxRH Qtea7KAWofzzcPtQJJlfe6CRx63DxkTH7PVScrskP0C7AN9G3d0Ys9GnT +VEg4Fjo1DQTeutWq+WcNgkjdW8d0iQ6KMpkhAqWSQFLADeo019JHB+kW pzWrvtwJF8EcB+GcoFIgkojWTPSqDzTB5zWU42zt8ov0dvwCOiSBSN2sF LQDDm3hu86u6JMRDdZofQNby7klgMsftkQ5cPbcBRvov6nLexhlqVW+xs Q==; X-CSE-ConnectionGUID: P3PtkvzIQs2ZUMQKIOf6BA== X-CSE-MsgGUID: CU6TP5I8RY28+X02FkYDOQ== X-IronPort-AV: E=McAfee;i="6700,10204,11222"; a="41449975" X-IronPort-AV: E=Sophos;i="6.11,199,1725346800"; d="scan'208,217";a="41449975" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2024 07:36:55 -0800 X-CSE-ConnectionGUID: Ji2R39g+TWGEoz+CFdPfQQ== X-CSE-MsgGUID: aMqmUCajT5uGJaYKdI0Mag== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,255,1725346800"; d="scan'208,217";a="82949246" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmviesa006.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 03 Nov 2024 07:36:54 -0800 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Sun, 3 Nov 2024 07:36:54 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Sun, 3 Nov 2024 07:36:54 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.173) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Sun, 3 Nov 2024 07:36:53 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=bGhSg6nuQX0dU++5Wt09LLU1MJ7NzqF+5fCAngbTQXaa9OluVi1xShJgJ2J6tIFDvhlCBw9FoTT9Hlzg+9Y4n/Lk9C5bGnCvB+lo7jVK+EcynoP6sqTTr+eYCx6yKofCuPwa1DR0EsQxkzNtW30M/+Lcod55O6wAWmeXMVslwR6q7Ew5xMNVg2gZL9oFX+DYc73NUehdqSEDB52F5xFpzYce1qf7X/pmHXrE7FZetsRtUigOCMaJJItSy6JSKemJ1GBkGCl3eToKKMpZGPV6CwfkCgKFL9yIzKBD3+i7jVSrj150DLMPu5WGCVsH57IjiIMcoTtRRenK7kgGC84P4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=XhFpndzQr3A0C96ru+s4X50PDmK3dlttP2ak2BE0gDQ=; b=iouygBMJsz+jm+xSPxO24fi2DMH34CCk9y0oHzB8PvIQ3NIHY7CfuJi96QuSLNrhz0/5aNSyqWCeyA3ed6Sxn0gYo5nX6mMrHVL9Ep94QYU/JVJU5s7E/dJktzYfllbi5aQOtBZlkb8ORDB4moBxo1qhR3Z0CP7NgxUEX8qjFYObN/I0qwKcBNh3chrAmlhSIUhPcLWs5Mx3DovzWhMNJfAt8aTD1hmaeGILNWSwCfsldzB0pk+el739Xfl/raJe85QVBzG369T1gC+1s/o8LOG2LO16FdRa8sLTSQt71rMIeZFy8idqefKsmcb2qgyrE6VVSv2QhBzQ6q7S9qMmqw== 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 DM6PR11MB4593.namprd11.prod.outlook.com (2603:10b6:5:2a3::8) by CY5PR11MB6092.namprd11.prod.outlook.com (2603:10b6:930:2c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.29; Sun, 3 Nov 2024 15:36:51 +0000 Received: from DM6PR11MB4593.namprd11.prod.outlook.com ([fe80::2ae4:b6f8:a5b3:1b00]) by DM6PR11MB4593.namprd11.prod.outlook.com ([fe80::2ae4:b6f8:a5b3:1b00%3]) with mapi id 15.20.8114.028; Sun, 3 Nov 2024 15:36:51 +0000 From: "Wiles, Keith" To: Stephen Hemminger , cuyu tang CC: "users@dpdk.org" Subject: Re: Pktgen failing in a virtualbox virtual machine Thread-Topic: Pktgen failing in a virtualbox virtual machine Thread-Index: AQHbLRCA5bWN4b0SBEe0ZJ1q/ks/bbKkJ0cAgAGFRvg= Date: Sun, 3 Nov 2024 15:36:51 +0000 Message-ID: References: <55BFBAE329D6694E+feadbf99-bbe5-485b-952c-ba22b8815166@expoli.tech> <20241102090306.4a3f850f@hermes.local> In-Reply-To: <20241102090306.4a3f850f@hermes.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-reactions: allow 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: DM6PR11MB4593:EE_|CY5PR11MB6092:EE_ x-ms-office365-filtering-correlation-id: fb7f9786-d34f-49dd-a43c-08dcfc1d5665 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|376014|1800799024|38070700018|8096899003; x-microsoft-antispam-message-info: =?us-ascii?Q?mgx3nspRxf7YOv9S/iOcYrwhnJyM1KCHwZhOuyFqVFg5LtZlCPXUTZNCQaYO?= =?us-ascii?Q?otckPoe1zPeymOA3SpoMfCQQiOIyN7JIcnMvU89yZ/jNYP67ibgdx76jOz5i?= =?us-ascii?Q?SPJQUDbuwgBxEjfH188wESz9VYCKzQn5ehWP7qJXfdm7XfLJGJMzwL2lKcPM?= =?us-ascii?Q?cjvnT6zIlkcrGO4wQFZk2wPs2KBUiuRUueAo1uwY9XF4bb/ZSRLZYHhnNb8D?= =?us-ascii?Q?K8US1l6N0abZ/IFb+9YUKK5kG+0xkgkc+xaXJRb84fGrdO5oZpa/00DOOixO?= =?us-ascii?Q?9LLrtzpe3KUvtFh7uzZI5VlGA8/OYBlpQ9oBzFXBFZhiXrHpPOKqyY/Buqxb?= =?us-ascii?Q?A8j7nwH2gaWUFP6ooVMcwR3dVVLUW06lCNi++GikhdcFxHhhORXB2LXaVPDS?= =?us-ascii?Q?ak+12pHKvjhLJPGcOPmZmgZLxDn+8DCdXjL7u9z9BTIaQoF7NcJ5y8BCoMFj?= =?us-ascii?Q?TB3oZs35+OsnpettXeIJ+ryYOKTziCFPJ+kE0Z22lVcdwjAbo84I3g5zOb9l?= =?us-ascii?Q?Lt0PjMegOaebmpZdTsXvbtFovetdVNUeptkO0vwl4w4QZuklIlmTALhhl+Mw?= =?us-ascii?Q?Rn1bu+rfliMZHIEqYUIYLeNzQwIDZaXCIAHlfhyVFZjOV5es+WFMTQafmTMA?= =?us-ascii?Q?tHmASB9D7uef2yqRen41TSbdLNnvbg7121Cewwmx9TEpo8G14lQQgqYrCIXm?= =?us-ascii?Q?p4uQ3XjACPLet5KT89Ij5sDBQucoXU3R943WUAnEtE/oJqIhHfb1nHHNB6XF?= =?us-ascii?Q?i3yesDjleE7n5haGcseqeoxkS9FzqNXCwSMzt9rPnCeVuA7gLWAmXTjY85Ee?= =?us-ascii?Q?j4pOQF7+mu0TERZ8ioKEz2pg/V8qa0CWLgiqA+vue+DrRlC/T2qmLHqCQMNe?= =?us-ascii?Q?E7Bscwo7r2KpuVXX+OsxpYBPJEsJvd3se1th0ReJxQx8dP4G9SYJrFjZeIW8?= =?us-ascii?Q?e1ECrrGLQQtogbEmVTukVd6rzWsonvf0N/0I0TjZTS0qchJGqzRPzzZr93Qz?= =?us-ascii?Q?mZ/hc3oj6F96mdtpYOjGPA+1ekxDodg09SxDI0NAI0RfkFf96fpsjmb4Kelt?= =?us-ascii?Q?yH0ElqOdT4wK/wzz6cfzko/upxxwd7TWZwIf8fJkZeeOjWfqpxye72HjmHz7?= =?us-ascii?Q?WKl0iu66zc47GhnMQ9Z0F53twMRbR0Aad7rcxpT8g2msEPqLS0KkCaZRgpPp?= =?us-ascii?Q?cF72SsJujmXjKzh4l6JbppchAA8EEOjQd3L0eR3ejxqO19e00l1K0ph6IG8S?= =?us-ascii?Q?pEBhCteoeraYxuzWcUt4p3PPDr/OlpZyCbG9NZkIMoEW0793YQQdMTV0PSQk?= =?us-ascii?Q?f+xk6hQGoZk1lUPms8z2tjlI?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB4593.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024)(38070700018)(8096899003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?1XTDtxfIa9ix7E3dlTwwiO7V3BrNfWToOu3IQodf5lMTYbfxZrKxuY+49m4l?= =?us-ascii?Q?4bNdKSufgab9kJDjjVkPLWMOItv1F6An0hVMjkEfE4g0SIu4gCM7BRAEZCFJ?= =?us-ascii?Q?AGWErEKvUUxmPlG7mIDL7vMQ3pYAtDUslgMVYM2inx1av/yQpqDYomGFij0f?= =?us-ascii?Q?vIs4N8D28RVmHYkRzQpkeb2UDyJr6/3+2gvq68EqYOAPEuRzGPNHSneUMWXp?= =?us-ascii?Q?OKDzHZd4VPeXSs+7iMPJxTD3ZqzIfPqN2J4b5/p52FHzSKdn/ksM2mY/XJqn?= =?us-ascii?Q?w3FZsby6xiLQJTGr0eLLQeNxQLHz/NjcNxODzntK9gbk/ZyfvSdlYHnRf8o4?= =?us-ascii?Q?NktoUXYyTyYsOG9p74/57PFZRzupGpiejUFAZOQcx1qXC1D3mP29IHIwrJYx?= =?us-ascii?Q?6fAtEaRcJkNV73x33/p9R912qGPzzntOMrI9Cr9CxfppIixogzrcQQDusYlZ?= =?us-ascii?Q?ZOuENOgn1oO0U35h1Gf36QTULvurmZYDkzG0//aAKl9Lo/c7JBMnAeNvb45x?= =?us-ascii?Q?zPfBz8uHMHfzlKQYcfMVw99v7SjC2SjCNuBnp95tftAXM3KWZ9p7MWEQRkgm?= =?us-ascii?Q?D4YAUYLGtoV0Tn7dsd1ItTr+u+lPwl2a+JLOfc4utdNw15ubzn3eG/2E8Y18?= =?us-ascii?Q?fdVWd33V7oARdUtdt2M1GNbRLRE+6gR9erjZfxIVM3KsGbYYZNP2GYXA0yUx?= =?us-ascii?Q?b3ckKt/ExSjRPlJCGvdElLiNmY2d9tbxP23Y336mc6coOh1K8ujv45k8B+wy?= =?us-ascii?Q?7yRSFbZTURNCBGvaAv0s2O4kZ4TMgOL96PvzXX4lLMkRYphMXvroqlIfNLIO?= =?us-ascii?Q?7LeBsBQeUstxHGEnsf9iGtMsy1p5VdBEOmP3NxblB9BvIKQSMAHRfDSWp59B?= =?us-ascii?Q?JLID3wW8GBGFwosDON52/K8bqWCeW13yl7yXQfezVMl0j8DwgdUBbRdK8Jlc?= =?us-ascii?Q?1cUuWXnR/mg4lXYhga6NIvIB361hNPbSZc2UbcdyUNgnyxTG+7R7Hr/8stMl?= =?us-ascii?Q?VG9kGKRxIQNqmzdUBnBW6dSMA5JjfgHgP+H2JNQxTDdfTvNac2bev8QqF7f5?= =?us-ascii?Q?/IoO18P9Mz461yZLE1ySLimEDACLGCUIvwHlA33u6ath4xRoYv1/oW+dt8SD?= =?us-ascii?Q?gIOuW0bdpdcaI4o2HM0w4iNtOK0yEmaAIYQAjnelT3FTsMmudEa4OAenyql9?= =?us-ascii?Q?c4gSRSdxHeDoDwdtzPEWs8KPs28PAiGe8ZkQ1vvpUpHP1dTisY9DP7m0uoST?= =?us-ascii?Q?D7seU18pV+GCJhYa9JpsxCbIc8UD7hEiIr4//FO7NUf2kak78IjPaUY50oin?= =?us-ascii?Q?n7H2irOlVbGApB8tglkd0FFxyRJ1R3VGhpuTu93GVhGCNpiZSlb2pFwShZRr?= =?us-ascii?Q?yCw7Cth+mwglNW67rufE96GVGWtdaQUlTuYHwB/a/YRJ82peNsO16l6hY/7F?= =?us-ascii?Q?2QMC8SMsdVxPOjQXypG6o3t26pGi+zCFl1zm//j0HP7pLOFxZn/rj3xiImP+?= =?us-ascii?Q?LPFltoytZAFO09GCGBhHdVQOVL7YUVzrB9gK74XjUUp+rMzHb7bOeVmOXRSu?= =?us-ascii?Q?z6AzwFbJc4a31nhXDj3rzBh6sd4wg5suANBcV11hEjsJjPrKOUvN9n2wFZ6w?= =?us-ascii?Q?+A=3D=3D?= Content-Type: multipart/alternative; boundary="_000_DM6PR11MB459333716EBE6F878F9A7A74FE502DM6PR11MB4593namp_" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB4593.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fb7f9786-d34f-49dd-a43c-08dcfc1d5665 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Nov 2024 15:36:51.2922 (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: 9ZmdnLLs+qKkqQ+RMQGceUnZG8FNlkpLESRaGqA/YoMYPicigTs9kmsIsp6LjIZ+9JGNnkWjHo7z/Ti2AVyqOw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR11MB6092 X-OriginatorOrg: intel.com X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --_000_DM6PR11MB459333716EBE6F878F9A7A74FE502DM6PR11MB4593namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > I'm having segfault issues when running pktgen in a virtualbox virtual > machine. > > Here's what I run it in and some details about running the commands, > > and what I can do to get it to run correctly > > > pktgen version: git main brunch > > # git log > commit cc1d4c606dea3939adf75cc02de0f7cf2b28cf1e (HEAD -> main, tag: > pktgen-24.07.0, origin/main, origin/HEAD) > > dpdk version: dpdk-24.07 > > [root@localhost dpdk-24.07]# ./usertools/dpdk-devbind.py -s > > Network devices using DPDK-compatible driver > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 0000:00:09.0 '82540EM Gigabit Ethernet Controller 100e' drv=3Digb_uio > unused=3De1000,vfio-pci > 0000:00:0a.0 '82540EM Gigabit Ethernet Controller 100e' drv=3Digb_uio > unused=3De1000,vfio-pci > > pktgen run command: > > gdb --args /root/pktgen-dpdk/usr/local/bin/pktgen -m 1.0 > > Port DevName Index NUMA PCI Information Src MAC > Promiscuous > Thread 1 "pktgen" received signal SIGSEGV, Segmentation fault. > 0x000000000043c38b in dump_device_info () at ../app/pktgen-port-cfg.c:102 > 102 pkt =3D &pinfo->seq_pkt[SINGLE_PKT]; > > (gdb) bt > #0 0x000000000043c38b in dump_device_info () at > ../app/pktgen-port-cfg.c:102 > #1 0x000000000043e3cf in pktgen_config_ports () at > ../app/pktgen-port-cfg.c:325 > #2 0x000000000043aa23 in main (argc=3D1, argv=3D0x7fffffffe2d8) at > ../app/pktgen-main.c:465 > > (gdb) n > 89 bus =3D rte_bus_find_by_device(dev.device); > (gdb) > 90 if (bus && !strcmp(rte_bus_name(bus), "pci")) { > (gdb) > 94 vend[0] =3D device[0] =3D '\0'; > (gdb) > 95 sscanf(rte_dev_bus_info(dev.device), "vendor_id=3D%4s= , > device_id=3D%4s", vend, device); > (gdb) > 97 rte_eth_dev_get_name_by_port(i, name); > (gdb) > 98 snprintf(buff, sizeof(buff), "%s:%s/%s", vend, > device, rte_dev_name(dev.device)); > (gdb) > 90 if (bus && !strcmp(rte_bus_name(bus), "pci")) { > (gdb) > 101 pinfo =3D l2p_get_port_pinfo(i); > (gdb) > 102 pkt =3D &pinfo->seq_pkt[SINGLE_PKT]; > (gdb) > > Thread 1 "pktgen" received signal SIGSEGV, Segmentation fault. > 0x000000000043c38b in dump_device_info () at ../app/pktgen-port-cfg.c:102 > 102 pkt =3D &pinfo->seq_pkt[SINGLE_PKT]; > (gdb) p pinfo > $3 =3D (port_info_t *) 0x0 > (gdb) > > > Pktgen no longer has a maintainer, so it considered abandoned at this point= . What does DPDK startup show? The problem is probably that virtualbox doesn'= t fully emulate the Intel NIC and the DPDK PMD doesn't like that. Hi Stephen, (sorry if formatting is bad as MacOS Outlook has some issues with plain tex= t replies) I still maintain Pktgen, but mostly from GitHub issues @ https://github.com= /pktgen/Pktgen-DPDK I do have very limited time, so not always the fastest = responses. DPDK gets a lot of emails and sometimes I miss these emails (need to improv= e my emails rule filter). I do update dpdk.org Pktgen repo when I can, but it seemed like most of the= requests were coming from GitHub. This person created an issue at Pktgen GitHub and also posted to this group= at the same time. I did respond to his issue and try to work out a solutio= n. I never test using a VM or containers, so it is difficult to help them s= ometimes. If you wish you can remove Pktgen from dpdk.org, but if you do please inclu= de a link to the GitHub repository. Thank you. --_000_DM6PR11MB459333716EBE6F878F9A7A74FE502DM6PR11MB4593namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

> I'm having segfault issues when running pktgen in a virtualbox= virtual
> machine.
>
> Here's what I run it in and some details about running the commands, >
> and what I can do to get it to run correctly
>
>
> pktgen version: git main brunch
>
> # git log
> commit cc1d4c606dea3939adf75cc02de0f7cf2b28cf1e (HEAD -> main, tag:=
> pktgen-24.07.0, origin/main, origin/HEAD)
>
> dpdk version: dpdk-24.07
>
> [root@localhost dpdk-24.07]# ./usertools/dpdk-devbind.py -s
>
> Network devices using DPDK-compatible driver
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> 0000:00:09.0 '82540EM Gigabit Ethernet Controller 100e' drv=3Digb_uio =
> unused=3De1000,vfio-pci
> 0000:00:0a.0 '82540EM Gigabit Ethernet Controller 100e' drv=3Digb_uio =
> unused=3De1000,vfio-pci
>
> pktgen run command:
>
> gdb --args /root/pktgen-dpdk/usr/local/bin/pktgen -m 1.0
>
> Port DevName          Ind= ex NUMA PCI Information   Src MAC     &n= bsp;    
> Promiscuous
> Thread 1 "pktgen" received signal SIGSEGV, Segmentation faul= t.
> 0x000000000043c38b in dump_device_info () at ../app/pktgen-port-cfg.c:= 102
> 102           &= nbsp; pkt   =3D &pinfo->seq_pkt[SINGLE_PKT];
>
> (gdb) bt
> #0  0x000000000043c38b in dump_device_info () at
> ../app/pktgen-port-cfg.c:102
> #1  0x000000000043e3cf in pktgen_config_ports () at
> ../app/pktgen-port-cfg.c:325
> #2  0x000000000043aa23 in main (argc=3D1, argv=3D0x7fffffffe2d8) = at
> ../app/pktgen-main.c:465
>
> (gdb) n
> 89           &n= bsp;      bus =3D rte_bus_find_by_device(dev.devic= e);
> (gdb)
> 90           &n= bsp;  if (bus && !strcmp(rte_bus_name(bus), "pci")) = {
> (gdb)
> 94           &n= bsp;      vend[0] =3D device[0] =3D '\0';
> (gdb)
> 95           &n= bsp;      sscanf(rte_dev_bus_info(dev.device), &qu= ot;vendor_id=3D%4s,
> device_id=3D%4s", vend, device);
> (gdb)
> 97           &n= bsp;      rte_eth_dev_get_name_by_port(i, name); > (gdb)
> 98           &n= bsp;      snprintf(buff, sizeof(buff), "%s:%s= /%s", vend,
> device, rte_dev_name(dev.device));
> (gdb)
> 90           &n= bsp;  if (bus && !strcmp(rte_bus_name(bus), "pci")) = {
> (gdb)
> 101           &= nbsp; pinfo =3D l2p_get_port_pinfo(i);
> (gdb)
> 102           &= nbsp; pkt   =3D &pinfo->seq_pkt[SINGLE_PKT];
> (gdb)
>
> Thread 1 "pktgen" received signal SIGSEGV, Segmentation faul= t.
> 0x000000000043c38b in dump_device_info () at ../app/pktgen-port-cfg.c:= 102
> 102           &= nbsp; pkt   =3D &pinfo->seq_pkt[SINGLE_PKT];
> (gdb) p pinfo
> $3 =3D (port_info_t *) 0x0
> (gdb)
>
>
>

Pktgen no longer has a maintainer, so it considered abandoned at this point= .
What does DPDK startup show? The problem is probably that virtualbox doesn'= t fully
emulate the Intel NIC and the DPDK PMD doesn't like that.
=

 

Hi Stephen,

(sorry if formatting is bad as MacOS Outlook has som= e issues with plain text replies)

 

I still maintain Pktgen, but mostly from GitHub issu= es @ https://github.com/pktgen/Pktgen-DPDK I do have very limited time, so n= ot always the fastest responses.

DPDK gets a lot of emails and sometimes I miss these= emails (need to improve my emails rule filter).

I do update dpdk.org Pktgen repo when I can, but it = seemed like most of the requests were coming from GitHub.

 

This person created an issue at Pktgen GitHub and al= so posted to this group at the same time. I did respond to his issue and tr= y to work out a solution. I never test using a VM or containers, so it is d= ifficult to help them sometimes.

 

If you wish you can remove Pktgen from dpdk.org, but= if you do please include a link to the GitHub repository.

Thank you.


 

--_000_DM6PR11MB459333716EBE6F878F9A7A74FE502DM6PR11MB4593namp_--