From: Claudiu Manoil <claudiu.manoil@nxp.com>
To: Wei Fang <wei.fang@nxp.com>,
Vladimir Oltean <vladimir.oltean@nxp.com>,
Clark Wang <xiaoning.wang@nxp.com>,
"andrew+netdev@lunn.ch" <andrew+netdev@lunn.ch>,
"davem@davemloft.net" <davem@davemloft.net>,
"edumazet@google.com" <edumazet@google.com>,
"kuba@kernel.org" <kuba@kernel.org>,
"pabeni@redhat.com" <pabeni@redhat.com>,
Alexandru Marginean <alexandru.marginean@nxp.com>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"imx@lists.linux.dev" <imx@lists.linux.dev>
Subject: RE: [PATCH v2 net 2/2] net: enetc: do not allow VF to configure the RSS key
Date: Thu, 26 Mar 2026 10:32:35 +0000 [thread overview]
Message-ID: <GV2PR04MB1174060F6CBB0CD1F52F950E79656A@GV2PR04MB11740.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <20260326075233.3628047-3-wei.fang@nxp.com>
> -----Original Message-----
> From: Wei Fang <wei.fang@nxp.com>
> Sent: Thursday, March 26, 2026 9:53 AM
[...]
> Subject: [PATCH v2 net 2/2] net: enetc: do not allow VF to configure the RSS
> key
>
> VFs do not have privilege to configure the RSS key because the registers
> are owned by the PF. Currently, if VF attempts to configure the RSS key,
> enetc_set_rxfh() simply skips the configuration and does not generate a
> warning, which may mislead users into thinking the feature is supported.
> To improve this situation, add a check to reject RSS key configuration
> on VFs.
>
> Fixes: d382563f541b ("enetc: Add RFS and RSS support")
> Signed-off-by: Wei Fang <wei.fang@nxp.com>
> Reviewed-by: Clark Wang <xiaoning.wang@nxp.com>
Reviewed-by: Claudiu Manoil <claudiu.manoil@nxp.com>
prev parent reply other threads:[~2026-03-26 10:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-26 7:52 [PATCH v2 net 0/2] net: enetc: add more checks to enetc_set_rxfh() Wei Fang
2026-03-26 7:52 ` [PATCH v2 net 1/2] net: enetc: check whether the RSS algorithm is Toeplitz Wei Fang
2026-03-26 10:32 ` Claudiu Manoil
2026-03-26 7:52 ` [PATCH v2 net 2/2] net: enetc: do not allow VF to configure the RSS key Wei Fang
2026-03-26 10:32 ` Claudiu Manoil [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=GV2PR04MB1174060F6CBB0CD1F52F950E79656A@GV2PR04MB11740.eurprd04.prod.outlook.com \
--to=claudiu.manoil@nxp.com \
--cc=alexandru.marginean@nxp.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=imx@lists.linux.dev \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=vladimir.oltean@nxp.com \
--cc=wei.fang@nxp.com \
--cc=xiaoning.wang@nxp.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