net: be2net: reject unsupported coalescing params
authorJakub Kicinski <kuba@kernel.org>
Wed, 11 Mar 2020 22:32:48 +0000 (15:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Mar 2020 18:32:35 +0000 (11:32 -0700)
commit8213f6c9a275da084dc9363f36f93138547f46f1
tree0594da0d36c097b8acdc8e792214d1b79a146c27
parentc7449b756943c6aae868b2f7c91c57bacbce61f6
net: be2net: 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/emulex/benet/be_ethtool.c
include/linux/ethtool.h