DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Wang, Haiyue" <haiyue.wang@intel.com>
To: "Yu, DapengX" <dapengx.yu@intel.com>,
	"Yang, Qiming" <qiming.yang@intel.com>,
	"Zhang, Qi Z" <qi.z.zhang@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, "stable@dpdk.org" <stable@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v4] net/ice: fix function pointer in multi-process
Date: Mon, 25 Oct 2021 05:47:14 +0000	[thread overview]
Message-ID: <DM4PR11MB5518D432420D503CAB52D0CBF7839@DM4PR11MB5518.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20211025054029.1140977-1-dapengx.yu@intel.com>

> -----Original Message-----
> From: Yu, DapengX <dapengx.yu@intel.com>
> Sent: Monday, October 25, 2021 13:40
> To: Yang, Qiming <qiming.yang@intel.com>; Zhang, Qi Z <qi.z.zhang@intel.com>
> Cc: dev@dpdk.org; Wang, Haiyue <haiyue.wang@intel.com>; Yu, DapengX <dapengx.yu@intel.com>;
> stable@dpdk.org
> Subject: [PATCH v4] net/ice: fix function pointer in multi-process
> 
> From: Dapeng Yu <dapengx.yu@intel.com>
> 
> This patch uses the index value to call the function, instead of the
> function pointer assignment to save the selection of Receive Flex
> Descriptor profile ID.
> 
> Otherwise the secondary process will run with wrong function address
> from primary process.
> 
> Fixes: 7a340b0b4e03 ("net/ice: refactor Rx FlexiMD handling")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Dapeng Yu <dapengx.yu@intel.com>
> ---
> V2:
> * Remove redundant code
> V3:
> * Fix incorrect switch statements in V2
> V4:
> * Combine similar case statements
> ---
>  drivers/net/ice/ice_rxtx.c | 32 ++++++++++++++++++--------------
>  drivers/net/ice/ice_rxtx.h |  2 +-
>  2 files changed, 19 insertions(+), 15 deletions(-)
> 

Acked-by: Haiyue Wang <haiyue.wang@intel.com>

> --
> 2.27.0


  reply	other threads:[~2021-10-25  5:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-21  3:35 [dpdk-dev] [PATCH] " dapengx.yu
2021-10-22  7:55 ` [dpdk-dev] [dpdk-stable] " Wang, Haiyue
2021-10-22  8:57 ` [dpdk-dev] [PATCH v2] " dapengx.yu
2021-10-22 11:08   ` Wang, Haiyue
2021-10-25  3:40   ` [dpdk-dev] [PATCH v3] " dapengx.yu
2021-10-25  5:40     ` [dpdk-dev] [PATCH v4] " dapengx.yu
2021-10-25  5:47       ` Wang, Haiyue [this message]
2021-10-26  1:55       ` [dpdk-dev] [PATCH v5] " dapengx.yu
2021-10-27  3:28         ` Zhang, Qi Z
2022-02-24 18:00           ` Navin Srinivas
2022-02-25  1:34             ` Zhang, Qi Z
2022-02-25 10:24               ` Navin Srinivas

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=DM4PR11MB5518D432420D503CAB52D0CBF7839@DM4PR11MB5518.namprd11.prod.outlook.com \
    --to=haiyue.wang@intel.com \
    --cc=dapengx.yu@intel.com \
    --cc=dev@dpdk.org \
    --cc=qi.z.zhang@intel.com \
    --cc=qiming.yang@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).