Leon Romanovsky
6094ea64c6
RDMA: Move DMA block iterator logic into dedicated files
...
The DMA iterator logic was mixed into verbs and umem-specific code,
forcing all users to include rdma/ib_umem.h. Move the block iterator
logic into iter.c and rdma/iter.h so that rdma/ib_umem.h and
rdma/ib_verbs.h can be separated in a follow-up patch.
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Leon Romanovsky <[email protected] >
2026-02-25 08:15:30 -05:00
Abhijit Gangurde
ed9836c040
RDMA/ionic: Fix build failure on SPARC due to xchg() operand size
...
xchg() is used to safely handle the event queue arming.
However SPARC xchg operates only 4B of variable.
Change variable type from bool to int.
Unverified Error/Warning (likely false positive, kindly check if interested):
ERROR: modpost: "__xchg_called_with_bad_pointer" [drivers/infiniband/hw/ionic/ionic_rdma.ko] undefined!
Error/Warning ids grouped by kconfigs:
recent_errors
`-- sparc-allmodconfig
`-- ERROR:__xchg_called_with_bad_pointer-drivers-infiniband-hw-ionic-ionic_rdma.ko-undefined
Fixes: f3bdbd4270 ("RDMA/ionic: Create device queues to support admin operations")
Reported-by: Leon Romanovsky <[email protected] >
Closes: https://lore.kernel.org/lkml/20250918180750.GA135135@unreal/
Signed-off-by: Abhijit Gangurde <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Leon Romanovsky <[email protected] >
2025-09-21 07:30:37 -04:00
Abhijit Gangurde
ea4c399642
RDMA/ionic: Implement device stats ops
...
Implement device stats operations for hw stats and qp stats.
Co-developed-by: Allen Hubbe <[email protected] >
Signed-off-by: Allen Hubbe <[email protected] >
Signed-off-by: Abhijit Gangurde <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Leon Romanovsky <[email protected] >
2025-09-11 02:18:36 -04:00
Abhijit Gangurde
2075bbe8ef
RDMA/ionic: Register device ops for miscellaneous functionality
...
Implement idbdev ops for device and port information.
Co-developed-by: Andrew Boyer <[email protected] >
Signed-off-by: Andrew Boyer <[email protected] >
Co-developed-by: Allen Hubbe <[email protected] >
Signed-off-by: Allen Hubbe <[email protected] >
Signed-off-by: Abhijit Gangurde <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Leon Romanovsky <[email protected] >
2025-09-11 02:18:36 -04:00
Abhijit Gangurde
b83c62055b
RDMA/ionic: Register device ops for datapath
...
Implement device supported verb APIs for datapath.
Co-developed-by: Andrew Boyer <[email protected] >
Signed-off-by: Andrew Boyer <[email protected] >
Co-developed-by: Allen Hubbe <[email protected] >
Signed-off-by: Allen Hubbe <[email protected] >
Signed-off-by: Abhijit Gangurde <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Leon Romanovsky <[email protected] >
2025-09-11 02:18:36 -04:00
Abhijit Gangurde
e8521822c7
RDMA/ionic: Register device ops for control path
...
Implement device supported verb APIs for control path.
Co-developed-by: Andrew Boyer <[email protected] >
Signed-off-by: Andrew Boyer <[email protected] >
Co-developed-by: Allen Hubbe <[email protected] >
Signed-off-by: Allen Hubbe <[email protected] >
Signed-off-by: Abhijit Gangurde <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Leon Romanovsky <[email protected] >
2025-09-11 02:18:36 -04:00
Abhijit Gangurde
f3bdbd4270
RDMA/ionic: Create device queues to support admin operations
...
Setup RDMA admin queues using device command exposed over
auxiliary device and manage these queues using ida.
Co-developed-by: Andrew Boyer <[email protected] >
Signed-off-by: Andrew Boyer <[email protected] >
Co-developed-by: Allen Hubbe <[email protected] >
Signed-off-by: Allen Hubbe <[email protected] >
Signed-off-by: Abhijit Gangurde <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Leon Romanovsky <[email protected] >
2025-09-11 02:18:36 -04:00
Abhijit Gangurde
8d765af51a
RDMA/ionic: Register auxiliary module for ionic ethernet adapter
...
Register auxiliary module to create ibdevice for ionic
ethernet adapter.
Co-developed-by: Andrew Boyer <[email protected] >
Signed-off-by: Andrew Boyer <[email protected] >
Co-developed-by: Allen Hubbe <[email protected] >
Signed-off-by: Allen Hubbe <[email protected] >
Signed-off-by: Abhijit Gangurde <[email protected] >
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Leon Romanovsky <[email protected] >
2025-09-11 02:18:36 -04:00