22/01/2024 04:57, Chengwen Feng:
> Introduce macros: RTE_MBIT64/RTE_MBIT32, RTE_GENMASK64/RTE_GENMASK32,
> and RTE_FIELD_GET64/RTE_FIELD_GET32.
A bit of context and description would help.
> +/**
> + * Get the uint64_t value for a multiple bits set.
> + *
> + * @param val
> + * The value may no
Introduce macros: RTE_MBIT64/RTE_MBIT32, RTE_GENMASK64/RTE_GENMASK32,
and RTE_FIELD_GET64/RTE_FIELD_GET32.
Signed-off-by: Chengwen Feng
---
lib/eal/include/rte_bitops.h | 64
1 file changed, 64 insertions(+)
diff --git a/lib/eal/include/rte_bitops.h b/lib/ea
2 matches
Mail list logo