From: Kyle Larose <eomereadig@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] vhost-net stops sending to virito pmd -- already fixed?
Date: Fri, 11 Sep 2015 12:32:57 -0400 [thread overview]
Message-ID: <CAMFWN9k9euifKwLv0E6Z_F1r-nXdo9RdidDw6rnqa63miRc2Vg@mail.gmail.com> (raw)
Hi all,
I've been debugging an issue we see occasionally when under load. We have a
non-DPDK linux-bridge host sending to our guest via vhost-net. The guest is
running a DPDK 1.8 application using virtio PMDs.
The symptoms of the problem are that host interfaces report all packets
sent to the interface as being tx-discarded. The guest reports that no
packets are received.
Debugging the guest process, I found that the PMD thought that there were
no entries queued for reception:
$5 = {hw = 0x7f131fcfd600, mz = 0x7f1346200128, virtio_net_hdr_mz = 0x0,
mpool = 0x7f131ff8a0c0, queue_id = 0, port_id = 1 '\001', vq_ring_virt_mem
= 0x7f1339ebd000, vq_alignment = 4096, vq_ring_size = 12288, vq_ring_mem =
2081148928, vq_ring = {num = 256,
desc = 0x7f1339ebd000, avail = 0x7f1339ebe000, used = 0x7f1339ebf000},
vq_free_cnt = 256, vq_nentries = 256, vq_queue_index = 0, vq_desc_head_idx
= 33, vq_desc_tail_idx = 32, vq_used_cons_idx = 37409, vq_avail_idx =
37409, virtio_net_hdr_mem = 0,
packets = 67473953, bytes = 4049880780, errors = 0, vq_descx =
0x7f131fcf41d0}
(Basically, VIRTQUEUE_NUSED() was returning 0).
This makes me suspect that the guest and host fell out of sync.
Looking through the version tree for virtio_rxtx.c, I saw the following
commit:
http://dpdk.org/browse/dpdk/commit/lib/librte_pmd_virtio?id=8c09c20fb4cde76e53d87bd50acf2b441ecf6eb8
Does anybody know offhand if the issue fixed by that commit could be the
root cause of what I am seeing?
Thanks,
Kyle
next reply other threads:[~2015-09-11 16:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-11 16:32 Kyle Larose [this message]
2015-09-13 21:43 ` Thomas Monjalon
2015-09-15 21:04 ` Kyle Larose
2015-09-16 1:37 ` Xie, Huawei
2015-09-16 17:24 ` Kyle Larose
2015-09-18 5:58 ` Xie, Huawei
2015-09-17 0:45 ` Ouyang, Changchun
2015-09-18 6:28 ` Xie, Huawei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMFWN9k9euifKwLv0E6Z_F1r-nXdo9RdidDw6rnqa63miRc2Vg@mail.gmail.com \
--to=eomereadig@gmail.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).