Fri, Feb 23, 2024 at 12:07:17AM CET, kuba@kernel.org wrote:
On Thu, 22 Feb 2024 14:25:21 +0100 Mateusz Polchlopek wrote:
quoted
quoted
quoted
This is kind of proprietary param similar to number of which were shot
down for mlx5 in past. Jakub?
I remain somewhat confused about what this does.
Specifically IIUC the problem is that the radix of each node is
limited, so we need to start creating multi-layer hierarchies
if we want a higher radix. Or in the "5-layer mode" the radix
is automatically higher?
Basically, switching from 9 to 5 layers topology allows us to have 512
leaves instead of 8 leaves which improves performance. I will add this
information to the commit message and Documentation too, when we get an
ACK for devlink parameter.
Sounds fine. Please update the doc to focus on the radix, rather than
the layers. Layers are not so important to the user. And maybe give an
example of things which won't be possible with 5-layer config.
Jiri, I'm not aware of any other devices with this sort of trade off.
We shouldn't add the param if either:
- this can be changed dynamically as user instantiates rate limiters;
- we know other devices have similar needs.
If neither of those is true, param seems fine to me..
Where is this policy documented? If not, could you please? Let's make
this policy clear for now and for the future.