diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-08-26 03:34:23 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-08-26 03:36:18 +0900 |
commit | ee7512404b5de7c5ac36e09436379fada2ed84e7 (patch) | |
tree | 1ca3ce207b67933ac8803a7dd202a3a41e8b495a /src/udev/net | |
parent | 72328a5977d240d33b78b24e7a6b65b1074000b9 (diff) | |
download | systemd-ee7512404b5de7c5ac36e09436379fada2ed84e7.tar.gz |
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.
Diffstat (limited to 'src/udev/net')
-rw-r--r-- | src/udev/net/link-config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/udev/net/link-config.c b/src/udev/net/link-config.c index 69f6514350..4963ba2fae 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++) |