From: "Wang, YuanX" <yuanx.wang@intel.com>
To: "Richardson, Bruce" <bruce.richardson@intel.com>
Cc: "Burakov, Anatoly" <anatoly.burakov@intel.com>,
"Medvedkin, Vladimir" <vladimir.medvedkin@intel.com>,
"dev@dpdk.org" <dev@dpdk.org>,
"stable@dpdk.org" <stable@dpdk.org>
Subject: RE: [PATCH] net/ixgbe: fix port mask default value on E610
Date: Wed, 10 Sep 2025 09:52:31 +0000 [thread overview]
Message-ID: <IA3PR11MB8965CDBED1E28B23A6543093850EA@IA3PR11MB8965.namprd11.prod.outlook.com> (raw)
In-Reply-To: <aJniegZL1dok1nk0@bricha3-mobl1.ger.corp.intel.com>
Hi Bruce,
Sorry for the late reply.
The purpose of this patch is to prevent issues introduced after values are initialized to zero, such as the failure to create a second rule on 82599.
I understand and agree with your concern. I didn't take models other than E610 and 82599 into account, so this patch will be dropped.
Thanks for pointing this out.
Best regards,
Yuan
> -----Original Message-----
> From: Richardson, Bruce <bruce.richardson@intel.com>
> Sent: Monday, August 11, 2025 8:31 PM
> To: Wang, YuanX <yuanx.wang@intel.com>
> Cc: Burakov, Anatoly <anatoly.burakov@intel.com>; Medvedkin, Vladimir
> <vladimir.medvedkin@intel.com>; dev@dpdk.org; stable@dpdk.org
> Subject: Re: [PATCH] net/ixgbe: fix port mask default value on E610
>
> On Fri, Jul 18, 2025 at 05:09:07PM +0800, Yuan Wang wrote:
> > Modification of default values should be limited to E610, as 82599
> > handles raw IP well.
> >
>
> Hi,
>
> I think you could do with clarifying the issue here. The patch title seems to
> imply that there is an issue with the E610, but in fact the code change is for all
> NICs except E610. What is the observed behaviour on an X550 or an
> 82599 NIC vs what is desired? Is setting the default masks to zero not ok?
>
> Thanks,
> /Bruce
>
> > Fixes: c81daae2383a (net/ixgbe: fix port mask default value in filter)
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Yuan Wang <yuanx.wang@intel.com>
> > ---
> > drivers/net/intel/ixgbe/ixgbe_flow.c | 6 ++++--
> > 1 file changed, 4 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/net/intel/ixgbe/ixgbe_flow.c
> > b/drivers/net/intel/ixgbe/ixgbe_flow.c
> > index 1bf0af330f..71b11f9e70 100644
> > --- a/drivers/net/intel/ixgbe/ixgbe_flow.c
> > +++ b/drivers/net/intel/ixgbe/ixgbe_flow.c
> > @@ -1644,8 +1644,10 @@ ixgbe_parse_fdir_filter_normal(struct
> rte_eth_dev *dev,
> > memset(&rule->mask, 0xFF, sizeof(struct ixgbe_hw_fdir_mask));
> > rule->mask.vlan_tci_mask = 0;
> > rule->mask.flex_bytes_mask = 0;
> > - rule->mask.dst_port_mask = 0;
> > - rule->mask.src_port_mask = 0;
> > + if (hw->mac.type == ixgbe_mac_E610) {
> > + rule->mask.dst_port_mask = 0;
> > + rule->mask.src_port_mask = 0;
> > + }
> >
> > /**
> > * The first not void item should be
> > --
> > 2.47.1
> >
prev parent reply other threads:[~2025-09-10 9:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-18 9:09 Yuan Wang
2025-08-11 12:30 ` Bruce Richardson
2025-09-10 9:52 ` Wang, YuanX [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=IA3PR11MB8965CDBED1E28B23A6543093850EA@IA3PR11MB8965.namprd11.prod.outlook.com \
--to=yuanx.wang@intel.com \
--cc=anatoly.burakov@intel.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=stable@dpdk.org \
--cc=vladimir.medvedkin@intel.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).