History

IB/uverbs: Move enum ib_raw_packet_caps to uapi

This enum is used by ibv_query_device_ex(3) so it should be defined in include/uapi/rdma/ib_user_verbs.h.

Xiao Yang committed 4 years ago

Commit 30ad63e1 parent 45bf2472 files · +18 −7Browse files

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

Unified · Split

include/uapi/rdma/ib_user_verbs.h+7−0
@@ -1298,4 +1298,11 @@ struct ib_uverbs_ex_modify_cq { · 1297 unmodified lines
12981298
12991299 #define IB_DEVICE_NAME_MAX 64
13001300
1301+enum ib_uverbs_raw_packet_caps {
1302+ IB_UVERBS_RAW_PACKET_CAP_CVLAN_STRIPPING = 1 << 0,
1303+ IB_UVERBS_RAW_PACKET_CAP_SCATTER_FCS = 1 << 1,
1304+ IB_UVERBS_RAW_PACKET_CAP_IP_CSUM = 1 << 2,
1305+ IB_UVERBS_RAW_PACKET_CAP_DELAY_DROP = 1 << 3,
1306+};
1307+
13011308 #endif /* IB_USER_VERBS_H */