DPDK patches and discussions
 help / color / mirror / Atom feed
From: Suanming Mou <suanmingm@mellanox.com>
To: viacheslavo@mellanox.com, matan@mellanox.com
Cc: dev@dpdk.org, rasland@mellanox.com
Subject: [dpdk-dev] [PATCH 0/2] net/mlx5: fix incorrect layer choose with decap
Date: Wed, 19 Feb 2020 16:26:18 +0200	[thread overview]
Message-ID: <1582122380-54467-1-git-send-email-suanmingm@mellanox.com> (raw)

For header modify actions after decapsulation action, the header modify
actions should be applied to the inner layers.

Currently, it always treats the outermost layers as the corresponding
layer even though with decapsulation action.

Add the layer validation with decapsulation for the header modify action
and fix the incorrect layers chosen in header modify action with
decapsulation action.

Suanming Mou (2):
  net/mlx5: fix wrong layer validation with decapsulation
  net/mlx5: fix header modifiy choose wrong layer type

 drivers/net/mlx5/mlx5_flow_dv.c | 104 +++++++++++++++++++++++++++++++++-------
 1 file changed, 87 insertions(+), 17 deletions(-)

-- 
1.8.3.1


             reply	other threads:[~2020-02-19 14:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-19 14:26 Suanming Mou [this message]
2020-02-19 14:26 ` [dpdk-dev] [PATCH 1/2] net/mlx5: fix wrong layer validation with decapsulation Suanming Mou
2020-02-19 15:31   ` Matan Azrad
2020-02-19 14:26 ` [dpdk-dev] [PATCH 2/2] net/mlx5: fix header modifiy choose wrong layer type Suanming Mou
2020-02-19 15:31   ` Matan Azrad
2020-02-20 11:26 ` [dpdk-dev] [PATCH 0/2] net/mlx5: fix incorrect layer choose with decap Raslan Darawsheh

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=1582122380-54467-1-git-send-email-suanmingm@mellanox.com \
    --to=suanmingm@mellanox.com \
    --cc=dev@dpdk.org \
    --cc=matan@mellanox.com \
    --cc=rasland@mellanox.com \
    --cc=viacheslavo@mellanox.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).