diff options
author | Bill Fischofer <bill.fischofer@linaro.org> | 2015-04-10 10:52:15 -0500 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2015-05-08 13:16:56 +0300 |
commit | 1a042da102ee03f1ba05821af0664906e3409d09 (patch) | |
tree | 89639e54e77ef89620fea53899d4a69b9cd52e37 /platform/linux-generic | |
parent | 4e76657603313c42ae978411c146bc725b5d0f73 (diff) |
linux-generic: buffer: restructure user mdatadata fields
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Reviewed-and-tested-by: Ciprian Barbu <ciprian.barbu@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic')
-rw-r--r-- | platform/linux-generic/include/odp_buffer_internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/linux-generic/include/odp_buffer_internal.h b/platform/linux-generic/include/odp_buffer_internal.h index 3a3d2a28d..ee965bb4b 100644 --- a/platform/linux-generic/include/odp_buffer_internal.h +++ b/platform/linux-generic/include/odp_buffer_internal.h @@ -124,9 +124,9 @@ typedef struct odp_buffer_hdr_t { uint64_t buf_u64; /* user u64 */ void *buf_ctx; /* user context */ const void *buf_cctx; /* const alias for ctx */ - void *udata_addr; /* user metadata addr */ }; - size_t udata_size; /* size of user metadata */ + void *udata_addr; /* user metadata addr */ + uint32_t udata_size; /* size of user metadata */ uint32_t segcount; /* segment count */ uint32_t segsize; /* segment size */ void *addr[ODP_BUFFER_MAX_SEG]; /* block addrs */ |