patches for DPDK stable branches
 help / color / mirror / Atom feed
From: "Zhang, Qi Z" <>
To: "Yu, DapengX" <>,
	"Xing, Beilei" <>
Cc: "" <>, "" <>
Subject: Re: [dpdk-stable] [PATCH] net/i40e: fix data path corrupt on secondary process
Date: Mon, 21 Jun 2021 03:07:57 +0000
Message-ID: <> (raw)
In-Reply-To: <>

> -----Original Message-----
> From: Yu, DapengX <>
> Sent: Wednesday, June 9, 2021 3:06 PM
> To: Xing, Beilei <>
> Cc:; Zhang, Qi Z <>; Yu, DapengX
> <>;
> Subject: [PATCH] net/i40e: fix data path corrupt on secondary process
> From: Dapeng Yu <>
> The rte_eth_devices array is not in share memory, it should not be referenced
> by i40e_adapter which is shared by primary and secondary.
> Any process set i40e_adapter->eth_dev will corrupt another process'
> context.
> The patch removed the field "eth_dev" from i40e_adapter.
> Now, when the data paths try to access the rte_eth_dev_data instance, they
> should replace adapter->eth_dev->data with adapter->pf.dev_data.
> Fixes: 2bedd7277a10 ("net/i40e: print real global changes")
> Fixes: 4861cde46116 ("i40e: new poll mode driver")
> Fixes: be6c228d4da3 ("i40e: support Rx interrupt")
> Fixes: 8e109464c022 ("i40e: allow vector Rx and Tx usage")
> Fixes: 1d169e9dafb8 ("net/i40e: support cloud filter with L4 port")
> Fixes: a778a1fa2e4e ("i40e: set up and initialize flow director")
> Fixes: 460d1679586e ("drivers/net: delete HW rings while freeing queues")
> Fixes: b0ea2716e05b ("net/i40e: add flow flush function")
> Fixes: ef4c16fd9148 ("net/i40e: refactor RSS flow")
> Fixes: 819a5c14d1dd ("net/i40e: fix null checks")
> Fixes: e0cb96204b71 ("net/i40e: add support for representor ports")

Just need to list the patch that bring the issue (in this case it is the one that add a non-shared point into a structure that will be shared)
, all following up patches are not guilty.

> Cc:
> Signed-off-by: Dapeng Yu <>

  reply	other threads:[~2021-06-21  3:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-09  7:05 dapengx.yu
2021-06-21  3:07 ` Zhang, Qi Z [this message]
2021-06-21  7:23 ` [dpdk-stable] [PATCH v2] " dapengx.yu
2021-07-01 12:37   ` Zhang, Qi Z

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

patches for DPDK stable branches

This inbox may be cloned and mirrored by anyone:

	git clone --mirror stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ \
	public-inbox-index stable

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone