net: davinci_emac: reject unsupported coalescing params
authorJakub Kicinski <kuba@kernel.org>
Mon, 16 Mar 2020 20:47:09 +0000 (13:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Mar 2020 03:56:58 +0000 (20:56 -0700)
commit1a9d729c4502a2a53b5227fe7568a1ce1b36ea70
tree8e6c9272d94800e158c4b2e809184f26c6fd887b
parent3b6e1a4edf6add45dc68ffccaec98e8160ec8668
net: davinci_emac: 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/ti/davinci_emac.c