* [dpdk-dev] Vmxnet3-pmd not receiving ANY packets
@ 2014-05-14 13:57 HS
2014-05-14 14:32 ` Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: HS @ 2014-05-14 13:57 UTC (permalink / raw)
To: dev
Hi,
I'm having a problem with vmxnet-pmd. When I bind vmxnet3 vNIC to
vmxnet3-pmd, I cannot receive ANY packets from vmxnet-pmd.
I'm running dpdk-1.6.0r2 inside ESXi 5.5 VM. The VM has kernel
3.11.0-12-generic.
One thing I notice is that ESXi host does not pass "pdpe1gb" CPU flag to
guest VMs, so I have to use 2MB hugepages inside the VM. Hope that's not
an issue.
Can anyone give me help how to troubleshoot this issue? Will be much
appreciated.
Below is the output of igb_uio_bind.py and l2fwd:
There are two physical ports used by DPDK:
"0000:0b:00.0" (Port 0) is bound to ixgbe pmd. I can receive packets from
this port.
"0000:13:00.0" (Port 1) is bound to vmxnet3_pmd. I cannot receive ANY
packets from this port.
===================== igb_uio_bind.py output ========================
$ igb_uio_bind.py --status
Network devices using IGB_UIO driver
====================================
0000:0b:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection' drv=igb_uio
unused=
0000:13:00.0 'VMXNET3 Ethernet Controller' drv=igb_uio unused=
Network devices using kernel driver
===================================
0000:02:01.0 '82545EM Gigabit Ethernet Controller (Copper)' if=eth2
drv=e1000 unused=igb_uio *Active*
Other network devices
=====================
<none>
===================== l2fwd output ========================
binding physical ports to uio
0000:0b:00.0 already bound to driver igb_uio, skipping
0000:13:00.0 already bound to driver igb_uio, skipping
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 0 on socket 0
EAL: Detected lcore 3 as core 1 on socket 0
EAL: Skip lcore 4 (not detected)
EAL: Skip lcore 5 (not detected)
EAL: Skip lcore 6 (not detected)
EAL: Skip lcore 7 (not detected)
EAL: Skip lcore 8 (not detected)
EAL: Skip lcore 9 (not detected)
EAL: Skip lcore 10 (not detected)
EAL: Skip lcore 11 (not detected)
EAL: Skip lcore 12 (not detected)
EAL: Skip lcore 13 (not detected)
EAL: Skip lcore 14 (not detected)
EAL: Skip lcore 15 (not detected)
EAL: Skip lcore 16 (not detected)
EAL: Skip lcore 17 (not detected)
EAL: Skip lcore 18 (not detected)
EAL: Skip lcore 19 (not detected)
EAL: Skip lcore 20 (not detected)
EAL: Skip lcore 21 (not detected)
EAL: Skip lcore 22 (not detected)
EAL: Skip lcore 23 (not detected)
EAL: Skip lcore 24 (not detected)
EAL: Skip lcore 25 (not detected)
EAL: Skip lcore 26 (not detected)
EAL: Skip lcore 27 (not detected)
EAL: Skip lcore 28 (not detected)
EAL: Skip lcore 29 (not detected)
EAL: Skip lcore 30 (not detected)
EAL: Skip lcore 31 (not detected)
EAL: Skip lcore 32 (not detected)
EAL: Skip lcore 33 (not detected)
EAL: Skip lcore 34 (not detected)
EAL: Skip lcore 35 (not detected)
EAL: Skip lcore 36 (not detected)
EAL: Skip lcore 37 (not detected)
EAL: Skip lcore 38 (not detected)
EAL: Skip lcore 39 (not detected)
EAL: Skip lcore 40 (not detected)
EAL: Skip lcore 41 (not detected)
EAL: Skip lcore 42 (not detected)
EAL: Skip lcore 43 (not detected)
EAL: Skip lcore 44 (not detected)
EAL: Skip lcore 45 (not detected)
EAL: Skip lcore 46 (not detected)
EAL: Skip lcore 47 (not detected)
EAL: Skip lcore 48 (not detected)
EAL: Skip lcore 49 (not detected)
EAL: Skip lcore 50 (not detected)
EAL: Skip lcore 51 (not detected)
EAL: Skip lcore 52 (not detected)
EAL: Skip lcore 53 (not detected)
EAL: Skip lcore 54 (not detected)
EAL: Skip lcore 55 (not detected)
EAL: Skip lcore 56 (not detected)
EAL: Skip lcore 57 (not detected)
EAL: Skip lcore 58 (not detected)
EAL: Skip lcore 59 (not detected)
EAL: Skip lcore 60 (not detected)
EAL: Skip lcore 61 (not detected)
EAL: Skip lcore 62 (not detected)
EAL: Skip lcore 63 (not detected)
EAL: Setting up memory...
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7fb375c00000 (size = 0x200000)
EAL: Ask a virtual area of 0x7fc00000 bytes
EAL: Virtual area found at 0x7fb2f5e00000 (size = 0x7fc00000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7fb2f5a00000 (size = 0x200000)
EAL: Requesting 1024 pages of size 2MB from socket 0
EAL: TSC frequency is ~3332387 KHz
EAL: Master core 0 is ready (tid=77308840)
EAL: Core 3 is ready (tid=f3df0700)
EAL: Core 2 is ready (tid=f45f1700)
EAL: Core 1 is ready (tid=f4df2700)
EAL: PCI device 0000:02:01.0 on NUMA socket -1
EAL: probe driver: 8086:100f rte_em_pmd
EAL: 0000:02:01.0 not managed by UIO driver, skipping
EAL: PCI device 0000:0b:00.0 on NUMA socket -1
EAL: probe driver: 8086:10fb rte_ixgbe_pmd
EAL: PCI memory mapped at 0x7fb377252000
EAL: PCI memory mapped at 0x7fb37724e000
EAL: PCI device 0000:13:00.0 on NUMA socket -1
EAL: probe driver: 15ad:7b0 rte_vmxnet3_pmd
EAL: PCI memory mapped at 0x7fb37730c000
EAL: PCI memory mapped at 0x7fb37724d000
EAL: PCI memory mapped at 0x7fb37724b000
Lcore 0: RX port 0
Lcore 1: RX port 1
Initializing port 0... rx_queue_setup done
rx_queue_setup done
done:
Port 0, MAC address: 90:E2:BA:5B:E9:E8
Initializing port 1... rx_queue_setup done
rx_queue_setup done
done:
Port 1, MAC address: 00:0C:29:1F:4A:B5
Checking link status.done
Port 0 Link Up - speed 10000 Mbps - full-duplex
Port 1 Link Up - speed 10000 Mbps - full-duplex
L2FWD: entering main loop on lcore 1
L2FWD: -- lcoreid=1 portid=1
L2FWD: lcore 3 has nothing to do
L2FWD: entering main loop on lcore 0
L2FWD: -- lcoreid=0 portid=0
Port statistics ====================================
Statistics for port 0 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Statistics for port 1 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Statistics for port 2 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Statistics for port 3 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Statistics for port 4 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Statistics for port 5 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Statistics for port 6 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Statistics for port 7 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Statistics for port 8 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Statistics for port 9 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Statistics for port 10 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Statistics for port 11 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Statistics for port 12 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Statistics for port 13 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Statistics for port 14 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Statistics for port 15 ------------------------------
Packets sent: 0
Packets received: 0
Packets dropped: 0
Aggregate statistics ===============================
Total packets sent: 0
Total packets received: 0
Total packets dropped: 0
====================================================
L2FWD: lcore 2 has nothing to do
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-14 14:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-14 13:57 [dpdk-dev] Vmxnet3-pmd not receiving ANY packets HS
2014-05-14 14:32 ` Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).