patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Jerin Jacob <jerin.jacob@caviumnetworks.com>
To: "Joseph, Anoob" <Anoob.Joseph@cavium.com>
Cc: Ferruh Yigit <ferruh.yigit@intel.com>,
	"Jacob,  Jerin" <Jerin.JacobKollanukkaran@cavium.com>,
	"Saxena, Nitin" <Nitin.Saxena@cavium.com>,
	"Athreya, Narayana Prasad" <NarayanaPrasad.Athreya@cavium.com>,
	"dev@dpdk.org" <dev@dpdk.org>,
	"stable@dpdk.org" <stable@dpdk.org>
Subject: Re: [dpdk-stable] [PATCH] net/octeontx: fix mbuf corruption with larger priv sizes
Date: Tue, 13 Nov 2018 10:32:28 +0000	[thread overview]
Message-ID: <20181113103215.GA6613@jerin> (raw)
In-Reply-To: <1542045165-31148-1-git-send-email-anoob.joseph@caviumnetworks.com>

-----Original Message-----
> Date: Mon, 12 Nov 2018 23:24:09 +0530
> From: "Joseph, Anoob" <Anoob.Joseph@cavium.com>
> To: Ferruh Yigit <ferruh.yigit@intel.com>, "Jacob,  Jerin"
>  <Jerin.JacobKollanukkaran@cavium.com>
> CC: "Saxena, Nitin" <Nitin.Saxena@cavium.com>, "Joseph, Anoob"
>  <Anoob.Joseph@cavium.com>, "Athreya, Narayana Prasad"
>  <NarayanaPrasad.Athreya@cavium.com>, "dev@dpdk.org" <dev@dpdk.org>,
>  "stable@dpdk.org" <stable@dpdk.org>
> Subject: [PATCH] net/octeontx: fix mbuf corruption with larger priv sizes
> 
> From: Nitin Saxena <nitin.saxena@caviumnetworks.com>
> 
> When the priv_size of the mbuf is > 128 bytes, the mbuf would not be
> properly constructed. This would lead to a corrupt mbuf.
> 
> This patch fixes the issue by accounting for
> rte_pktmbuf_priv_size(pool) and RTE_PKTMBUF_HEADROOM
> while configuring first skip register calculation.
> 
> Fixes: 197438ee9f18 ("net/octeontx: add Rx queue setup and release ops")
> Cc: stable@dpdk.org
> 
> Suggested-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
> Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>
> Signed-off-by: Nitin Saxena <nitin.saxena@caviumnetworks.com>


Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>

  reply	other threads:[~2018-11-13 10:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-12 17:54 Anoob Joseph
2018-11-13 10:32 ` Jerin Jacob [this message]
2018-11-13 11:53   ` 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=20181113103215.GA6613@jerin \
    --to=jerin.jacob@caviumnetworks.com \
    --cc=Anoob.Joseph@cavium.com \
    --cc=Jerin.JacobKollanukkaran@cavium.com \
    --cc=NarayanaPrasad.Athreya@cavium.com \
    --cc=Nitin.Saxena@cavium.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.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).