Bug 221799 - [ofed] no ipv6 support in iw_cm_id structure
Summary: [ofed] no ipv6 support in iw_cm_id structure
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2017-08-25 12:09 UTC by Bartosz Sobczak
Modified: 2019-05-21 19:03 UTC (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Bartosz Sobczak 2017-08-25 12:09:43 UTC
An iw_cm_id structure from within ofed is unable to store an ipv6 structure and therefore there is no possibility to pass the binded addresses to iw_cm_connect function.

The iw_cm_id struct should be modified to look analogically to linux's realization of this structure, that is there should be local_addr and remote_addr in type of 'struct sockaddr_storage'. The change would involve changes at least to the OFED cm and iw_cxgbe driver.
Comment 1 Navdeep Parhar freebsd_committer 2017-08-25 19:14:45 UTC
Hello Bartosz,

There is an OFED update in progress in the projects/bsd_rdma_4_9 branch.  Does
that have IPv6 support?  One of my colleagues has iWARP working on that branch.
I'll ask when he can post patches.  I'm sure you'll want to ensure that the X722
iWARP driver works there.


Comment 2 Bartosz Sobczak 2017-08-25 20:45:23 UTC
(In reply to Navdeep Parhar from comment #1)

Thanks for information! I'll dig into it to check if it would work for me. For sure i had seen some minor problems in the CURRENT sources, but the iw_cm_id structure looked the most serious to me. I'll give a feedback next week.

Comment 3 Hans Petter Selasky freebsd_committer 2017-08-29 13:33:29 UTC
Navdeep is the one to add iWarp support to the bsd_rdma_4_9 branch.

Comment 4 Bjoern A. Zeeb freebsd_committer 2019-05-21 19:03:17 UTC
Is this overcome by events?
Been sorted and supported now?
Still relevant?