DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] facing issue with testpmd with ovs in dpdk17.0.2
@ 2020-12-21 17:30 gaurav maheshwari
  0 siblings, 0 replies; only message in thread
From: gaurav maheshwari @ 2020-12-21 17:30 UTC (permalink / raw)
  To: dev

Hi,

We are running testpmd with 150MB(2M huge pages) with OVS DPDK (17.0.2) but
ran into issues as pmd interfaces are shown as link down.


./testpmd -c 0x3 -n 4 *--socket-mem 150* --no-pci
--file-prefix=virtio_user-testpmd
--vdev=virtio_user0,mac=00:01:02:03:04:03,path=/var/run/openvswitch/l3_h_ge_1_0_0
--vdev=virtio_user1,mac=00:01:02:03:04:05,path=/var/run/openvswitch/l3_h_ge_1_0_1
-- -i --txqflags=0xf00 --disable-hw-vlan --mbuf-size=16000
--total-num-mbufs=2048

root@:~# ovs-ofctl dump-ports-desc ovs-sys-br
OFPST_PORT_DESC reply (xid=0x2):
 1(dpdk0): addr:94:f7:ad:a5:40:50
     config:     0
     state:      0
     current:    100MB-FD
     speed: 100 Mbps now, 0 Mbps max
 2(dpdk1): addr:94:f7:ad:a5:40:51
     config:     0
     state:      0
     current:    100MB-FD
     speed: 100 Mbps now, 0 Mbps max
 3(dpdk2): addr:94:f7:ad:a5:40:52
     config:     0
     state:      0
     current:    100MB-FD
     speed: 100 Mbps now, 0 Mbps max
 4(dpdk3): addr:94:f7:ad:a5:40:53
     config:     0
     state:      0
     current:    100MB-FD
     speed: 100 Mbps now, 0 Mbps max
 5(xdsl_eth0): addr:2a:27:23:b4:2d:f6
     config:     0
     state:      0
     current:    10GB-FD COPPER
     speed: 10000 Mbps now, 0 Mbps max
 *6(l3_h_ge_1_0_0): addr:00:00:00:00:00:00*
*     config:     0*
*     state:      LINK_DOWN*
*     speed: 0 Mbps now, 0 Mbps max*
* 7(l3_h_ge_1_0_1): addr:00:00:00:00:00:00*
*     config:     0*
*     state:      LINK_DOWN*
*     speed: 0 Mbps now, 0 Mbps max*
* LOCAL(ovs-sys-br): addr:94:f7:ad:a5:40:50*
     config:     PORT_DOWN
     state:      LINK_DOWN
     current:    10MB-FD COPPER
     speed: 10 Mbps now, 0 Mbps max

Same thing works fine with 1024m ( 1G hugepage). Our mbuf doesn't change,
it is around 35m in both cases.
/testpmd -c 0x3 -n 4 *--socket-mem 1024* --no-pci
--file-prefix=virtio_user-testpmd
--vdev=virtio_user0,mac=00:01:02:03:04:03,path=/var/run/openvswitch/l3_h_ge_1_0_0
--vdev=virtio_user1,mac=00:01:02:03:04:05,path=/var/run/openvswitch/l3_h_ge_1_0_1
-- -i --txqflags=0xf00 --disable-hw-vlan --mbuf-size=16000
--total-num-mbufs=2048    --rxq=1 --txq=1

root@####:~# ovs-ofctl dump-ports-desc ovs-sys-br
OFPST_PORT_DESC reply (xid=0x2):
 1(dpdk0): addr:94:f7:ad:a5:40:50
     config:     0
     state:      0
     current:    100MB-FD
     speed: 100 Mbps now, 0 Mbps max
 2(dpdk1): addr:94:f7:ad:a5:40:51
     config:     0
     state:      0
     current:    100MB-FD
     speed: 100 Mbps now, 0 Mbps max
 3(dpdk2): addr:94:f7:ad:a5:40:52
     config:     0
     state:      0
     current:    100MB-FD
     speed: 100 Mbps now, 0 Mbps max
 4(dpdk3): addr:94:f7:ad:a5:40:53
     config:     0
     state:      0
     current:    100MB-FD
     speed: 100 Mbps now, 0 Mbps max
 5(xdsl_eth0): addr:2a:27:23:b4:2d:f6
     config:     0
     state:      0
     current:    10GB-FD COPPER
     speed: 10000 Mbps now, 0 Mbps max
 6(l3_h_ge_1_0_0): addr:00:00:00:00:00:00
     config:     0
     state:      0
     speed: 0 Mbps now, 0 Mbps max
 7(l3_h_ge_1_0_1): addr:00:00:00:00:00:00
     config:     0
     state:      0
     speed: 0 Mbps now, 0 Mbps max
 LOCAL(ovs-sys-br): addr:94:f7:ad:a5:40:50
     config:     PORT_DOWN
     state:      LINK_DOWN
     current:    10MB-FD COPPER
     speed: 10 Mbps now, 0 Mbps max


Is there some argument missing in testpmd, as in the non working case queue
is getting disabled.

Regards,
Gaurav

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-21 17:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-21 17:30 [dpdk-dev] facing issue with testpmd with ovs in dpdk17.0.2 gaurav maheshwari

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).