[dpdk-users] testpmd can't start vmxnet3 nic

2019-02-26 Thread 宋捷
Hi All, I try to using testpmd with virtual NICs (e1000 and vmxnet3) in Esxi VM. I bound one e1000 and one vmxnet3 into igb uio module, it’s Ok. But testpmd will be exit with below message: EAL: Detected 4 lcore(s) EAL: Detected 1 NUMA nodes EAL: Multi-process socket

[dpdk-users] 答复: How to make virtual NIC (virtio and vmxnet3) support IP header checksum?

2019-02-26 Thread 宋捷
Thanks, I run testpmd for checking tx_offload capabilities, Virtio do not support IP checksum. vmxnet3 can't start by testpmd, I need send another email about this. Thanks Jie -邮件原件- 发件人: Stephen Hemminger [mailto:step...@networkplumber.org] 发送时间: 2019年2月26日 23:48 收件人: 宋捷 抄送:

Re: [dpdk-users] How to make virtual NIC (virtio and vmxnet3) support IP header checksum?

2019-02-26 Thread Stephen Hemminger
On Tue, 26 Feb 2019 16:29:00 +0800 宋捷 wrote: > Hi All > > I test the DPDK virtual nics both in Esxi and KVM, I used DPDK vmxnet3, > virtio and e1000 nic. I need create IP packets and TX them. > > > > I set the rte_mbuf as below before TX. > > mb->l2_len = len(out_eth) > > mb->l3_len

Re: [dpdk-users] testpmd and jumbo frames

2019-02-26 Thread Filip Janiszewski
Hi Rami, The part that I forgot to clarify is that I need to test the chaining of mbufs while sending/receiving JF, so I would like to left unchanged the mbuf size and trigger a JF transmission by means of chaining the segments, do you think this is possible with testpmd? Thanks Il 26/02/19

Re: [dpdk-users] testpmd and jumbo frames

2019-02-26 Thread Rami Rosen
Hi, Filip I believe that the --max-pkt-len=9600 has an effect of setting the DEV_RX_OFFLOAD_JUMBO_FRAME flag, and not setting the mbuf seg size. If you want to set the mbuf segment size, you need to use the "--mbuf-size" testpmd parameter. For example, add "--mbuf-size=1" and then try "set

Re: [dpdk-users] Guide on DPDK test command

2019-02-26 Thread Trahe, Fiona
Hi > -Original Message- > From: users [mailto:users-boun...@dpdk.org] On Behalf Of Changchun Zhang > Sent: Monday, February 25, 2019 11:58 PM > To: users@dpdk.org > Subject: [dpdk-users] Guide on DPDK test command > > Hi Gurus, > > > > It is seen that the dpdk provides unit test tool

[dpdk-users] How to make virtual NIC (virtio and vmxnet3) support IP header checksum?

2019-02-26 Thread 宋捷
Hi All I test the DPDK virtual nics both in Esxi and KVM, I used DPDK vmxnet3, virtio and e1000 nic. I need create IP packets and TX them. I set the rte_mbuf as below before TX. mb->l2_len = len(out_eth) mb->l3_len = len(out_ip) mb->ol_flags |= PKT_TX_IPV4 | PKT_TX_IP_CSUM It