[dpdk-dev] [PATCH v6 06/10] mbuf_offload: library to support attaching offloads to a mbuf

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Nov 13 16:59:54 CET 2015


2015-11-10 17:32, Declan Doherty:
> @@ -841,6 +844,9 @@ struct rte_mbuf {
> +
> +       /* Chain of off-load operations to perform on mbuf */
> +       struct rte_mbuf_offload *offload_ops;
>  } __rte_cache_aligned;

Why is there a pointer in the mbuf structure?
Can it be a metadata for the crypto layer instead?

More generally, I have the feeling that the idea behind this new API
is not enough explained. How is it related to the ethernet offloads?
Could you add a doxygen explanation starting with
/**
 * @file

About doxygen, please think to integrate your new header.


More information about the dev mailing list