From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from pps03.cites.illinois.edu (pps03.cites.illinois.edu [192.17.82.70]) by dpdk.org (Postfix) with ESMTP id 71E5A2B9F for ; Fri, 11 Mar 2016 19:46:35 +0100 (CET) Received: from cex1316.ad.uillinois.edu (cex1316.cites.illinois.edu [64.22.177.41]) by pps03.cites.illinois.edu (8.15.0.59/8.15.0.59) with ESMTPS id u2BIkY6Y012269 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Fri, 11 Mar 2016 12:46:34 -0600 Received: from cex1316.ad.uillinois.edu (64.22.177.41) by cex1316.ad.uillinois.edu (64.22.177.41) with Microsoft SMTP Server (TLS) id 15.0.1156.6; Fri, 11 Mar 2016 12:46:33 -0600 Received: from CITESHT3.ad.uillinois.edu (192.17.212.153) by cex1316.ad.uillinois.edu (64.22.177.41) with Microsoft SMTP Server (TLS) id 15.0.1156.6 via Frontend Transport; Fri, 11 Mar 2016 12:46:33 -0600 Received: from CHIMBX2.ad.uillinois.edu ([169.254.7.134]) by CITESHT3.ad.uillinois.edu ([128.174.34.208]) with mapi id 14.03.0266.001; Fri, 11 Mar 2016 12:46:33 -0600 From: "Douglas, Frederick E" To: "users@dpdk.org" Thread-Topic: no driver found for pcap-based virtual NIC (eth_pcap0) Thread-Index: AdF7wcUSe8LxvaFoQ8iF5pG8eCCKog== Date: Fri, 11 Mar 2016 18:46:32 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.17.212.217] MIME-Version: 1.0 X-Spam-Score: 0 X-Spam-Details: rule=cautious_plus_nq_notspam policy=cautious_plus_nq score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1601100000 definitions=main-1603110258 X-Spam-OrigSender: fed2@illinois.edu X-Spam-Bar: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] no driver found for pcap-based virtual NIC (eth_pcap0) X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2016 18:46:35 -0000 I'm new to DPDK. I've gotten the basics working, but I'm having trouble wit= h the .pcap file-based virtual interface. The EAL is failing to set things = up when I ask it to use a pcap virtual interface, with: --vdev 'eth_pcap0,rx_pcap=3D/full/path/to/iperf_udp.pcap,tx_pcap=3D/full/pa= th/to/NEW.pcap' It says "EAL: no driver found for eth_pcap0; EAL: failed to initialize eth_= pcap0 device; PANIC in rte_eal_init(): Cannot init pmd devices". Everything works fine with the all-in-memory virtual interfaces (--vdev=3De= th_ring0 --vdev=3Deth_ring1). I even confirmed (with chunks of code from ht= tps://github.com/marty90/DPDK-Dump) that I can get testpmd to use a pcap_du= mper_t to dump the traffic it processes to a .pcap file. There doesn't seem to be anything in the setup.sh consolidated setup menu a= bout pcap, and the part of the manual describing the pcap vdev (http://dpdk= .org/doc/guides/nics/pcap_ring.html#libpcap-based-pmd) doesn't mention anyt= hing that needs to be done - in fact it's in the manual right together with= the in-memory ring-based driver. I found a drivers/net/pcap directory with= a Makefile that had never been made, but nothing changed after making it. In case any of this might matter: =3DI'm trying to run testpmd (with some slight modifications, which work as= expected with the ring vdev) =3DUbuntu 14.04; DPDK configured for x86_64-native-linuxapp-gcc =3D1024 2MiB hugepages So, does anyone have any idea? I have a feeling I'm missing something reall= y simple... but I'm out of ideas about what that might be!