net: mvneta: reject unsupported coalescing params
authorJakub Kicinski <kuba@kernel.org>
Fri, 13 Mar 2020 04:07:51 +0000 (21:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Mar 2020 04:13:54 +0000 (21:13 -0700)
commit16e8d8b3e612cede9f830f2b37f670cb60d8a7fc
tree95a208600364f0588b3139740da98b9c84f5c704
parentf99db1d489c14a497fc6ec0b7702f4686d4b37eb
net: mvneta: 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>
drivers/net/ethernet/marvell/mvneta.c