bnxt: reject unsupported coalescing params
authorJakub Kicinski <kuba@kernel.org>
Thu, 5 Mar 2020 05:15:39 +0000 (21:15 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Mar 2020 20:12:35 +0000 (12:12 -0800)
commitf704d24371a4cd7009cb776b55463462f2326493
tree2159d2c857c833abfe720f0a2cb5f6b8b7dfbc92
parent4a80a183387160d4304add54927a2bec28dbc294
bnxt: 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.

v3: adjust commit message for new member name

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c