[dpdk-dev] [PATCH] mbuf: enforce no option for dynamic fields and flags
Kinsella, Ray
mdr at ashroe.eu
Wed Oct 13 10:37:31 CEST 2021
On 12/10/2021 20:39, David Marchand wrote:
> As stated in the API, dynamic field and flags should be created with no
> additional flag (simply in the API for future changes).
>
> Fix the dynamic flag register helper which was not enforcing it and add
> unit tests.
>
> Fixes: 4958ca3a443a ("mbuf: support dynamic fields and flags")
>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---
> app/test/test_mbuf.c | 18 ++++++++++++++++++
> lib/mbuf/rte_mbuf_dyn.c | 4 ++++
> 2 files changed, 22 insertions(+)
Acked-by: Ray Kinsella <mdr at ashroe.eu>
More information about the dev
mailing list