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 2A73FA0562 for ; Mon, 12 Apr 2021 19:42:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A30CD141288; Mon, 12 Apr 2021 19:42:25 +0200 (CEST) Received: from clt-mbsout-02.mbs.boeing.net (clt-mbsout-02.mbs.boeing.net [130.76.144.163]) by mails.dpdk.org (Postfix) with ESMTP id B344F141279 for ; Mon, 12 Apr 2021 19:42:23 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by clt-mbsout-02.mbs.boeing.net (8.15.2/8.15.2/DOWNSTREAM_MBSOUT) with SMTP id 13CHgLSE022157; Mon, 12 Apr 2021 13:42:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boeing.com; s=boeing-s1912; t=1618249342; bh=+8SZ45tZ/XVU2g9pvGZIwxjXtVBbOJfaxtpX3gRuLcM=; h=From:To:Subject:Date:From; b=fJYJxyPMVAPawO+utSs1azBjoqfpaEvy+i1Qkw0l2bfyN6kC7t0swyWkbmKdtXW5y McAnW47adLBZUsGkuMJTKLImOANpxzObMQPWRE5KCQA2P8znyB1Vqsi1xODsYb12+/ 5Irw6p5d2MFJYHyimKVTbIgL3mXdHHOlr4DlpU+LYvb9JETJ12sbFkHJqk3N8totyU UywbCNjDK3EWi1e632QEw7K7Sp1VgBMQ9qhFRGAl0BW5CPjCS7eXqBGs0BbJU7xdJa 029/fGggHal64RxIWEdocZA/lI/b0l02tFAVHl6Fj1ZUYVE7ByeGBT+wa/9+cOM8gc vPmzQTbHn/HqQ== Received: from XCH16-07-08.nos.boeing.com (xch16-07-08.nos.boeing.com [144.115.66.110]) by clt-mbsout-02.mbs.boeing.net (8.15.2/8.15.2/8.15.2/UPSTREAM_MBSOUT) with ESMTPS id 13CHgBXU022081 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=OK) for ; Mon, 12 Apr 2021 13:42:11 -0400 Received: from XCH16-07-10.nos.boeing.com (144.115.66.112) by XCH16-07-08.nos.boeing.com (144.115.66.110) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.2176.2; Mon, 12 Apr 2021 10:42:10 -0700 Received: from XCH16-07-10.nos.boeing.com ([fe80::1522:f068:5766:53b5]) by XCH16-07-10.nos.boeing.com ([fe80::1522:f068:5766:53b5%2]) with mapi id 15.01.2176.009; Mon, 12 Apr 2021 10:42:10 -0700 From: "Templin (US), Fred L" To: "users@dpdk.org" Thread-Topic: Problems using DPDK within CORE emulations running on Ubuntu 18.04 VMs Thread-Index: AdcvwwAMg48EUHY3SVa8YIHW6LEruw== Date: Mon, 12 Apr 2021 17:42:10 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [137.137.12.6] x-tm-snts-smtp: 1D6B73C918BD1AC839EDA73BD2D89E8DD5524C8CC79DA7BD1E96CB03211C55DC2000:8 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-TM-AS-GCONF: 00 Subject: [dpdk-users] Problems using DPDK within CORE emulations running on Ubuntu 18.04 VMs 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 Sender: "users" Hi, I am running Ubuntu 18.04 in a VM running on VirtualBox. I have built a= nd installed DPDK-20.11 from sources and had no troubles building by following the Getting Started Guide for Linux instructions: http://doc.dpdk.org/guides/linux_gsg/intro.html Next, within the Ubuntu VM I run the CORE network emulator: https://www.nrl.navy.mil/Our-Work/Areas-of-Research/Information-Technology/= NCS/CORE/ I have a simple two-node network setup with two CORE vnodes connected via a network switch, and verified that I can ping between the two nodes. Now, I want to experiment with the DPDK-20.11 "ip_fragmentation" and "ip_reassembly" example programs (which I was able to build successfully) but it appears that these example programs require ports to be mapped. So, I skipped ahead to Section 5 of the Getting Started Guide for Linux ("Linux Drivers") and tried to follow the instructions in Section 5.5. on "Binding and Unbinding Network Ports to/from the Kernel Modules" by typing commands into one of the CORE vnode shell windows. The text at the end of this message shows the commands I typed and the output I was shown in response. In particular, the "dpdk-devbind.py --status" script does not appear to show a usable map of my CORE vnode network interfaces, and attempts to bind were unsuccessful. Has anyone ever run DPDK out of a CORE vnode before and/or can you tell me what steps are needed to be able to bind CORE vnode interfaces so that they can be used by DPDK? Or, is DPDK simply incompatible with virtualization environments. Another question - can DPDK be run over loopback interfaces? Thanks - Fred --- Script started on 2021-04-12 09:54:19-0700 root@n1: pwd /home/fltemplin/src/DPDK/dpdk-20.11/usertools root@n1: ip link sho 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DE= FAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 5: eth0@if6: mtu 1500 qdisc noqueue state= UP mode DEFAULT group default qlen 1000 link/ether 00:00:00:aa:00:00 brd ff:ff:ff:ff:ff:ff link-netnsid 0 root@n1: sudo modprobe vfio-pci root@n1: ip link sho 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DE= FAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 5: eth0@if6: mtu 1500 qdisc noqueue state= UP mode DEFAULT group default qlen 1000 link/ether 00:00:00:aa:00:00 brd ff:ff:ff:ff:ff:ff link-netnsid 0 root@n1: ./dpdk-devbind.py --status Network devices using kernel 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 0000:00:03.0 '82540EM Gigabit Ethernet Controller 100e' if=3D drv=3De1000 u= nused=3Dvfio-pci=20 0000:00:08.0 '82540EM Gigabit Ethernet Controller 100e' if=3D drv=3De1000 u= nused=3Dvfio-pci=20 No 'Baseband' devices detected =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 No 'Crypto' devices detected =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 No 'Eventdev' devices detected =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 No 'Mempool' devices detected =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 No 'Compress' devices detected =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 No 'Misc (rawdev)' devices detected =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 No 'Regex' devices detected =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 root@n1: exit Script done on 2021-04-12 09:55:41-0700