diff options
author | Jakub Kicinski <kuba@kernel.org> | 2020-03-04 21:15:38 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-05 12:12:35 -0800 |
commit | 4a80a183387160d4304add54927a2bec28dbc294 (patch) | |
tree | e939c80b6b1c7c59242a246b79151149f0cc63bc /drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c | |
parent | 60d339641a2ac7341e2daf900d64e727c3a7c04d (diff) |
ice: let core reject the unsupported coalescing parameters
Set ethtool_ops->supported_coalesce_params to let
the core reject unsupported coalescing parameters.
This driver correctly rejects all unsupported parameters.
As a side effect of these changes the info message about
the bad parameter will no longer be printed. We also
always reject the tx_coalesce_usecs_high param, even
if the target queue pair does not have a TX queue.
Error code changes from EINVAL to EOPNOTSUPP.
v2: allow adaptive TX
v3: adjust commit message for new error code and member name
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c')
0 files changed, 0 insertions, 0 deletions