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

net: mv643xx_eth: 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
f99db1d4 298b63ef

+1
+1
drivers/net/ethernet/marvell/mv643xx_eth.c
··· 1737 1737 } 1738 1738 1739 1739 static const struct ethtool_ops mv643xx_eth_ethtool_ops = { 1740 + .supported_coalesce_params = ETHTOOL_COALESCE_USECS, 1740 1741 .get_drvinfo = mv643xx_eth_get_drvinfo, 1741 1742 .nway_reset = phy_ethtool_nway_reset, 1742 1743 .get_link = ethtool_op_get_link,