-
Bug
-
Resolution: Open
-
Medium
-
None
-
None
-
None
Host OS: Ubuntu 14.04.04 LTS
Guest OS: Ubuntu 14.04.03 LTS
VPP: Latest from git
How to Reproduce the issue:
1. Create a guest VM with a SRIOV VF as its VNIC.
2. Install VPP on the guest VM.
3. start VPP then it will take over the SRIOV VF.
4. Assign IP address, say 192.168.121.3/24 to the VF and bring it up.
5. In host, assign IP address with the same subnet to the according physical nic port with which the SRIOV VF is created. Say the IP address is 192.168.121.7/24.
6. Ping 192.168.121.3 from the host on that NIC port. Then you will see on "host unreachable" message.
7. In guest VM, run "vppctl trace add dpdk-input 100"
8. When run "vppctl show trace", there is no packet trace.
9. after
DBGvpp# set interface mtu 1500 TenGigabitEthernet2/10/0
DBGvpp# set interface mtu 1500 TenGigabitEthernet2/10/1
I can now ping the interface.
DPDK support on the same setup:
I have tested if DPDK can support SRIOV on the same setup. I have installed DPDK (16.04) on the same guest VM. The igb_uio can take over the VF. After that, I run l2fwd application, and the l2fwd application can rx and tx packets, which indicates that DPDK is working fine