mirror of
https://github.com/systemd/systemd.git
synced 2025-09-22 13:45:07 +03:00
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 6c35ea5ef0
.
This commit is contained in:
@@ -142,6 +142,8 @@ int link_load_one(LinkConfigContext *ctx, const char *filename) {
|
|||||||
.tx_flow_control = -1,
|
.tx_flow_control = -1,
|
||||||
.autoneg_flow_control = -1,
|
.autoneg_flow_control = -1,
|
||||||
.txqueuelen = UINT32_MAX,
|
.txqueuelen = UINT32_MAX,
|
||||||
|
.coalesce.use_adaptive_rx_coalesce = -1,
|
||||||
|
.coalesce.use_adaptive_tx_coalesce = -1,
|
||||||
};
|
};
|
||||||
|
|
||||||
for (i = 0; i < ELEMENTSOF(link->features); i++)
|
for (i = 0; i < ELEMENTSOF(link->features); i++)
|
||||||
|
Reference in New Issue
Block a user