patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Kevin Traynor <ktraynor@redhat.com>
To: Viacheslav Ovsiienko <viacheslavo@nvidia.com>, stable@dpdk.org
Cc: orika@nvidia.com, Ori Kam <orika@mellanox.com>
Subject: Re: [dpdk-stable] [PATCH v2] [18.11] net/mlx5: fix selection between encap and decap
Date: Tue, 8 Dec 2020 13:38:00 +0000	[thread overview]
Message-ID: <08f84381-b03b-9817-c65a-440defbc93dd@redhat.com> (raw)
In-Reply-To: <1607431635-3030-1-git-send-email-viacheslavo@nvidia.com>

On 08/12/2020 12:47, Viacheslav Ovsiienko wrote:
> From: Ori Kam <orika@mellanox.com>
> 
> [ upstream commit 9e0d81c1a13cac520a535f259e7d3c9132770e14 ]
> 
> The current raw_encap function selects if to decap or encap
> based on the egress/ingress attribute. This concepts doesn't work
> in case of FDB since all flows are considered ingress.
> 
> To solve this issue we moved to check the encap size.
> if the encap size is larger then eth + ipv4 it means we are
> trying to encap.
> 
> Fixes: 8ba9eee4ce32 ("net/mlx5: add raw data encap/decap to Direct Verbs")
> 
> Signed-off-by: Ori Kam <orika@mellanox.com>
> Acked-by: Matan Azrad <matan@mellanox.com>
> ---
>  drivers/net/mlx5/mlx5_flow_dv.c | 28 +++++++++++++---------------
>  1 file changed, 13 insertions(+), 15 deletions(-)

Applied, thanks.


      reply	other threads:[~2020-12-08 13:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-08 12:47 Viacheslav Ovsiienko
2020-12-08 13:38 ` Kevin Traynor [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=08f84381-b03b-9817-c65a-440defbc93dd@redhat.com \
    --to=ktraynor@redhat.com \
    --cc=orika@mellanox.com \
    --cc=orika@nvidia.com \
    --cc=stable@dpdk.org \
    --cc=viacheslavo@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).