Re: [PATCH RFC 0/3] Introduce device attribute rdma_read_access_flags
On 11/10/2015 5:31 AM, Christoph Hellwig wrote: On Tue, Nov 10, 2015 at 12:44:12PM +0200, Sagi Grimberg wrote: Instead of each ULP being aware of iWARP/IB protocol in order to determine the rdma_read access flags, have it accessible as an attribute in the ib_device. Patch 2,3 fixes RDS and svcrdma which gave remote access to rdma_reads unconditionally. This patchset goes on top of Christoph's device attributes merge into struct ib_device. FYI, I've updated the git branch to be based on current linus' tree which required a few bit to be fixed. I'd also like to note that while everyone but Or seemed to be generally fine with it I'd really prefer and actualy revivewed-by or acked-by tag. -- Acked-by: Steve Wise-- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH RFC 0/3] Introduce device attribute rdma_read_access_flags
Instead of each ULP being aware of iWARP/IB protocol in order to determine the rdma_read access flags, have it accessible as an attribute in the ib_device. Patch 2,3 fixes RDS and svcrdma which gave remote access to rdma_reads unconditionally. This patchset goes on top of Christoph's device attributes merge into struct ib_device. Sagi Grimberg (3): IB/core: Expose a device attribute for rdma_read access flags svcrdma: Use device rdma_read_access_flags RDS_IW: Use device rdma_read_access_flags drivers/infiniband/hw/cxgb3/iwch_provider.c | 2 ++ drivers/infiniband/hw/cxgb4/provider.c | 2 ++ drivers/infiniband/hw/mlx4/main.c| 1 + drivers/infiniband/hw/mlx5/main.c| 1 + drivers/infiniband/hw/mthca/mthca_provider.c | 1 + drivers/infiniband/hw/nes/nes_verbs.c| 2 ++ drivers/infiniband/hw/ocrdma/ocrdma_main.c | 1 + drivers/infiniband/hw/qib/qib_verbs.c| 1 + drivers/staging/rdma/hfi1/verbs.c| 2 ++ include/rdma/ib_verbs.h | 1 + net/rds/iw_send.c| 17 ++--- net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 2 +- 12 files changed, 25 insertions(+), 8 deletions(-) -- 1.8.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH RFC 0/3] Introduce device attribute rdma_read_access_flags
FYI, I've updated the git branch to be based on current linus' tree which required a few bit to be fixed. I'd also like to note that while everyone but Or seemed to be generally fine with it I'd really prefer and actualy revivewed-by or acked-by tag. You can add: Tested-by: Sagi Grimberg-- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html