RDMA/ipoib: reject unsupported coalescing params
authorJakub Kicinski <kuba@kernel.org>
Fri, 6 Mar 2020 01:05:57 +0000 (17:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Mar 2020 06:45:55 +0000 (22:45 -0800)
commit524250a324da0ec5e942b11a8f8536f3bc4872f5
tree0b10ea08896ee0f37d58a1b0aa30734a8974298e
parentcdc7aaca074d4670bd1dc114f739000ec6bde217
RDMA/ipoib: 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>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/ulp/ipoib/ipoib_ethtool.c