From ee7512404b5de7c5ac36e09436379fada2ed84e7 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 26 Aug 2021 03:34:23 +0900 Subject: [PATCH] udev/net: initialize coalesce tristate variables Otherwise, 99-default.link may introduce something like the following warnings: ---- Aug 26 03:23:59 systemd-udevd[519]: wlan0: Could not set coalesce settings, ignoring: Operation not supported Aug 26 03:24:00 systemd-udevd[547]: wlp59s0: Could not set coalesce settings, ignoring: Operation not supported ---- Follow-up for 6c35ea5ef0231d519ff24d43a57a72cebab6a121. --- src/udev/net/link-config.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/udev/net/link-config.c b/src/udev/net/link-config.c index 69f65143503..4963ba2fae8 100644 --- a/src/udev/net/link-config.c +++ b/src/udev/net/link-config.c @@ -142,6 +142,8 @@ int link_load_one(LinkConfigContext *ctx, const char *filename) { .tx_flow_control = -1, .autoneg_flow_control = -1, .txqueuelen = UINT32_MAX, + .coalesce.use_adaptive_rx_coalesce = -1, + .coalesce.use_adaptive_tx_coalesce = -1, }; for (i = 0; i < ELEMENTSOF(link->features); i++) -- 2.47.3