On Tue, 12 Jan 2021 10:39:30 +0200 Ido Schimmel wrote:
From: Danielle Ratson <redacted>
The switch ASIC has a limited capacity of physical ('flavour physical'
in devlink terminology) ports that it can support. While each system is
brought up with a different number of ports, this number can be
increased via splitting up to the ASIC's limit.
Expose physical ports as a devlink resource so that user space will have
visibility to the maximum number of ports that can be supported and the
current occupancy.
Any thoughts on making this a "generic" resource?
The limitation on number of logical ports is pretty common for switches.