1
0
Fork 0

Merge pull request #736 from rtzoeller/cqe-mode-rx

plugin_net: handle cqe-mode-rx ethtool option
This commit is contained in:
Jaroslav Škarvada 2025-01-29 22:02:13 +01:00 committed by GitHub
commit 5452adada6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -312,6 +312,7 @@ class NetTuningPlugin(hotplug.Plugin):
return {
"adaptive-rx": None,
"adaptive-tx": None,
"cqe-mode-rx": None,
"rx-usecs": None,
"rx-frames": None,
"rx-usecs-irq": None,
@ -437,6 +438,7 @@ class NetTuningPlugin(hotplug.Plugin):
value = self._cmd.multiple_re_replace({
"Adaptive RX:": "adaptive-rx:",
"\\s+TX:": "\nadaptive-tx:",
"CQE mode RX:": "cqe-mode-rx:",
"rx-frame-low:": "rx-frames-low:",
"rx-frame-high:": "rx-frames-high:",
"tx-frame-low:": "tx-frames-low:",