From: Bruce Richardson <bruce.richardson@intel.com>
To: Rajasekhar Pulluru <pullururajasekhar@gmail.com>
Cc: <stephen@networkplumber.org>, <dev@dpdk.org>
Subject: Re: Multiple Tx-Queues not working as expected
Date: Fri, 17 Feb 2023 16:38:53 +0000 [thread overview]
Message-ID: <Y++tnaP05hR09Dld@bricha3-MOBL.ger.corp.intel.com> (raw)
In-Reply-To: <CAGA5_H6kg-6tZozY5hKL8sFBJNrKGd2kTxAdDXitUGcHcFuA6w@mail.gmail.com>
On Fri, Feb 17, 2023 at 11:30:14AM +0530, Rajasekhar Pulluru wrote:
> Ok Stephen, thanks for the information, I can try that.
> One of the problems I see with single Tx Queue mode is that Ixia
> reports packet drops, though I confirmed with the help of counters
> (before invoking tx burst) that all packets are being sent-out. Dumping
> HW counters don't report any drops in TX.
> Is there a mechanism in DPDK to debug this?
> Thanks & Regards,
> Rajasekhar
>
Hi,
so long as the packets are written successfully to the TX ring, they should
be send out ok - unless the actual packets are some way invalid, e.g.
undersized. Are the tx_burst calls reporting that all packets are getting
written to the ring? All packets successfully written should be reported
as received at the other end.
In terms of the NIC TX stats, I'm not sure about for the ixgbe driver, but
I think in some cases to get per-queue stats, you needed to set up a
mapping of what queues you wanted to track stats for, as the NIC could only
track a certain number of queues - fewer than that available in HW. See
function [1]. For tracking transmits per queue, it's generally easier just
to have the app track the successful enqueues to the ring. This is what
testpmd does internally for queue stats, I believe (though for port stats
it reads hardware).
/Bruce
[1] https://doc.dpdk.org/api/rte__ethdev_8h.html#a56fae7e398b289f795a1b6256149c4f3
next prev parent reply other threads:[~2023-02-17 16:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-16 18:10 Rajasekhar Pulluru
2023-02-16 19:51 ` Stephen Hemminger
2023-02-17 6:00 ` Rajasekhar Pulluru
2023-02-17 16:26 ` Stephen Hemminger
2023-02-17 17:33 ` Rajasekhar Pulluru
2023-02-17 16:38 ` Bruce Richardson [this message]
2023-02-17 17:38 ` Rajasekhar Pulluru
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=Y++tnaP05hR09Dld@bricha3-MOBL.ger.corp.intel.com \
--to=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=pullururajasekhar@gmail.com \
--cc=stephen@networkplumber.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).