From: Alireza Sanaee <sarsanaee@gmail.com>
To: "jiangheng (G)" <jiangheng14@huawei.com>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: Primary and secondary processes polling on two queues
Date: Wed, 1 Nov 2023 10:15:55 +0000 [thread overview]
Message-ID: <CAL=0poYqS8++4CWnzQj4KQ0rVvpEXMiXYwbtvwp=rKS8pxNthw@mail.gmail.com> (raw)
In-Reply-To: <4608f13e503247448ae58959fe2df35f@huawei.com>
[-- Attachment #1: Type: text/plain, Size: 1537 bytes --]
Hi,
Thanks for the message.
Currently, I have a sender and client, and actually, there is no packet
loss as my server application with primary and secondary processes is
responding to packets back to the client side, and the client is receiving
100% of packets. I am sending UDP packets.
However, the problem right now is that when I check with DPDK
rte_eth_stat_gets(), then the API reports packet loss on DPDK queues while
we know that there is no packet loss.
Thanks,
Alireza
On Wed, Nov 1, 2023 at 1:31 AM jiangheng (G) <jiangheng14@huawei.com> wrote:
> Hi,
>
> 1) Yes
>
> 2) What type of packets are you receiving, Tcp or UDP? You need
> correctly configure NIC RSS or flow rule. Otherwise, packets may be
> received only in queue 0.
>
>
>
>
>
> *发件人:* Alireza Sanaee <sarsanaee@gmail.com>
> *发送时间:* 2023年11月1日 3:58
> *收件人:* users@dpdk.org
> *主题:* Primary and secondary processes polling on two queues
>
>
>
> Hi everyone,
>
>
>
> I have a NIC and I would like to receive packets on my primary process and
> secondary process. I wonder if I can have primary process poll on queue = 0
> and secondary one poll on queue = 1.
>
>
>
> I tried to do this and observed packet loss. That made me wonder if I am
> configuring something wrong.
>
>
>
> Two questions:
>
>
>
> 1) Is this possible from practicality perspective?
>
> 2) If yes, what can potentially go wrong in this scenario.
>
>
>
>
>
> Thanks,
>
> Alireza
>
[-- Attachment #2: Type: text/html, Size: 4994 bytes --]
prev parent reply other threads:[~2023-11-01 10:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-31 19:58 Alireza Sanaee
2023-11-01 1:31 ` 答复: " jiangheng (G)
2023-11-01 10:15 ` Alireza Sanaee [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='CAL=0poYqS8++4CWnzQj4KQ0rVvpEXMiXYwbtvwp=rKS8pxNthw@mail.gmail.com' \
--to=sarsanaee@gmail.com \
--cc=jiangheng14@huawei.com \
--cc=users@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).