Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: skge: reject unsupported coalescing params

Set ethtool_ops->supported_coalesce_params to let
the core reject unsupported coalescing parameters.

This driver did not previously reject unsupported parameters.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Jakub Kicinski and committed by
David S. Miller
b48ae153 af7fcbbd

+1
+1
drivers/net/ethernet/marvell/skge.c
··· 876 876 } 877 877 878 878 static const struct ethtool_ops skge_ethtool_ops = { 879 + .supported_coalesce_params = ETHTOOL_COALESCE_USECS, 879 880 .get_drvinfo = skge_get_drvinfo, 880 881 .get_regs_len = skge_get_regs_len, 881 882 .get_regs = skge_get_regs,