diff options
author | 2021-08-16 09:28:54 -0700 | |
---|---|---|
committer | 2021-08-24 22:56:34 -0400 | |
commit | 02243836ad6f384284f10302e6b820b893960d1c (patch) | |
tree | 5f1c8ff2fc5f610fa6dffe84e34533a8a230f2fd /tools/perf/scripts/python/export-to-sqlite.py | |
parent | scsi: lpfc: Add cmfsync WQE support (diff) | |
download | wireguard-linux-02243836ad6f384284f10302e6b820b893960d1c.tar.xz wireguard-linux-02243836ad6f384284f10302e6b820b893960d1c.zip |
scsi: lpfc: Add support for the CM framework
Complete the enablement of the cm framework feature in the adapter. Perform
the following:
- Detect the presence of the congestion management framework feature.
When the cm framework is present:
- Issue the SET_FEATURE command to enable the feature.
- Register the cm statistics buffer with the adapter.
- Read the cm enablement buffer to determine the cm framework state for cm
management.
When cm management is enabled:
- Monitor all FPIN and congestion signalling events, incrementing
counters.
- Regularly sync with the adapter to communicate congestion events and to
receive an rx request limit.
- Monitor requests for rx data and ensure that no more than the
adapter prescribed limit is issued on the link. If the limit is
exceeded, SCSI and/or NVMe traffic is temporarily suspended.
- Maintain the minute, hourly, daily statistics buffer.
- Monitor for congestion enablement change events, causing a reread of the
enablement buffer and acting on any change in enablement.
And:
- Add teardown logic, including buffer deregistration, on adapter
detachment or reset.
Link: https://lore.kernel.org/r/20210816162901.121235-10-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions