aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2022-12-05 21:46:04 +0100
committerJakub Kicinski <[email protected]>2022-12-06 20:22:34 -0800
commit7e6303567ce3ca506e4a2704e4baa86f1d8bde02 (patch)
treeabe730ff9daff2785cf6138e35d0b828822ce68d /lib/mpi/mpi-mod.c
parent1f154f3b56a1a172833eedf77b72745acc8d9259 (diff)
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 <[email protected]> Signed-off-by: Rasmus Villemoes <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions