net: dwc-xlgmac: let core reject the unsupported coalescing parameters
authorJakub Kicinski <kuba@kernel.org>
Mon, 16 Mar 2020 20:47:06 +0000 (13:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Mar 2020 03:56:57 +0000 (20:56 -0700)
commita5a8758f42b0dabbe13ffeaa28fff876ea45c8a0
treed2ecc04e7d39567c9b31ae71d73f204682eca356
parentcbb78cb05f8d778e24a4828c860ba36b4348f21a
net: dwc-xlgmac: let core reject the unsupported coalescing parameters

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

This driver already correctly rejected all unsupported
parameters.

While at it remove unnecessary zeroing on get.

No functional changes.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/synopsys/dwc-xlgmac-ethtool.c