History

RDMA/nldev: Expose port_cap_flags2

port_cap_flags2 represents IBTA PortInfo:CapabilityMask2. The field safely extends the RDMA_NLDEV_ATTR_CAP_FLAGS operand as it was exported as 64 bit to allow this kind of extension.

Michael Guralnik committed 7 years ago

Commit 4fa28131 parent 2e8039c2 files · +9 −3Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/rdma/rdma_netlink.h+3−0
@@ -283,6 +283,9 @@ enum rdma_nldev_attr { · 282 unmodified lines
283283
284284 /*
285285 * Device and port capabilities
286+ *
287+ * When used for port info, first 32-bits are CapabilityMask followed by
288+ * 16-bit CapabilityMask2.
286289 */
287290 RDMA_NLDEV_ATTR_CAP_FLAGS, /* u64 */
288291

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t