> -----Original Message----- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Xin Li > Sent: Wednesday, September 10, 2014 10:19 PM > To: dev > Subject: [dpdk-dev] l2fwd does not send packets > > Hi, > > The l2fwd sample application in my environment does not send packets > through the TX port. I run DPDK inside a KVM guest. The NIC ports are VFs > assigned to the VM by pci passthrough. > > Environment: > > Host OS: ubuntu 14.04 x86_64 > NIC: intel x540-t1 > Guest OS: ubuntu 14.04 x86_64 > DPDK: v1.7.0 > > Some findings: > > 1. l2fwd reports 511 packets sent when max tx descriptor is 512, The number > changes to 1023 if the max tx descriptor is set to 1024. > > 2. On the receiver side, no packet captured. > > Anyone know the issue and the corresponding fix? Thanks. >
One thing that is worth checking is that the source mac address of the packets being sent matches that of the VF interface, as the packets can't be sent otherwise. /Bruce