d4293f96 | 07-May-2025 |
Konstantin Taranov <kotaranov@microsoft.com> |
RDMA/mana_ib: unify mana_ib functions to support any gdma device
Use the installed gdma_device instead of hard-coded device in requests to the HW.
Signed-off-by: Konstantin Taranov <kotaranov@micro
RDMA/mana_ib: unify mana_ib functions to support any gdma device
Use the installed gdma_device instead of hard-coded device in requests to the HW.
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Link: https://patch.msgid.link/1746633545-17653-4-git-send-email-kotaranov@linux.microsoft.com Reviewed-by: Long Li <longli@microsoft.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
show more ...
|
f1652d76 | 14-Apr-2025 |
Konstantin Taranov <kotaranov@microsoft.com> |
RDMA/mana_ib: Add support of 4M, 1G, and 2G pages
Check PF capability flag whether the 4M, 1G, and 2G pages are supported. Add these pages sizes to mana_ib, if supported.
Define possible page sizes
RDMA/mana_ib: Add support of 4M, 1G, and 2G pages
Check PF capability flag whether the 4M, 1G, and 2G pages are supported. Add these pages sizes to mana_ib, if supported.
Define possible page sizes in enum gdma_page_type and remove unused enum atb_page_size.
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Link: https://patch.msgid.link/1744621234-26114-4-git-send-email-kotaranov@linux.microsoft.com Reviewed-by: Long Li <longli@microsoft.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
show more ...
|
8f49682d | 14-Apr-2025 |
Konstantin Taranov <kotaranov@microsoft.com> |
RDMA/mana_ib: support of the zero based MRs
Add IB_ZERO_BASED to the valid flags and use the corresponding MR creation request for the zero based memory.
Signed-off-by: Konstantin Taranov <kotarano
RDMA/mana_ib: support of the zero based MRs
Add IB_ZERO_BASED to the valid flags and use the corresponding MR creation request for the zero based memory.
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Link: https://patch.msgid.link/1744621234-26114-3-git-send-email-kotaranov@linux.microsoft.com Reviewed-by: Long Li <longli@microsoft.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
show more ...
|
bee35b71 | 13-Mar-2025 |
Long Li <longli@microsoft.com> |
RDMA/mana_ib: Handle net event for pointing to the current netdev
When running under Hyper-V, the master device to the RDMA device is always bonded to this RDMA device. This is not user-configurable
RDMA/mana_ib: Handle net event for pointing to the current netdev
When running under Hyper-V, the master device to the RDMA device is always bonded to this RDMA device. This is not user-configurable.
The master device can be unbind/bind from the kernel. During those events, the RDMA device should set to the current netdev to reflect the change of master device from those events.
Signed-off-by: Long Li <longli@microsoft.com> Link: https://patch.msgid.link/1741821332-9392-2-git-send-email-longli@linuxonhyperv.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
show more ...
|
79bccd74 | 05-Feb-2025 |
Shiraz Saleem <shirazsaleem@microsoft.com> |
RDMA/mana_ib: Add port statistics support
Implement alloc_hw_port_stats and get_hw_stats APIs to support querying MANA VF port level statistics from rdma stat tool.
Example output from rdma stat to
RDMA/mana_ib: Add port statistics support
Implement alloc_hw_port_stats and get_hw_stats APIs to support querying MANA VF port level statistics from rdma stat tool.
Example output from rdma stat tool:
$rdma statistic show link mana_0/1 -p link mana_0/1 requester_timeout 45 requester_oos_nak 0 requester_rnr_nak 0 responder_rnr_nak 0 responder_oos 0 responder_dup_request 0 requester_implicit_nak 0 requester_readresp_psn_mismatch 0 nak_inv_req 0 nak_access_error 0 nak_opp_error 0 nak_inv_read 0 responder_local_len_error 0 requestor_local_prot_error 0 responder_rem_access_error 0 responder_local_qp_error 0 responder_malformed_wqe 0 general_hw_error 6 requester_rnr_nak_retries_exceeded 0 requester_retries_exceeded 5 total_fatal_error 6 received_cnps 0 num_qps_congested 0 rate_inc_events 0 num_qps_recovered 0 current_rate 100000
Signed-off-by: Shiraz Saleem <shirazsaleem@microsoft.com> Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Link: https://patch.msgid.link/1738751527-15517-1-git-send-email-kotaranov@linux.microsoft.com Reviewed-by: Long Li <longli@microsoft.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
show more ...
|
cd3c5ddf | 05-Feb-2025 |
Konstantin Taranov <kotaranov@microsoft.com> |
RDMA/mana_ib: request error CQEs when supported
Request an adapter with error CQEs when it is supported.
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Link: https://patch.msgid.link/1
RDMA/mana_ib: request error CQEs when supported
Request an adapter with error CQEs when it is supported.
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Link: https://patch.msgid.link/1738751713-16169-3-git-send-email-kotaranov@linux.microsoft.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
show more ...
|
6c53bf9c | 20-Jan-2025 |
Konstantin Taranov <kotaranov@microsoft.com> |
RDMA/mana_ib: indicate CM support
Set max_mad_size and IB_PORT_CM_SUP capability to enable connection manager.
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Link: https://patch.msgid.
RDMA/mana_ib: indicate CM support
Set max_mad_size and IB_PORT_CM_SUP capability to enable connection manager.
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Link: https://patch.msgid.link/1737394039-28772-14-git-send-email-kotaranov@linux.microsoft.com Reviewed-by: Shiraz Saleem <shirazsaleem@microsoft.com> Reviewed-by: Long Li <longli@microsoft.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
show more ...
|
cfef4525 | 20-Jan-2025 |
Konstantin Taranov <kotaranov@microsoft.com> |
RDMA/mana_ib: polling of CQs for GSI/UD
Add polling for the kernel CQs. Process completion events for UD/GSI QPs.
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Link: https://patch.msg
RDMA/mana_ib: polling of CQs for GSI/UD
Add polling for the kernel CQs. Process completion events for UD/GSI QPs.
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Link: https://patch.msgid.link/1737394039-28772-13-git-send-email-kotaranov@linux.microsoft.com Reviewed-by: Shiraz Saleem <shirazsaleem@microsoft.com> Reviewed-by: Long Li <longli@microsoft.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
show more ...
|
8001e925 | 20-Jan-2025 |
Konstantin Taranov <kotaranov@microsoft.com> |
RDMA/mana_ib: extend mana QP table
Enable mana QP table to store UD/GSI QPs. For send queues, set the most significant bit to one, as send and receive WQs can have the same ID in mana.
Signed-off-b
RDMA/mana_ib: extend mana QP table
Enable mana QP table to store UD/GSI QPs. For send queues, set the most significant bit to one, as send and receive WQs can have the same ID in mana.
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Link: https://patch.msgid.link/1737394039-28772-12-git-send-email-kotaranov@linux.microsoft.com Reviewed-by: Shiraz Saleem <shirazsaleem@microsoft.com> Reviewed-by: Long Li <longli@microsoft.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
show more ...
|
40ebdacb | 20-Jan-2025 |
Konstantin Taranov <kotaranov@microsoft.com> |
RDMA/mana_ib: implement req_notify_cq
Arm a CQ when req_notify_cq is called.
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Link: https://patch.msgid.link/1737394039-28772-11-git-send-
RDMA/mana_ib: implement req_notify_cq
Arm a CQ when req_notify_cq is called.
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Link: https://patch.msgid.link/1737394039-28772-11-git-send-email-kotaranov@linux.microsoft.com Reviewed-by: Shiraz Saleem <shirazsaleem@microsoft.com> Reviewed-by: Long Li <longli@microsoft.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
show more ...
|
c8017f5b | 20-Jan-2025 |
Konstantin Taranov <kotaranov@microsoft.com> |
RDMA/mana_ib: UD/GSI work requests
Implement post send and post recv for UD/GSI QPs. Add information about posted requests into shadow queues.
Co-developed-by: Shiraz Saleem <shirazsaleem@microsoft
RDMA/mana_ib: UD/GSI work requests
Implement post send and post recv for UD/GSI QPs. Add information about posted requests into shadow queues.
Co-developed-by: Shiraz Saleem <shirazsaleem@microsoft.com> Signed-off-by: Shiraz Saleem <shirazsaleem@microsoft.com> Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Link: https://patch.msgid.link/1737394039-28772-10-git-send-email-kotaranov@linux.microsoft.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
show more ...
|
df91c470 | 20-Jan-2025 |
Konstantin Taranov <kotaranov@microsoft.com> |
RDMA/mana_ib: create/destroy AH
Implement create and destroy AH for kernel.
In mana_ib, AV is passed as an sge in WQE. Allocate DMA memory and write an AV there.
Signed-off-by: Konstantin Taranov
RDMA/mana_ib: create/destroy AH
Implement create and destroy AH for kernel.
In mana_ib, AV is passed as an sge in WQE. Allocate DMA memory and write an AV there.
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Link: https://patch.msgid.link/1737394039-28772-8-git-send-email-kotaranov@linux.microsoft.com Reviewed-by: Shiraz Saleem <shirazsaleem@microsoft.com> Reviewed-by: Long Li <longli@microsoft.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
show more ...
|
bd4ee700 | 20-Jan-2025 |
Konstantin Taranov <kotaranov@microsoft.com> |
RDMA/mana_ib: UD/GSI QP creation for kernel
Implement UD/GSI QPs for the kernel. Allow create/modify/destroy for such QPs.
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Link: https://
RDMA/mana_ib: UD/GSI QP creation for kernel
Implement UD/GSI QPs for the kernel. Allow create/modify/destroy for such QPs.
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Link: https://patch.msgid.link/1737394039-28772-7-git-send-email-kotaranov@linux.microsoft.com Reviewed-by: Shiraz Saleem <shirazsaleem@microsoft.com> Reviewed-by: Long Li <longli@microsoft.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
show more ...
|
7f5192a8 | 20-Jan-2025 |
Konstantin Taranov <kotaranov@microsoft.com> |
RDMA/mana_ib: Create and destroy UD/GSI QP
Implement HW requests to create and destroy UD/GSI QPs. An UD/GSI QP has send and receive queues.
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.c
RDMA/mana_ib: Create and destroy UD/GSI QP
Implement HW requests to create and destroy UD/GSI QPs. An UD/GSI QP has send and receive queues.
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Link: https://patch.msgid.link/1737394039-28772-6-git-send-email-kotaranov@linux.microsoft.com Reviewed-by: Shiraz Saleem <shirazsaleem@microsoft.com> Reviewed-by: Long Li <longli@microsoft.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
show more ...
|