DPDK usage discussions
 help / color / mirror / Atom feed
* Is there a way to instruct NIC/DPDK which RXQ to deliver a packet to not RSS?
@ 2022-12-18 21:41 fwefew 4t4tg
  2022-12-18 22:14 ` Stephen Hemminger
  0 siblings, 1 reply; 3+ messages in thread
From: fwefew 4t4tg @ 2022-12-18 21:41 UTC (permalink / raw)
  To: users

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

I am aware of RSS; I coded it and have gotten it to work between machines.

However, the elapsed time per packet increases from <100ns/packet RSS-OFF
to 700-800ns RSS-ON in my test setup.

In my scenario I have hardcoded routing between TXQs on client machines and
RXQs on the server machines.

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

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

* Re: Is there a way to instruct NIC/DPDK which RXQ to deliver a packet to not RSS?
  2022-12-18 21:41 Is there a way to instruct NIC/DPDK which RXQ to deliver a packet to not RSS? fwefew 4t4tg
@ 2022-12-18 22:14 ` Stephen Hemminger
  2022-12-23 15:30   ` fwefew 4t4tg
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Hemminger @ 2022-12-18 22:14 UTC (permalink / raw)
  To: fwefew 4t4tg; +Cc: users

On Sun, 18 Dec 2022 16:41:13 -0500
fwefew 4t4tg <7532yahoo@gmail.com> wrote:

> I am aware of RSS; I coded it and have gotten it to work between machines.
> 
> However, the elapsed time per packet increases from <100ns/packet RSS-OFF
> to 700-800ns RSS-ON in my test setup.
> 
> In my scenario I have hardcoded routing between TXQs on client machines and
> RXQs on the server machines.

Packet direction to queue in HW is done with rte_flow (if your NIC supports it)
https://doc.dpdk.org/guides/prog_guide/rte_flow.html

RSS should be implemented in hardware. So it shouldn't be causing added
latency. What device are you using.

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

* Re: Is there a way to instruct NIC/DPDK which RXQ to deliver a packet to not RSS?
  2022-12-18 22:14 ` Stephen Hemminger
@ 2022-12-23 15:30   ` fwefew 4t4tg
  0 siblings, 0 replies; 3+ messages in thread
From: fwefew 4t4tg @ 2022-12-23 15:30 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: users

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

>RSS should be implemented in hardware. So it shouldn't be causing added
>latency. What device are you using.
My error; aggregate performance is the same. H/W RSS is fine.

>Packet direction to queue in HW is done with rte_flow (if your NIC
supports it)
>https://doc.dpdk.org/guides/prog_guide/rte_flow.html
Thank you! That was not on my radar for some reason. Much appreciated.


On Sun, Dec 18, 2022 at 5:14 PM Stephen Hemminger <
stephen@networkplumber.org> wrote:

> On Sun, 18 Dec 2022 16:41:13 -0500
> fwefew 4t4tg <7532yahoo@gmail.com> wrote:
>
> > I am aware of RSS; I coded it and have gotten it to work between
> machines.
> >
> > However, the elapsed time per packet increases from <100ns/packet RSS-OFF
> > to 700-800ns RSS-ON in my test setup.
> >
> > In my scenario I have hardcoded routing between TXQs on client machines
> and
> > RXQs on the server machines.
>
> Packet direction to queue in HW is done with rte_flow (if your NIC
> supports it)
> https://doc.dpdk.org/guides/prog_guide/rte_flow.html
>
> RSS should be implemented in hardware. So it shouldn't be causing added
> latency. What device are you using.
>

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

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

end of thread, other threads:[~2022-12-23 15:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-18 21:41 Is there a way to instruct NIC/DPDK which RXQ to deliver a packet to not RSS? fwefew 4t4tg
2022-12-18 22:14 ` Stephen Hemminger
2022-12-23 15:30   ` fwefew 4t4tg

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