Re: [net-next 10/14] net/mlx5: Let user configure io_eq_size param
From: Saeed Mahameed <saeedm@nvidia.com>
Date: 2021-10-26 15:54:34
On Tue, 2021-10-26 at 08:05 -0700, Jakub Kicinski wrote:
On Mon, 25 Oct 2021 13:54:27 -0700 Saeed Mahameed wrote:quoted
From: Shay Drory <redacted> Currently, each I/O EQ is taking 128KB of memory. This size is not needed in all use cases, and is critical with large scale. Hence, allow user to configure the size of I/O EQs. For example, to reduce I/O EQ size to 64, execute: $ devlink resource set pci/0000:00:0b.0 path /io_eq_size/ size 64 $ devlink dev reload pci/0000:00:0b.0This sort of config is needed by more drivers, we need a standard way of configuring this.
We had a debate internally about the same thing, Jiri and I thought that EQ might be a ConnectX only thing (maybe some other vendors have it) but it is not really popular, we thought, until other vendors start contributing or asking for the same thing, maybe then we can standardize.
Sorry, I didn't have the time to look thru your patches yesterday, I'm sending a revert for all your new devlink params.
Sure, we will submit a RFC to give other vendors a chance to comment, it will be basically the same patch (devlink resource) while making the parameters vendor generic.