mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-06 02:26:17 +00:00
Each region has an independently configurable number of maximum snapshots. This information is not reported to userspace, making it not very discoverable. Fix this by adding a new DEVLINK_ATTR_REGION_MAX_SNAPSHOST attribute which is used to report this maximum. Ex: $devlink region pci/0000:af:00.0/nvm-flash: size 10485760 snapshot [] max 1 pci/0000:af:00.0/device-caps: size 4096 snapshot [] max 10 pci/0000:af:00.1/nvm-flash: size 10485760 snapshot [] max 1 pci/0000:af:00.1/device-caps: size 4096 snapshot [] max 10 This information enables users to understand why a new region command may fail due to having too many existing snapshots. Reported-by: Gurucharan G <gurucharanx.g@intel.com> (A Contingent worker at Intel) Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Acked-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
|---|---|---|
| .. | ||
| am65-nuss-cpsw-switch.rst | ||
| bnxt.rst | ||
| devlink-dpipe.rst | ||
| devlink-flash.rst | ||
| devlink-health.rst | ||
| devlink-info.rst | ||
| devlink-params.rst | ||
| devlink-port.rst | ||
| devlink-region.rst | ||
| devlink-reload.rst | ||
| devlink-resource.rst | ||
| devlink-trap.rst | ||
| hns3.rst | ||
| ice.rst | ||
| index.rst | ||
| ionic.rst | ||
| iosm.rst | ||
| mlx4.rst | ||
| mlx5.rst | ||
| mlxsw.rst | ||
| mv88e6xxx.rst | ||
| netdevsim.rst | ||
| nfp.rst | ||
| prestera.rst | ||
| qed.rst | ||
| ti-cpsw-switch.rst | ||