Rasmus Villemoes 7e6303567c net: fec: properly guard irq coalesce setup
Prior to the Fixes: commit, the initialization code went through the
same fec_enet_set_coalesce() function as used by ethtool, and that
function correctly checks whether the current variant has support for
irq coalescing.

Now that the initialization code instead calls fec_enet_itr_coal_set()
directly, that call needs to be guarded by a check for the
FEC_QUIRK_HAS_COALESCE bit.

Fixes: df727d4547de (net: fec: don't reset irq coalesce settings to defaults on "ip link up")
Reported-by: Greg Ungerer <gregungerer@westnet.com.au>
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20221205204604.869853-1-linux@rasmusvillemoes.dk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-12-06 20:22:34 -08:00
..
2022-11-07 10:19:04 -08:00
2022-10-12 10:23:24 -07:00
2022-11-25 17:50:57 -08:00
2022-11-04 16:03:43 -07:00
2022-10-14 18:41:41 -07:00
2022-11-11 09:03:19 -08:00
2022-09-21 20:33:49 +02:00
2022-11-18 17:56:29 -08:00
2022-10-12 10:23:24 -07:00
2022-10-09 14:05:15 -07:00
2022-11-18 13:59:45 -08:00
2022-10-14 18:41:41 -07:00
2022-11-18 13:59:45 -08:00
2022-10-14 12:38:03 -07:00
2022-11-16 10:36:13 -08:00
2022-10-10 09:10:28 -07:00
2022-10-07 11:32:10 -07:00
2022-11-25 13:54:48 -08:00
2022-11-25 17:50:57 -08:00
2022-11-25 12:32:42 -08:00
2022-11-23 11:19:06 -08:00
2022-11-18 12:02:38 -08:00
2022-11-18 10:59:52 -08:00
2022-10-22 03:29:32 +00:00
2022-10-10 14:02:53 -07:00
2022-10-10 14:02:53 -07:00
2022-11-01 12:21:53 -07:00
2022-11-16 10:49:06 -08:00