DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Question about recent change to rte_mbuf struct - user data and udata64 feels (breaks SPDK)
@ 2020-11-19  0:17 Luse, Paul E
  2020-11-19  9:29 ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: Luse, Paul E @ 2020-11-19  0:17 UTC (permalink / raw)
  To: dev

Hi,

Recently this patch https://github.com/DPDK/dpdk/commit/5284adad3e95025f9901869f581c8c04ea642d32  made the following change:

* mbuf: Removed the unioned fields ``userdata`` and ``udata64``
  from the structure ``rte_mbuf``. It is replaced with dynamic fields.

Which breaks the SPDK project’s crypto and compression capabilities as we use userdata to store context for our operation so it can be retrieved upcon completion of the operation.  It’s not clear to me that we are safe to use the fields that were added:

            uint64_t dynfield1[2]; /**< Reserved for dynamic fields. */
            uint64_t dynfield1[3]; /**< Reserved for dynamic fields. */

based on the comments.  Can someone please advise, why was this done and can we use these fields?

Thanks,
Paul


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-19 17:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-19  0:17 [dpdk-dev] Question about recent change to rte_mbuf struct - user data and udata64 feels (breaks SPDK) Luse, Paul E
2020-11-19  9:29 ` Thomas Monjalon
2020-11-19 14:55   ` Luse, Paul E

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).