ib_sg_dma changes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | IB/core: Remove overload in ib_sg_dma*include/ | +6 | 0 replies | |
| 2/4 | IB/qib: remove ib_sg_dma_address() and ib_sg_dma_len() overloadsdrivers/ | +4 | 0 replies | |
| 3/4 | IB/ipath: remove ib_sg_dma_address() and ib_sg_dma_len() overloadsdrivers/ | +15 | 0 replies | |
| 4/4 | IB/ehca: remove ib_sg_dma_address() and ib_sg_dma_len() overloadsdrivers/ | +0 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Dennis Dalessandro | Vinod Kumar |
|---|---|---|
| 1/4 | R-b | T-b |
| 2/4 | R-b | T-b |
| 3/4 | R-b | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] ib_sg_dma changes
This patch series modified the ib_sg_dma API to
eliminate the .dma_len and .dma_address methods.
In all present cases that overload these methods (ipath, qib, ehca), the lack of these methods are compensated for by code changes to the driver .map_sg to insure that the vanilla sg_dma_address() and sg_dma_len() will do the same thing as the equivalent former ib_sg_dma_address() and ib_sg_dma_len() calls into the drivers.
This patch series is a followup to this recent submission
http://marc.info/?l=linux-rdma&m=139602422108727&w=2
and Bart's similar comment in
http://marc.info/?l=linux-netdev&m=135643746610259&w=2.
Roland, I'm not sure of the history of these methods and what rationale caused them to be added?
There is obviously an interim step that could be done here to preseve the overload by not changing verbs, yet change qib/ipath/echa to not overload them. This would allow the drivers to work even when the "correct" API's had not been used by the ULP.
---
Mike Marciniszyn (4):
IB/core: Remove overload in ib_sg_dma*
IB/qib: remove ib_sg_dma_address() and ib_sg_dma_len() overloads IB/ipath: remove ib_sg_dma_address() and ib_sg_dma_len() overloads IB/ehca: remove ib_sg_dma_address() and ib_sg_dma_len() overloads
drivers/infiniband/hw/ehca/ehca_mrmw.c | 12 --------- drivers/infiniband/hw/ipath/ipath_dma.c | 43 +++++++++++-------------------- drivers/infiniband/hw/qib/qib_dma.c | 21 +++------------ include/rdma/ib_verbs.h | 14 ++++------ 4 files changed, 25 insertions(+), 65 deletions(-)
Signature · 5 lines
Mike -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html