patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Tomasz Duszynski <tdu@semihalf.com>, dev@dpdk.org
Cc: mw@semihalf.com, dima@marvell.com, nsamsono@marvell.com,
	Jianbo.liu@linaro.org, stable@dpdk.org
Subject: Re: [dpdk-stable] [PATCH] net/mrvl: fix mbuf to bpool lookup
Date: Fri, 26 Jan 2018 18:09:01 +0000	[thread overview]
Message-ID: <4ebf425c-839b-1032-7051-6d5feeed7d2c@intel.com> (raw)
In-Reply-To: <1516953322-26378-1-git-send-email-tdu@semihalf.com>

On 1/26/2018 7:55 AM, Tomasz Duszynski wrote:
> From: Natalie Samsonov <nsamsono@marvell.com>
> 
> Since in DPDK 17.11 port type was changed from uint8_t to uint16_t
> the MBUF_INVALID_PORT value became 0xffff but in mrvl_tx_pkt_burst()
> when trying to lookup bpool using mbuf port, we check if the port
> is invalid according to value 0xff. This causes segmentation fault.
> 
> Solution: since the valid port value cannot exceed RTE_MAX_ETHPORTS
> (size of bpool lookup table) any other values consider as invalid so
> the packet should be returned to DPDK pool.
> 
> Fixes: afb4d0d0bf91 ("net/mrvl: add Rx/Tx support")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Natalie Samsonov <nsamsono@marvell.com>

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

      reply	other threads:[~2018-01-26 18:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-26  7:55 Tomasz Duszynski
2018-01-26 18:09 ` 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=4ebf425c-839b-1032-7051-6d5feeed7d2c@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=Jianbo.liu@linaro.org \
    --cc=dev@dpdk.org \
    --cc=dima@marvell.com \
    --cc=mw@semihalf.com \
    --cc=nsamsono@marvell.com \
    --cc=stable@dpdk.org \
    --cc=tdu@semihalf.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).