Re: iflib and options RSS is a no go for igbX

From: Adrian Chadd <adrian_at_freebsd.org>
Date: Tue, 26 May 2020 16:39:00 -0700
reply to all this time:

On Tue, 26 May 2020 at 02:03, Hans Petter Selasky <hps_at_selasky.org> wrote:
>
> Hi,
>
> I just found a bug where outgoing TCP connections over igb0 doesn't work
> because likely the software computed hash is wrong, so the incoming
> packets get dropped because they are received on the wrong queue.
>
> It is the management port, so I'm just using this hack for now:
>
> dev.igb.0.iflib.override_nrxqs=1
> dev.igb.0.iflib.override_ntxqs=1

Did iflib + RSS get broken? Cause it used to work just fine when I was
still doing networking stuff at norse, and igb was one of the
supported pieces of hardware I fixed up RSS on. The trick was
literally making sure the tcp/udp l3 / l4 hash configuration was
setup right (which it was by default for at least igb, where RSS
worked!) and the hardware programmed in the right RSS key.

Outbound connections would work fine, but they wouldn't be created
in the local RSS CPU because you didn't know the details until you
finished creating a socket. But all the hijinx were done behind the scenes
so things got lined up in the right queues.

I can go setup my second PC this week (I have PTO!) and go see if I
have any PCIe igb hardware here. I /think/ I do but it's fibre.




-adrian
Received on Tue May 26 2020 - 21:39:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:24 UTC