History

ila: allow configuration of identifier type

Allow identifier to be explicitly configured for a mapping. This can either be one of the identifier types specified in the ILA draft or a value of ILA_ATYPE_USE_FORMAT which means the identifier type is inferred from the identifier type field. If a value other than ILA_ATYPE_USE_FORMAT is set for a mapping then it is assumed that the identifier type field is not present in an identifier.

Tom Herbert committed 9 years ago

Commit 70d5aef1 parent 84287bb4 files · +71 −23Browse files

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

Unified · Split

include/uapi/linux/ila.h+13−0
@@ -17,6 +17,7 @@ enum { · 16 unmodified lines
1717 ILA_ATTR_DIR, /* u32 */
1818 ILA_ATTR_PAD,
1919 ILA_ATTR_CSUM_MODE, /* u8 */
20+ ILA_ATTR_IDENT_TYPE, /* u8 */
2021
2122 __ILA_ATTR_MAX,
2223 };
@@ -44,4 +45,16 @@ enum { · 21 unmodified lines
4445 ILA_CSUM_NEUTRAL_MAP_AUTO,
4546 };
4647
48+enum {
49+ ILA_ATYPE_IID = 0,
50+ ILA_ATYPE_LUID,
51+ ILA_ATYPE_VIRT_V4,
52+ ILA_ATYPE_VIRT_UNI_V6,
53+ ILA_ATYPE_VIRT_MULTI_V6,
54+ ILA_ATYPE_NONLOCAL_ADDR,
55+ ILA_ATYPE_RSVD_1,
56+ ILA_ATYPE_RSVD_2,
57+
58+ ILA_ATYPE_USE_FORMAT = 32, /* Get type from type field in identifier */
59+};
4760 #endif /* _UAPI_LINUX_ILA_H */

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