DPDK patches and discussions
 help / color / mirror / Atom feed
From: Rajasekhar Pulluru <pullururajasekhar@gmail.com>
To: Bruce Richardson <bruce.richardson@intel.com>
Cc: stephen@networkplumber.org, dev@dpdk.org
Subject: Re: Multiple Tx-Queues not working as expected
Date: Fri, 17 Feb 2023 23:08:27 +0530	[thread overview]
Message-ID: <CAGA5_H7js09_4ZLgP4DXaa1z66=7+s6JkWRPgxFre326a4=hFw@mail.gmail.com> (raw)
In-Reply-To: <Y++tnaP05hR09Dld@bricha3-MOBL.ger.corp.intel.com>

[-- Attachment #1: Type: text/plain, Size: 1794 bytes --]

Yes Bruce, rte_eth_tx_burst api returns the same count as nb_pkts (4th-arg)

Thanks for pointing out the information on tracking per-queue stats
mapping, can try this out.

Thanks & Regards,
Rajasekhar

On Fri, Feb 17, 2023 at 10:09 PM Bruce Richardson <
bruce.richardson@intel.com> wrote:

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

[-- Attachment #2: Type: text/html, Size: 2419 bytes --]

      reply	other threads:[~2023-02-17 17:38 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
2023-02-17 17:38       ` Rajasekhar Pulluru [this message]

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='CAGA5_H7js09_4ZLgP4DXaa1z66=7+s6JkWRPgxFre326a4=hFw@mail.gmail.com' \
    --to=pullururajasekhar@gmail.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --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).