From: Kohei Enju <kohei@enjuk.jp>
To: anthony.l.nguyen@intel.com
Cc: aleksandr.loktionov@intel.com, andrew+netdev@lunn.ch,
davem@davemloft.net, edumazet@google.com, enjuk@amazon.com,
intel-wired-lan@lists.osuosl.org, kohei@enjuk.jp,
kuba@kernel.org, netdev@vger.kernel.org, pabeni@redhat.com,
piotr.kwapulinski@intel.com, pmenzel@molgen.mpg.de,
przemyslaw.kitszel@intel.com, takkozu@amazon.com
Subject: Re: [PATCH iwl-next v4 3/3] igb: allow configuring RSS key via
Date: Wed, 28 Jan 2026 06:09:44 +0000 [thread overview]
Message-ID: <20260128060958.6333-1-kohei@enjuk.jp> (raw)
In-Reply-To: <f521fae5-54d7-4a8a-a190-80e29b6275d8@intel.com>
On Tue, 27 Jan 2026 14:33:24 -0800, Tony Nguyen wrote:
> On 1/25/2026 5:12 AM, Kohei Enju wrote:
> > On Tue, 20 Jan 2026 18:34:40 +0900, Takashi Kozu wrote:
> >
> >> Change igc_set_rxfh() to accept and save a userspace-provided
> >> RSS key. When a key is provided, store it in the adapter and write the
> >> E1000 registers accordingly.
> >>
> >> This can be tested using `ethtool -X <dev> hkey <key>`.
> >>
> >> Signed-off-by: Takashi Kozu <takkozu@amazon.com>
> >> ---
> >> drivers/net/ethernet/intel/igb/igb.h | 1 +
> >> drivers/net/ethernet/intel/igb/igb_ethtool.c | 49 +++++++++++---------
> >> drivers/net/ethernet/intel/igb/igb_main.c | 3 +-
> >> 3 files changed, 30 insertions(+), 23 deletions(-)
> >>
> >> diff --git a/drivers/net/ethernet/intel/igb/igb.h b/drivers/net/ethernet/intel/igb/igb.h
> >> index 8c9b02058cec..2509ec30acf3 100644
> >> --- a/drivers/net/ethernet/intel/igb/igb.h
> >> +++ b/drivers/net/ethernet/intel/igb/igb.h
> >> @@ -657,6 +657,7 @@ struct igb_adapter {
> >> u32 rss_indir_tbl_init;
> >> u8 rss_indir_tbl[IGB_RETA_SIZE];
> >> u8 rss_key[IGB_RSS_KEY_SIZE];
> >> + bool has_user_rss_key;
> >
> > Hi Kozu-san.
> >
> > While preparing for testing, I noticed that now 'has_user_rss_key' is
> > not necessary.
> >
> > Since netdev_rss_key_fill() is called in igb_sw_init() and igb_sw_init()
> > is called only once for the adapter's lifetime, adapter->rss_key
> > wouldn't be changed except for user-intended change.
> >
> > I'd drop that flag and related code (see below)
>
> Hi Kohei,
>
> I believe this igb implementation was based on your igc implementation
> which also has the same. Would it be possible for you to update the igc
> to do this as well?
Yes, you're right. I'd love to do that and post as new version,
so could you drop the series[1] from tnguy/next-queue.git?
[1] https://lore.kernel.org/intel-wired-lan/20251025150136.47618-1-enjuk@amazon.com/
>
> Thanks,
> Tony
next prev parent reply other threads:[~2026-01-28 6:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-20 9:34 [PATCH iwl-next v4 0/3] igb: add RSS key get/set support Takashi Kozu
2026-01-20 9:34 ` [PATCH iwl-next v4 1/3] igb: prepare for " Takashi Kozu
2026-01-20 9:36 ` Loktionov, Aleksandr
2026-01-20 15:26 ` Kwapulinski, Piotr
2026-01-20 9:34 ` [PATCH iwl-next v4 2/3] igb: expose RSS key via ethtool get_rxfh Takashi Kozu
2026-01-20 9:34 ` [PATCH iwl-next v4 3/3] igb: allow configuring RSS key via ethtool set_rxfh Takashi Kozu
2026-01-25 13:12 ` Kohei Enju
2026-01-27 22:33 ` Tony Nguyen
2026-01-28 6:09 ` Kohei Enju [this message]
2026-01-28 17:33 ` [PATCH iwl-next v4 3/3] igb: allow configuring RSS key via Tony Nguyen
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=20260128060958.6333-1-kohei@enjuk.jp \
--to=kohei@enjuk.jp \
--cc=aleksandr.loktionov@intel.com \
--cc=andrew+netdev@lunn.ch \
--cc=anthony.l.nguyen@intel.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=enjuk@amazon.com \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=piotr.kwapulinski@intel.com \
--cc=pmenzel@molgen.mpg.de \
--cc=przemyslaw.kitszel@intel.com \
--cc=takkozu@amazon.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