All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrien Mazarguil <adrien.mazarguil@6wind.com>
To: Olivier Matz <olivier.matz@6wind.com>
Cc: dev@dpdk.org,
	Matthieu Ternisien d'Ouville <matthieu.tdo@6wind.com>,
	stable@dpdk.org, Samuel Gauthier <samuel.gauthier@6wind.com>
Subject: Re: [PATCH] net/mlx: fix IPv4 and IPv6 packet type
Date: Mon, 16 Jan 2017 15:03:54 +0100	[thread overview]
Message-ID: <20170116140354.GE3779@6wind.com> (raw)
In-Reply-To: <1484153073-18427-1-git-send-email-olivier.matz@6wind.com>

On Wed, Jan 11, 2017 at 05:44:33PM +0100, Olivier Matz wrote:
> From: Matthieu Ternisien d'Ouville <matthieu.tdo@6wind.com>
> 
> Mellanox PMDs do not differentiate IP header with or without options, so
> the advertised packet type for an IPv4 should not be RTE_PTYPE_L3_IPV4,
> which explicitly means "does not contain any header option".
> 
> Change the driver to set
> RTE_PTYPE(_INNER)_L3_IPV4_EXT_UNKNOWN or
> RTE_PTYPE(_INNER)_L3_IPV6_EXT_UNKNOWN flags for all IPv4/IPv6 packets
> received.
> 
> Fixes: 429df3803a16 ("mlx4: replace some offload flags with packet type")
> Fixes: 67fa62bc672d ("mlx5: support checksum offload")
> 
> CC: stable@dpdk.org
> Signed-off-by: Samuel Gauthier <samuel.gauthier@6wind.com>
> Signed-off-by: Matthieu Ternisien d'Ouville <matthieu.tdo@6wind.com>
> Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
> ---
>  drivers/net/mlx4/mlx4.c      | 18 ++++++++++++------
>  drivers/net/mlx5/mlx5_rxtx.c | 12 ++++++------
>  2 files changed, 18 insertions(+), 12 deletions(-)

Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>

-- 
Adrien Mazarguil
6WIND

  reply	other threads:[~2017-01-16 14:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-11 16:44 [PATCH] net/mlx: fix IPv4 and IPv6 packet type Olivier Matz
2017-01-16 14:03 ` Adrien Mazarguil [this message]
2017-01-16 20:03   ` [dpdk-stable] " Ferruh Yigit

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=20170116140354.GE3779@6wind.com \
    --to=adrien.mazarguil@6wind.com \
    --cc=dev@dpdk.org \
    --cc=matthieu.tdo@6wind.com \
    --cc=olivier.matz@6wind.com \
    --cc=samuel.gauthier@6wind.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.