aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorMaxim Kiselev <[email protected]>2021-11-01 18:23:41 +0300
committerJakub Kicinski <[email protected]>2021-11-02 17:28:46 -0700
commitd52bcb47bdf971a59a2467975d2405fcfcb2fa19 (patch)
tree4d4585dddd460bf8dcb0031005020f4fbbb67af4 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent26499499cae642a906e7d501ac5342ca148ea8b1 (diff)
net: davinci_emac: Fix interrupt pacing disable
This patch allows to use 0 for `coal->rx_coalesce_usecs` param to disable rx irq coalescing. Previously we could enable rx irq coalescing via ethtool (For ex: `ethtool -C eth0 rx-usecs 2000`) but we couldn't disable it because this part rejects 0 value: if (!coal->rx_coalesce_usecs) return -EINVAL; Fixes: 84da2658a619 ("TI DaVinci EMAC : Implement interrupt pacing functionality.") Signed-off-by: Maxim Kiselev <[email protected]> Reviewed-by: Grygorii Strashko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions