[dpdk-dev] [PATCH] ethdev: rename tunnel offload callbacks
Ferruh Yigit
ferruh.yigit at intel.com
Mon Oct 19 10:31:22 CEST 2020
On 10/18/2020 1:15 PM, Gregory Etelson wrote:
> rename new rte_flow ops callbacks to emphasize relation to tunnel
> offload API.
>
> Signed-off-by: Gregory Etelson <getelson at nvidia.com>
> Acked-by: Ori Kam <orika at nvidia.com>
> ---
> lib/librte_ethdev/rte_flow.c | 13 +++++++------
> lib/librte_ethdev/rte_flow_driver.h | 4 ++--
> 2 files changed, 9 insertions(+), 8 deletions(-)
>
> diff --git a/lib/librte_ethdev/rte_flow.c b/lib/librte_ethdev/rte_flow.c
> index 380c5cae2c..d3e5cbc194 100644
> --- a/lib/librte_ethdev/rte_flow.c
> +++ b/lib/librte_ethdev/rte_flow.c
> @@ -1223,10 +1223,11 @@ rte_flow_tunnel_action_decap_release(uint16_t port_id,
>
> if (unlikely(!ops))
> return -rte_errno;
> - if (likely(!!ops->action_release)) {
> + if (likely(!!ops->tunnel_action_decap_release)) {
+1 to rename.
Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>
More information about the dev
mailing list