+enum ib_uverbs_wc_flags {
+ IB_UVERBS_WC_GRH = (1 << 0),
+ IB_UVERBS_WC_WITH_IMM = (1 << 1),
+ IB_UVERBS_WC_WITH_INVALIDATE = (1 << 2),
+ IB_UVERBS_WC_IP_CSUM_OK = (1 << 3),
+ IB_UVERBS_WC_WITH_SMAC = (1 << 4),
+ IB_UVERBS_WC_WITH_VLAN = (1 << 5),
+ IB_UVERBS_WC_WITH_NETWORK_HDR_TYPE = (1 << 6),
+};
It will be great to add _FLAGS_ mark in the name and add _LAST too.
Don't you prefer to stay consistent with the kernel enumeration?
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html