On 12/20/24 5:42 PM, Mina Almasry wrote: > diff --git a/include/uapi/linux/uio.h b/include/uapi/linux/uio.h > index 649739e0c404..41490cde95ad 100644 > --- a/include/uapi/linux/uio.h > +++ b/include/uapi/linux/uio.h > @@ -38,6 +38,11 @@ struct dmabuf_token { > __u32 token_count; > }; > > +struct dmabuf_tx_cmsg { > + __u32 dmabuf_id; I believe you need to make sure the u64 is properly aligned: __u32 unused; // and verify it is set to 0 > + __u64 dmabuf_offset; > +}; > + > /* > * UIO_MAXIOV shall be at least 16 1003.1g (5.4.1.1) > */