]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r324792:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 9 Nov 2017 19:00:11 +0000 (19:00 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 9 Nov 2017 19:00:11 +0000 (19:00 +0000)
commit8352a5e3284f9f76af89697957f8cef55bd5ad3f
tree7cb152745304b45e99194816e2dad82bc314eb1f
parent3ae99ef518eb5bdb6ab0774a7735db161ae02e66
MFC r324792:
The remote DMA TCP portspace selector, RDMA_PS_TCP, is used for both
iWarp and RoCE in ibcore. The selection of RDMA_PS_TCP can not be used
to indicate iWarp protocol use. Backport the proper IB device
capabilities from Linux upstream to distinguish between iWarp and
RoCE. Only allocate the additional socket required for iWarp for RDMA
IDs when at least one iWarp device present. This resolves
interopability issues between iWarp and RoCE in ibcore

Reviewed by: np @
Differential Revision: https://reviews.freebsd.org/D12563
Sponsored by: Mellanox Technologies

git-svn-id: svn://svn.freebsd.org/base/stable/10@325611 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/cxgbe/iw_cxgbe/provider.c
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
sys/ofed/drivers/infiniband/core/cma.c
sys/ofed/drivers/infiniband/core/device.c
sys/ofed/drivers/infiniband/hw/mlx4/main.c
sys/ofed/drivers/infiniband/hw/mthca/mthca_provider.c
sys/ofed/include/linux/kernel.h
sys/ofed/include/rdma/ib_mad.h
sys/ofed/include/rdma/ib_verbs.h