[v5 23/42] net/dpaa2: flow API refactor
Thomas Monjalon
thomas at monjalon.net
Sat Nov 9 20:01:59 CET 2024
23/10/2024 13:59, vanshika.shukla at nxp.com:
> +static inline int
> +dpaa2_fs_action_supported(enum rte_flow_action_type action)
> +{
> + int i;
> + int action_num = sizeof(dpaa2_supported_fs_action_type) /
> + sizeof(enum rte_flow_action_type);
>
> - curr = LIST_NEXT(curr, next);
> + for (i = 0; i < action_num; i++) {
> + if (action == dpaa2_supported_fs_action_type[i])
> + return true;
> }
>
> - return 0;
> + return false;
> }
One more compilation error:
unused function 'dpaa2_fs_action_supported'
More information about the dev
mailing list