Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

veth: Avoid spammy dmesg info messages #17705

Merged
merged 1 commit into from
Oct 26, 2021
Merged

Conversation

borkmann
Copy link
Member

Avoid spamming the kernel log with below messages as reported by @mukeshkwm:

[...]
[Mon Oct 25 06:48:03 2021] cilium_host: Caught tx_queue_len zero misconfig
[Mon Oct 25 06:48:03 2021] cilium_net: Caught tx_queue_len zero misconfig
[Mon Oct 25 06:48:08 2021] lxc_health: Caught tx_queue_len zero misconfig
[...]
[Mon Oct 25 07:22:27 2021] lxc667d091cb0ea: Caught tx_queue_len zero misconfig
[Mon Oct 25 07:22:27 2021] lxc742557edbdd8: Caught tx_queue_len zero misconfig
[Mon Oct 25 07:22:27 2021] lxc_health: Caught tx_queue_len zero misconfig
[Mon Oct 25 07:22:27 2021] lxcb7215aa13fc7: Caught tx_queue_len zero misconfig
[...]

These are harmless and the kernel will internally fix up dev->tx_queue_len
to DEFAULT_TX_QUEUE_LEN (== 1000). Avoid the messages by explicitly setting
the dev->tx_queue_len upon veth creation.

Fixes: #17703
Signed-off-by: Daniel Borkmann daniel@iogearbox.net

Avoid spamming the kernel log with below messages as reported by @mukeshkwm:

  [...]
  [Mon Oct 25 06:48:03 2021] cilium_host: Caught tx_queue_len zero misconfig
  [Mon Oct 25 06:48:03 2021] cilium_net: Caught tx_queue_len zero misconfig
  [Mon Oct 25 06:48:08 2021] lxc_health: Caught tx_queue_len zero misconfig
  [...]
  [Mon Oct 25 07:22:27 2021] lxc667d091cb0ea: Caught tx_queue_len zero misconfig
  [Mon Oct 25 07:22:27 2021] lxc742557edbdd8: Caught tx_queue_len zero misconfig
  [Mon Oct 25 07:22:27 2021] lxc_health: Caught tx_queue_len zero misconfig
  [Mon Oct 25 07:22:27 2021] lxcb7215aa13fc7: Caught tx_queue_len zero misconfig
  [...]

These are harmless and the kernel will internally fix up dev->tx_queue_len
to DEFAULT_TX_QUEUE_LEN (== 1000). Avoid the messages by explicitly setting
the dev->tx_queue_len upon veth creation.

Fixes: #17703
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
@borkmann borkmann added kind/cleanup This includes no functional changes. area/daemon Impacts operation of the Cilium daemon. release-note/misc This PR makes changes that have no direct user impact. labels Oct 26, 2021
@borkmann borkmann requested review from kkourt and a team October 26, 2021 07:39
@borkmann borkmann requested a review from a team as a code owner October 26, 2021 07:39
@borkmann
Copy link
Member Author

test-me-please

@borkmann borkmann merged commit 52011d9 into master Oct 26, 2021
@borkmann borkmann deleted the pr/zero-tx-queue-len branch October 26, 2021 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/daemon Impacts operation of the Cilium daemon. kind/cleanup This includes no functional changes. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cilium_host/cilium_net: Caught tx_queue_len zero misconfig
3 participants