RDMA/mana_ib: Add CQ interrupt support for RAW QPAt probing time, the MANA core code allocates EQs for supporting interruptson Ethernet queues. The same interrupt mechanisum is used by RAW QP.Us
RDMA/mana_ib: Add CQ interrupt support for RAW QPAt probing time, the MANA core code allocates EQs for supporting interruptson Ethernet queues. The same interrupt mechanisum is used by RAW QP.Use the same EQs for delivering interrupts on the CQ for the RAW QP.Signed-off-by: Long Li <longli@microsoft.com>Link: https://lore.kernel.org/r/1702692255-23640-4-git-send-email-longli@linuxonhyperv.comSigned-off-by: Leon Romanovsky <leon@kernel.org>
show more ...
RDMA/mana_ib: query device capabilitiesWith RDMA device registered, use it to query on hardware capabilities andcache this information for future query requests to the driver.Signed-off-by: Long
RDMA/mana_ib: query device capabilitiesWith RDMA device registered, use it to query on hardware capabilities andcache this information for future query requests to the driver.Signed-off-by: Long Li <longli@microsoft.com>Link: https://lore.kernel.org/r/1702692255-23640-3-git-send-email-longli@linuxonhyperv.comSigned-off-by: Leon Romanovsky <leon@kernel.org>
RDMA/mana_ib: register RDMA device with GDMASoftware client needs to register with the RDMA management interface onthe SoC to access more features, including querying device capabilitiesand RC qu
RDMA/mana_ib: register RDMA device with GDMASoftware client needs to register with the RDMA management interface onthe SoC to access more features, including querying device capabilitiesand RC queue pair.Signed-off-by: Long Li <longli@microsoft.com>Link: https://lore.kernel.org/r/1702692255-23640-2-git-send-email-longli@linuxonhyperv.comSigned-off-by: Leon Romanovsky <leon@kernel.org>
RDMA/mana_ib: Use v2 version of cfg_rx_steer_req to enable RX coalescingWith RX coalescing, one CQE entry can be used to indicate multiple packetson the receive queue. This saves processing time a
RDMA/mana_ib: Use v2 version of cfg_rx_steer_req to enable RX coalescingWith RX coalescing, one CQE entry can be used to indicate multiple packetson the receive queue. This saves processing time and PCI bandwidth overthe CQ.The MANA Ethernet driver also uses the v2 version of the protocol. Itdoesn't use RX coalescing and its behavior is not changed.Link: https://lore.kernel.org/r/1684045095-31228-1-git-send-email-longli@linuxonhyperv.comSigned-off-by: Long Li <longli@microsoft.com>Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdmaPull rdma updates from Jason Gunthorpe: "Quite a small cycle this time, even with the rc8. I suppose everyone went
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdmaPull rdma updates from Jason Gunthorpe: "Quite a small cycle this time, even with the rc8. I suppose everyone went to sleep over xmas. - Minor driver updates for hfi1, cxgb4, erdma, hns, irdma, mlx5, siw, mana - inline CQE support for hns - Have mlx5 display device error codes - Pinned DMABUF support for irdma - Continued rxe cleanups, particularly converting the MRs to use xarray - Improvements to what can be cached in the mlx5 mkey cache"* tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: (61 commits) IB/mlx5: Extend debug control for CC parameters IB/hfi1: Fix sdma.h tx->num_descs off-by-one errors IB/hfi1: Fix math bugs in hfi1_can_pin_pages() RDMA/irdma: Add support for dmabuf pin memory regions RDMA/mlx5: Use query_special_contexts for mkeys net/mlx5e: Use query_special_contexts for mkeys net/mlx5: Change define name for 0x100 lkey value net/mlx5: Expose bits for querying special mkeys RDMA/rxe: Fix missing memory barriers in rxe_queue.h RDMA/mana_ib: Fix a bug when the PF indicates more entries for registering memory on first packet RDMA/rxe: Remove rxe_alloc() RDMA/cma: Distinguish between sockaddr_in and sockaddr_in6 by size Subject: RDMA/rxe: Handle zero length rdma iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry() RDMA/mlx5: Use rdma_umem_for_each_dma_block() RDMA/umem: Remove unused 'work' member from struct ib_umem RDMA/irdma: Cap MSIX used to online CPUs + 1 RDMA/mlx5: Check reg_create() create for errors RDMA/restrack: Correct spelling RDMA/cxgb4: Fix potential null-ptr-deref in pass_establish() ...
RDMA/mana_ib: Fix a bug when the PF indicates more entries for registering memory on first packetWhen registering memory in a large chunk that doesn't fit into a single PFmessage, the PF may retur
RDMA/mana_ib: Fix a bug when the PF indicates more entries for registering memory on first packetWhen registering memory in a large chunk that doesn't fit into a single PFmessage, the PF may return GDMA_STATUS_MORE_ENTRIES on the first message ifthere are more messages needed for registering more chunks.Fix the VF to make it process the correct return code.Fixes: 0266a177631d ("RDMA/mana_ib: Add a driver for Microsoft Azure Network Adapter")Link: https://lore.kernel.org/r/1676507522-21018-1-git-send-email-longli@linuxonhyperv.comSigned-off-by: Long Li <longli@microsoft.com>Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
RDMA/mana_ib: Prevent array underflow in mana_ib_create_qp_raw()The "port" comes from the user and if it is zero then the: ndev = mc->ports[port - 1];assignment does an out of bounds read. I h
RDMA/mana_ib: Prevent array underflow in mana_ib_create_qp_raw()The "port" comes from the user and if it is zero then the: ndev = mc->ports[port - 1];assignment does an out of bounds read. I have changed the ifstatement to fix this and to mirror how it is done inmana_ib_create_qp_rss().Fixes: 0266a177631d ("RDMA/mana_ib: Add a driver for Microsoft Azure Network Adapter")Signed-off-by: Dan Carpenter <error27@gmail.com>Link: https://lore.kernel.org/r/Y8/3Vn8qx00kE9Kk@kiliAcked-by: Long Li <longli@microsoft.com>Signed-off-by: Leon Romanovsky <leon@kernel.org>
RDMA/mana: Remove redefinition of basic u64 typegdma_obj_handle_t is no more than redefinition of basicu64 type. Remove such obfuscation.Link: https://lore.kernel.org/r/3c1e821279e6a165d058655d2
RDMA/mana: Remove redefinition of basic u64 typegdma_obj_handle_t is no more than redefinition of basicu64 type. Remove such obfuscation.Link: https://lore.kernel.org/r/3c1e821279e6a165d058655d2343722d6650e776.1668160486.git.leonro@nvidia.comAcked-by: Long Li <longli@microsoft.com>Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
RDMA/mana_ib: Add a driver for Microsoft Azure Network AdapterAdd a RDMA VF driver for Microsoft Azure Network Adapter (MANA).Co-developed-by: Ajay Sharma <sharmaajay@microsoft.com>Signed-off-by
RDMA/mana_ib: Add a driver for Microsoft Azure Network AdapterAdd a RDMA VF driver for Microsoft Azure Network Adapter (MANA).Co-developed-by: Ajay Sharma <sharmaajay@microsoft.com>Signed-off-by: Ajay Sharma <sharmaajay@microsoft.com>Reviewed-by: Dexuan Cui <decui@microsoft.com>Signed-off-by: Long Li <longli@microsoft.com>Link: https://lore.kernel.org/r/1667502990-2559-13-git-send-email-longli@linuxonhyperv.comSigned-off-by: Leon Romanovsky <leon@kernel.org>
1234