net/mlx5: remove the recent devlink params
authorJakub Kicinski <kuba@kernel.org>
Tue, 26 Oct 2021 15:29:39 +0000 (08:29 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 26 Oct 2021 17:18:32 +0000 (10:18 -0700)
commit6b3671746a8a3aa05316b829e1357060f35009c1
tree021b6d0c27d088915e3751a9b4f181810ad283c3
parent4d2af64bb7f56292842fb7d9aceaea7e98d3f1e4
net/mlx5: remove the recent devlink params

revert commit 46ae40b94d88 ("net/mlx5: Let user configure io_eq_size param")
revert commit a6cb08daa3b4 ("net/mlx5: Let user configure event_eq_size param")
revert commit 554604061979 ("net/mlx5: Let user configure max_macs param")

The EQE parameters are applicable to more drivers, they should
be configured via standard API, probably ethtool. Example of
another driver needing something similar:

https://lore.kernel.org/all/1633454136-14679-3-git-send-email-sbhatta@marvell.com/

The last param for "max_macs" is probably fine but the documentation
is severely lacking. The meaning and implications for changing the
param need to be stated.

Link: https://lore.kernel.org/r/20211026152939.3125950-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/devlink/mlx5.rst
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/devlink.c
drivers/net/ethernet/mellanox/mlx5/core/devlink.h
drivers/net/ethernet/mellanox/mlx5/core/devlink_res.c [deleted file]
drivers/net/ethernet/mellanox/mlx5/core/eq.c
drivers/net/ethernet/mellanox/mlx5/core/main.c
include/linux/mlx5/driver.h
include/linux/mlx5/eq.h
include/linux/mlx5/mlx5_ifc.h