]> git.ipfire.org Git - ipfire-2.x.git/commit
udev: Enable ntuple offloading feature in supported NICs
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 7 Sep 2021 15:01:25 +0000 (15:01 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 10 Sep 2021 16:57:06 +0000 (16:57 +0000)
commit8be8ac63cafef9952f35c4b87883135e1b33ca4d
tree28cb62019bdd972866111b42d62116e79bffa37c
parentf7627d868767e853e4f7f3db73d6191c082c1dc3
udev: Enable ntuple offloading feature in supported NICs

We are using CPU-affinity and packet steering functions in various
places in IPFire, but packets might still be received on a random CPU
core.

This feature enables that packets that belong to the same connection
(i.e. have the save tuple) will be steered to the same queue. This will
increase cache locality and decrease locking which results in higher
throughput.

https://www.kernel.org/doc/Documentation/networking/scaling.txt

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/rootfiles/common/udev
config/udev/99-offloading.rules [new file with mode: 0644]
config/udev/network-offloading [new file with mode: 0644]
lfs/udev