mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 06:04:44 +01:00
ICM is a portion of the host's memory assigned to a function by the OS
through requests made by the NIC's firmware.
PF ICM consumption can be accessed directly, while VF/SF ICM consumption
can be accessed through their representors in switchdev mode.
The value is exposed to the user in granularity of 4KB through the vnic
health reporter as follows:
$ devlink health diagnose pci/0000:08:00.0 reporter vnic
vNIC env counters:
total_error_queues: 0 send_queue_priority_update_flow: 0
comp_eq_overrun: 0 async_eq_overrun: 0 cq_overrun: 0
invalid_command: 0 quota_exceeded_command: 0
nic_receive_steering_discard: 0 icm_consumption: 1032
Signed-off-by: Akiva Goldberger <agoldberger@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20250209101716.112774-11-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
||
|---|---|---|
| .. | ||
| am65-nuss-cpsw-switch.rst | ||
| bnxt.rst | ||
| devlink-dpipe.rst | ||
| devlink-eswitch-attr.rst | ||
| devlink-flash.rst | ||
| devlink-health.rst | ||
| devlink-info.rst | ||
| devlink-linecard.rst | ||
| devlink-params.rst | ||
| devlink-port.rst | ||
| devlink-region.rst | ||
| devlink-reload.rst | ||
| devlink-resource.rst | ||
| devlink-selftests.rst | ||
| devlink-trap.rst | ||
| etas_es58x.rst | ||
| hns3.rst | ||
| i40e.rst | ||
| ice.rst | ||
| index.rst | ||
| ionic.rst | ||
| iosm.rst | ||
| mlx4.rst | ||
| mlx5.rst | ||
| mlxsw.rst | ||
| mv88e6xxx.rst | ||
| netdevsim.rst | ||
| nfp.rst | ||
| octeontx2.rst | ||
| prestera.rst | ||
| qed.rst | ||
| sfc.rst | ||
| ti-cpsw-switch.rst | ||