DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@amd.com>
To: Chaoyong He <chaoyong.he@corigine.com>, dev@dpdk.org
Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com, stable@dpdk.org
Subject: Re: [PATCH] net/nfp: fix the VLAN push flow action
Date: Thu, 18 May 2023 11:12:16 +0100	[thread overview]
Message-ID: <f4cf8adb-bd04-243f-ef65-2c158e999621@amd.com> (raw)
In-Reply-To: <20230512020346.616180-1-chaoyong.he@corigine.com>

On 5/12/2023 3:03 AM, Chaoyong He wrote:
> When process VLAN push flow action, the former logic perform the
> mask and shift operations directly on the big endian data, which
> cause both the pcp and VLAN id are not correct for offloaded packets.
> 
> Fix it by convert the data from big endian to CPU endian before
> perform the mask and shift operations.
> 
> Fixes: eb9277cb2fd1 ("net/nfp: support VLAN push flow action")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
> Reviewed-by: Niklas Söderlund <niklas.soderlund@corigine.com>
>

Applied to dpdk-next-net/main, thanks.

      reply	other threads:[~2023-05-18 10:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-12  2:03 Chaoyong He
2023-05-18 10:12 ` Ferruh Yigit [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=f4cf8adb-bd04-243f-ef65-2c158e999621@amd.com \
    --to=ferruh.yigit@amd.com \
    --cc=chaoyong.he@corigine.com \
    --cc=dev@dpdk.org \
    --cc=niklas.soderlund@corigine.com \
    --cc=oss-drivers@corigine.com \
    --cc=stable@dpdk.org \
    /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).