[dpdk-dev] [PATCH v4 2/4] security: add option for faster udata or mdata access
Akhil Goyal
gakhil at marvell.com
Mon Sep 6 20:59:18 CEST 2021
> Currently rte_security_set_pkt_metadata() and rte_security_get_userdata()
> methods to set pkt metadata on Inline outbound and get userdata
> after Inline inbound processing is always driver specific callbacks.
>
> For drivers that do not have much to do in the callbacks but just
> to update metadata in rte_security dynamic field and get userdata
> from rte_security dynamic field, having to just to PMD specific
> callback is costly per packet operation. This patch provides
> a mechanism to do the same in inline function and avoid function
> pointer jump if a driver supports the same.
>
> Signed-off-by: Nithin Dabilpuram <ndabilpuram at marvell.com>
> ---
Acked-by: Akhil Goyal <gakhil at marvell.com>
More information about the dev
mailing list