From: "Nélio Laranjeiro" <nelio.laranjeiro@6wind.com>
To: dev@dpdk.org, stable@dpdk.org
Cc: Shahaf Shuler <shahafs@mellanox.com>, adrien.mazarguil@6wind.com
Subject: Re: [PATCH] net/mlx5: fix VLAN stripping indication
Date: Mon, 20 Feb 2017 16:59:34 +0100 [thread overview]
Message-ID: <20170220155934.GV23344@autoinstall.dev.6wind.com> (raw)
In-Reply-To: <1487511285-32833-1-git-send-email-shahafs@mellanox.com>
On Sun, Feb 19, 2017 at 03:34:45PM +0200, Shahaf Shuler wrote:
> The indication on vlan stripping was taken from the wrong location in the
> completion entry.
>
> Fixes: 9964b965ad69 ("net/mlx5: re-add Rx scatter support")
> CC: stable@dpdk.org
>
> Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
> ---
> drivers/net/mlx5/mlx5_rxtx.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/mlx5/mlx5_rxtx.c b/drivers/net/mlx5/mlx5_rxtx.c
> index 2703765..805aa5a 100644
> --- a/drivers/net/mlx5/mlx5_rxtx.c
> +++ b/drivers/net/mlx5/mlx5_rxtx.c
> @@ -1447,7 +1447,7 @@
> pkt->ol_flags |=
> rxq_cq_to_ol_flags(rxq, cqe);
> }
> - if (cqe->hdr_type_etc &
> + if (ntohs(cqe->hdr_type_etc) &
> MLX5_CQE_VLAN_STRIPPED) {
> pkt->ol_flags |= PKT_RX_VLAN_PKT |
> PKT_RX_VLAN_STRIPPED;
> --
> 1.8.3.1
>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
--
Nélio Laranjeiro
6WIND
next parent reply other threads:[~2017-02-20 15:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1487511285-32833-1-git-send-email-shahafs@mellanox.com>
2017-02-20 15:59 ` Nélio Laranjeiro [this message]
2017-02-20 11:14 [PATCH] net/mlx5: fix VLAN stripping indication Shahaf Shuler
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=20170220155934.GV23344@autoinstall.dev.6wind.com \
--to=nelio.laranjeiro@6wind.com \
--cc=adrien.mazarguil@6wind.com \
--cc=dev@dpdk.org \
--cc=shahafs@mellanox.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.