Vincent Whitchurch
fa60b81638
net: stmmac: fix handling of zero coalescing tx-usecs
...
Setting ethtool -C eth0 tx-usecs 0 is supposed to disable the use of the
coalescing timer but currently it gets programmed with zero delay
instead.
Disable the use of the coalescing timer if tx-usecs is zero by
preventing it from being restarted. Note that to keep things simple we
don't start/stop the timer when the coalescing settings are changed, but
just let that happen on the next transmit or timer expiry.
Fixes: 8fce333170 ("net: stmmac: Rework coalesce timer and fix multi-queue races")
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2023-09-11 08:22:47 +01:00
..
2023-04-13 12:50:46 +02:00
2023-08-20 18:19:20 +01:00
2023-08-25 18:55:19 -07:00
2023-07-19 20:51:10 -07:00
2023-04-13 12:50:46 +02:00
2023-04-13 12:50:46 +02:00
2023-07-27 15:22:46 -07:00
2023-05-09 19:42:59 -07:00
2023-02-13 20:04:43 -08:00
2021-06-01 16:59:50 -07:00
2022-09-08 10:12:20 +02:00
2023-07-19 20:51:10 -07:00
2022-09-08 10:12:20 +02:00
2023-04-13 12:50:46 +02:00
2023-04-13 12:50:46 +02:00
2022-09-08 10:12:20 +02:00
2023-04-13 12:50:46 +02:00
2023-07-19 20:51:10 -07:00
2023-05-09 19:56:31 -07:00
2023-08-10 17:26:06 -07:00
2023-06-24 15:35:59 -07:00
2023-08-28 12:55:04 -07:00
2023-08-28 12:55:04 -07:00
2023-08-10 17:26:06 -07:00
2023-08-19 19:23:07 +01:00
2021-06-12 13:10:52 -07:00
2023-08-10 17:26:06 -07:00
2023-08-28 12:55:04 -07:00
2023-08-28 12:55:04 -07:00
2023-08-28 12:55:04 -07:00
2023-07-27 20:33:16 -07:00
2023-08-10 17:26:06 -07:00
2023-08-10 17:26:06 -07:00
2023-08-10 17:26:06 -07:00
2023-08-28 12:55:04 -07:00
2023-08-28 12:55:04 -07:00
2023-08-10 17:26:06 -07:00
2023-08-28 12:55:04 -07:00
2023-08-28 12:55:04 -07:00
2023-08-10 17:26:06 -07:00
2023-08-03 14:34:37 -07:00
2023-08-10 17:26:06 -07:00
2023-08-25 18:55:19 -07:00
2023-07-19 20:51:10 -07:00
2023-08-20 18:19:20 +01:00
2023-08-20 18:19:20 +01:00
2023-07-19 20:51:10 -07:00
2023-04-05 19:01:22 -07:00
2023-08-25 18:55:19 -07:00
2023-08-02 10:01:05 +01:00
2023-08-02 10:01:05 +01:00
2022-07-01 20:13:30 -07:00
2023-07-19 20:51:10 -07:00
2023-04-13 12:50:46 +02:00
2023-07-19 20:51:10 -07:00
2023-08-07 12:17:13 -07:00
2023-09-11 08:22:47 +01:00
2023-08-25 18:55:18 -07:00
2023-07-13 20:57:14 -07:00
2023-08-30 18:32:19 -07:00
2023-06-24 15:36:00 -07:00
2023-07-13 20:57:14 -07:00
2023-08-07 12:17:13 -07:00
2023-07-31 09:11:24 +01:00
2023-05-31 10:00:30 +01:00
2023-05-25 21:01:35 -07:00
2021-04-13 15:06:51 -07:00
2023-08-07 13:05:19 -07:00