Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 700277

Summary: [RHEL6] RFE : Enable SO_REUSEADDR support for rdma_cm
Product: Red Hat Enterprise Linux 6 Reporter: Travis Gummels <tgummels>
Component: kernelAssignee: Doug Ledford <dledford>
Status: CLOSED ERRATA QA Contact: Infiniband QE <infiniband-qe>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: honli, jwest, ltroan, tziporet, vlad, yevgenyp
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-2.6.32-193.el6 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 13:20:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 643467, 659725, 735499    
Attachments:
Description Flags
Test program none

Description Travis Gummels 2011-04-28 01:23:28 UTC
1. Customer Name

LLNL

2. What is the nature and description of the request?

Enable SO_REUSEADDR support for rdma_cm

3. Why does the customer need this? (List the business requirements here)

LLNL makes extensive use of Infiniband and Lustre in their environment.  There are 2 patches which are headed upstream which allow the reuse of port
numbers in the rdma_cm port space.  There is also a patch to the userspace
header file for userspace to use SO_REUSEADDR (Called RDMA_OPTION_ID_REUSEADDR).

LLNL has pulled the patches available at the following URL in to their RHEL 6 based HPC solution, CHAOS 5. They desire having these patches applied to the RHEL kernel.  With these patches Lustre can reuse priviledge ports for all it's connections.

http://thread.gmane.org/gmane.linux.drivers.rdma/7936

4. How would the customer like to achieve this? (List the functional
requirements here):

Red Hat apply the patches to the RHEL kernel.

5. For each functional requirement listed in question 4, specify how Red
Hat and the customer can test to confirm the requirement is successfully
implemented.

Ira Weiny has verified they work with his userspace tests.  Ira initially developed the patch and submitted them upstream within the past couple months.  He says they are very minor and should not affect others not using the REUSE option.

6. Is there already an existing RFE upstream or in Red Hat bugzilla?



7. How quickly does this need resolved? (desired target release)

6.2

8. Does this request meet the RHEL Inclusion criteria (please review)

yes

9. List the affected packages

kernel
 - drivers/infiniband
rdma

Comment 2 Doug Ledford 2011-08-11 21:12:44 UTC
The kernel patch for this is upstream and was pulled in during the refresh of the IB stack.

Comment 5 Travis Gummels 2011-08-22 21:00:38 UTC
Created attachment 519353 [details]
Test program

Comment 6 Aristeu Rozanski 2011-08-31 14:24:24 UTC
Patch(es) available on kernel-2.6.32-193.el6

Comment 9 Larry Troan 2011-10-24 13:49:21 UTC
Adding Mellanox to the cc list of this public bug.

Comment 11 Honggang LI 2011-11-01 08:17:03 UTC
(In reply to comment #2)
> The kernel patch for this is upstream and was pulled in during the refresh of
> the IB stack.

confirmed those patches had been applied correctly.

[root@rdma1 patch]# ls
0001-infiniband-RDMA-cma-Fix-handling-of-IPv6-addressing-.patch  0002-infiniband-RDMA-cma-Add-an-ID_REUSEADDR-option.patch

Comment 13 errata-xmlrpc 2011-12-06 13:20:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2011-1530.html