Home
last modified time | relevance | path

Searched hist:"4 a988e31" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_ethtool.c4a988e31 Thu Mar 12 23:08:00 CDT 2020 Jakub Kicinski <kuba@kernel.org> net: qlnic: 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 almost all
unsupported parameters (missing sample_rate_interval).

As a side effect of these changes the error code for
unsupported params changes from EINVAL to EOPNOTSUPP.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
4a988e31 Thu Mar 12 23:08:00 CDT 2020 Jakub Kicinski <kuba@kernel.org> net: qlnic: 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 almost all
unsupported parameters (missing sample_rate_interval).

As a side effect of these changes the error code for
unsupported params changes from EINVAL to EOPNOTSUPP.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>