rdma-core icon indicating copy to clipboard operation
rdma-core copied to clipboard

RFC kernel-boot: Update udev rules and rdma_rename to handle auxiliary devices

Open tatyana-en opened this issue 2 years ago • 4 comments

Update udev rules for irdma driver to set ID_RDMA_IWARP and ID_RDMA_ROCE environment vars based on the auxiliary device name. For the new rules to work correctly, a patch for the irdma driver is necessary to change the ib device parent from pci to auxiliary device.

Change the rdma_rename logic to recognize auxiliary devices and rename ib devices by_onboard or by_pci the same way it did before they were parented by auxiliary devices.

Signed-off-by: Tatyana Nikolova [email protected]

tatyana-en avatar Nov 02 '22 16:11 tatyana-en

Hi, did you have a chance to review these changes? Do you have any comments?

tatyana-en avatar Nov 28 '22 17:11 tatyana-en

Thought I commented on the mailing list, send the kernel side as a non-rfc, it looks correct

jgunthorpe avatar Nov 29 '22 01:11 jgunthorpe

Thank you, Jason. We are going to send a kernel patch soon and I am going to update this PR to drop the RFC. I was asking to check if you are okay with the user space rdma_rename changes.

tatyana-en avatar Nov 29 '22 03:11 tatyana-en