DPDK usage discussions
 help / color / mirror / Atom feed
* Primary and secondary processes polling on two queues
@ 2023-10-31 19:58 Alireza Sanaee
  2023-11-01  1:31 ` 答复: " jiangheng (G)
  0 siblings, 1 reply; 3+ messages in thread
From: Alireza Sanaee @ 2023-10-31 19:58 UTC (permalink / raw)
  To: users

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

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: 770 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* 答复: Primary and secondary processes polling on two queues
  2023-10-31 19:58 Primary and secondary processes polling on two queues Alireza Sanaee
@ 2023-11-01  1:31 ` jiangheng (G)
  2023-11-01 10:15   ` Alireza Sanaee
  0 siblings, 1 reply; 3+ messages in thread
From: jiangheng (G) @ 2023-11-01  1:31 UTC (permalink / raw)
  To: Alireza Sanaee; +Cc: users

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

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: 12955 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Primary and secondary processes polling on two queues
  2023-11-01  1:31 ` 答复: " jiangheng (G)
@ 2023-11-01 10:15   ` Alireza Sanaee
  0 siblings, 0 replies; 3+ messages in thread
From: Alireza Sanaee @ 2023-11-01 10:15 UTC (permalink / raw)
  To: jiangheng (G); +Cc: users

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-11-01 10:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-31 19:58 Primary and secondary processes polling on two queues Alireza Sanaee
2023-11-01  1:31 ` 答复: " jiangheng (G)
2023-11-01 10:15   ` Alireza Sanaee

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