net: cpsw: reject unsupported coalescing params
authorJakub Kicinski <kuba@kernel.org>
Mon, 16 Mar 2020 20:47:08 +0000 (13:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Mar 2020 03:56:58 +0000 (20:56 -0700)
commit3b6e1a4edf6add45dc68ffccaec98e8160ec8668
treeee931490d4a3e880b9b806dbc34ea7d65b3830e7
parent126b34ff9f5b660ee05005fef17475993c36e4f4
net: cpsw: 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>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c
drivers/net/ethernet/ti/cpsw_new.c