Page MenuHomeFreeBSD

OFED: Unbreak SDP support in ibcore
ClosedPublic

Authored by cem on Aug 17 2019, 3:16 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 26, 10:00 AM
Unknown Object (File)
Sun, Apr 7, 11:28 PM
Unknown Object (File)
Sun, Apr 7, 9:56 PM
Unknown Object (File)
Sun, Apr 7, 1:09 PM
Unknown Object (File)
Dec 22 2023, 9:32 PM
Unknown Object (File)
Sep 11 2023, 4:56 AM
Unknown Object (File)
Aug 27 2023, 2:31 PM
Unknown Object (File)
Aug 12 2023, 11:58 PM
Subscribers

Details

Summary

This regression was introduced in the r326169 Linux v4.9 Infiniband upgrade.
Restore the functionality.

Test Plan

Basic functionality established with mthca(4) devices.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Looks good. See my one comment.

sys/ofed/include/rdma/rdma_sdp.h
28 ↗(On Diff #60926)

Can you change this into a normal include guard?

This revision is now accepted and ready to land.Aug 17 2019, 8:15 AM
sys/ofed/include/rdma/rdma_sdp.h
28 ↗(On Diff #60926)

I prefer once, but if you have a strong preference for the boilerplate, I'm happy to change it.

If all compilers support \#pragma once I'm fine with that, but else we should follow the style in FreeBSD.

If all compilers support \#pragma once I'm fine with that, but else we should follow the style in FreeBSD.

All compilers do support #pragma once: https://en.wikipedia.org/wiki/Pragma_once#Portability

(The list we care about is much shorter: Clang and GCC.)

This revision was automatically updated to reflect the committed changes.
cem marked an inline comment as done.