On 1/12/2015 7:11 PM, ira.we...@intel.com wrote:

--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
 enum ib_signature_prot_cap {
        IB_PROT_T10DIF_TYPE_1 = 1,
        IB_PROT_T10DIF_TYPE_2 = 1 << 1,
@@ -210,6 +214,7 @@ struct ib_device_attr {
        int                     sig_prot_cap;
        int                     sig_guard_cap;
        struct ib_odp_caps      odp_caps;
+       u64                     device_cap_flags2;


Just make the existing kernel size device_cap_flags field a u64, note it's not blankly copied to user space in uverbs as part of a chunk,
so just go there and copy the lower 32 bits.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to