Date: Sun, 14 Mar 2021 10:24:40 +0300 From: =?UTF-8?B?w5Z6a2FuIEtJUklL?= <ozkan.kirik@gmail.com> To: Adrian Chadd <adrian.chadd@gmail.com> Cc: Hans Petter Selasky <hps@selasky.org>, FreeBSD Net <freebsd-net@freebsd.org> Subject: Re: RSS on FreeBSD stable/12 gateway Message-ID: <CAAcX-AHNCF0YuM94%2BvaeqntdGcPA70mtzYvMnk1yftk%2BPeo2gQ@mail.gmail.com> In-Reply-To: <CAJ-VmomKcW6ihaGLxm1Tu%2BuFDTq1sVTbT5tz6TfDgeYLhB%2BgoQ@mail.gmail.com> References: <CAAcX-AFisP=r_VJ0_Ta-QhBsG%2BoEwvVHn%2Bpx5Lvt5m4_ff1gsw@mail.gmail.com> <ebec2fdc-c145-66ca-9274-9cbe31b43d0b@selasky.org> <CAAcX-AGGmxsO8rKs-kx8U05F7qkQuXdn=Bm4FPFkta_uWBye7w@mail.gmail.com> <CAJ-VmomKcW6ihaGLxm1Tu%2BuFDTq1sVTbT5tz6TfDgeYLhB%2BgoQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Adrian, I wonder if the current RSS code supports software mode. Is it possible to enforce software RSS? And what about Sender Side Scaling ? I want to assign a snort instance for each NIC queue. Snort is configured to use netmap mode. Needs and questions are below: - For a proper detection, both of request and response packets must enter into same snort instance so that same NIC queue. For example 3way handshake packets, TLS handshake packets and etc all must use same queue for both directions. - I'm afraid that, option RSS is only socket aware. But gateways/routers doesnt have sockets for all connections. Is it possible to perform such hashing and requeuing while forwarding packets? - On receive side, is it possible to hashing & requeuing before the netmap step? - On sender side, is it possible to hashing & queuing before pushing in NIC queue? What is the right way to do this? =C3=96zkan On Sun, Mar 14, 2021 at 7:02 AM Adrian Chadd <adrian.chadd@gmail.com> wrote= : > On Sun, 7 Mar 2021 at 23:08, =C3=96zkan KIRIK <ozkan.kirik@gmail.com> wro= te: > > > > Thanks, > > > > I wonder that, why RSS and PCBGROUP options are not enabled in GENERIC > > kernel by default. > > Is there any performance or stability issues? > > I've been running it for years at home on my desktop machine with zero > issues. > However, I'm likely a special case because I hacked on it for a while. ;-= ) > > Hans - which iflib intel hardware corrupted it? It's possible someone > undid a bunch of work I did when figuring out what the heck RSS needed > to make it actually work work, or it could be the 10/40g hardware they > shipped that was actually really broken :( > > > > -adrian > > > > > On Mon, Mar 8, 2021 at 12:26 AM Hans Petter Selasky <hps@selasky.org> > wrote: > > > > > On 3/7/21 10:03 PM, =C3=96zkan KIRIK wrote: > > > > Any suggestions to enable RSS ? > > > > > > I found that RSS hardware computed checksums are not correct when usi= ng > > > iflib (intel hardware), compared to what the software expects, so > > > traffic goes on wrong queue and gets dropped simply. Maybe you see > > > something similar. > > > > > > --HPS > > > > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAcX-AHNCF0YuM94%2BvaeqntdGcPA70mtzYvMnk1yftk%2BPeo2gQ>