Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OCPBUGS-4194: rps: use default rps mask kernel API (#650)
* rps: machine-config: configure default rps mask https://lore.kernel.org/netdev/cover.1676635317.git.pabeni@redhat.com/ exposes a new API to configure default rps mask for network devices. We're adding a MachineConfig file to configure the desired rps mask We are configuring the rps mask directly from sysctl and not from TuneD because at the boot process sysctl spins up earlier than the veth devices. Signed-off-by: Talor Itzhak <titzhak@redhat.com> * rps: tuned: configure default rps mask Altough rps configured directly from sysctl, we're adding it as part of tuned profile as well to keep the profile up to date with all the system tunings. esentially we want to have a single source of truth which is the tuned profile. Signed-off-by: Talor Itzhak <titzhak@redhat.com> * rps: cleanup: remove oci hook This hook point is not in used and should be removed long time ago Signed-off-by: Talor Itzhak <titzhak@redhat.com> * e2e: rps: enable and reformat tests Enable the tests again and look for the default rps value instead of the systemd unit. In addition verify the rps mask not being applied on physical devices. Signed-off-by: Talor Itzhak <titzhak@redhat.com> --------- Signed-off-by: Talor Itzhak <titzhak@redhat.com>
- Loading branch information
Showing
8 changed files
with
128 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
SUBSYSTEM=="net", ACTION=="add", ENV{DEVPATH}!="/devices/virtual/net/veth*", TAG+="systemd", ENV{SYSTEMD_WANTS}="update-rps@%k.service" | ||
SUBSYSTEM=="net", ACTION=="add", ENV{DEVPATH}!="/devices/virtual/net/*", TAG+="systemd", ENV{SYSTEMD_WANTS}="update-rps@%k.service" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.