Page MenuHomeFreeBSD

OFED: Unbreak SDP support in ibcore
ClosedPublic

Authored by cem on Aug 17 2019, 3:16 AM.
Tags
None
Referenced Files
F136937164: D21298.id60952.diff
Thu, Nov 20, 6:11 PM
F136937093: D21298.id.diff
Thu, Nov 20, 6:10 PM
F136937068: D21298.id60926.diff
Thu, Nov 20, 6:10 PM
F136935378: D21298.diff
Thu, Nov 20, 5:59 PM
Unknown Object (File)
Sun, Nov 16, 3:21 AM
Unknown Object (File)
Sun, Nov 16, 12:29 AM
Unknown Object (File)
Sun, Nov 16, 12:06 AM
Unknown Object (File)
Wed, Nov 5, 12:29 AM
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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 25929
Build 24493: arc lint + arc unit

Event Timeline

Looks good. See my one comment.

sys/ofed/include/rdma/rdma_sdp.h
28

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

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.