Netdev List
 help / color / mirror / Atom feed
From: Przemek Kitszel <przemyslaw.kitszel@intel.com>
To: Jakub Ramaseuski <jramaseu@redhat.com>,
	<anthony.l.nguyen@intel.com>, <intel-wired-lan@lists.osuosl.org>
Cc: <andrew+netdev@lunn.ch>, <davem@davemloft.net>,
	<edumazet@kernel.org>, <kuba@kernel.org>, <pabeni@redhat.com>,
	<netdev@vger.kernel.org>
Subject: Re: [PATCH iwl-next 3/3] ice: share all RSS hash profiles between PFs
Date: Fri, 27 Nov 2026 14:45:04 +0100	[thread overview]
Message-ID: <489c2667-b109-4dd0-89f2-b0aa6088f0a3@intel.com> (raw)
In-Reply-To: <20261126123114.893916-4-jramaseu@redhat.com>

On 11/26/26 1:31 PM, Jakub Ramaseuski wrote:
> The previous patch lets the PFs of a device share the profile IDs of the
> default RSS configuration. RSS profiles added later still take an ID per
> PF, even when the same profile exists on all PFs: with a VF on each of
> 8 PFs, the default RSS of the VF VSIs and the same "ethtool -N <vf>
> rx-flow-hash" settings on all VFs take 4 more IDs per PF.
> 
> A profile ID depends only on the extraction sequence, everything else
> (TCAM entries, VSI groups) is per PF. Share the ID of every RSS profile
> added through the flow API: besides the defaults, the ones added by
> ethtool, by VFs (advanced RSS and the AVF hash enable bits) and on replay.
> As before, profiles using field masks or symmetric hashing, and raw
> profiles, keep IDs of their own.
> 
> The shared flag of the RSS hash configuration is not needed any more,
> remove it.
> 
> Measured on an E810-CQDA2 split to 8 PFs (NVM 4.30), with all PFs bound,
> then one VF created on each PF and "rx-flow-hash {tcp,udp}{4,6} fn" set on
> it, reading the IDs the PFs hold from firmware:
> 
>                 IDs in use     IDs in use after   failed profile ID
>                 after probe    VFs and ethtool    allocations
>    before       33             65                 0
>    after        33             37                 0
> 
> Signed-off-by: Jakub Ramaseuski <jramaseu@redhat.com>
> ---
>   drivers/net/ethernet/intel/ice/ice_flow.c | 49 +++++++----------------
>   drivers/net/ethernet/intel/ice/ice_flow.h |  2 -
>   drivers/net/ethernet/intel/ice/ice_lib.c  | 10 ++---
>   3 files changed, 18 insertions(+), 43 deletions(-)
> 
> diff --git a/drivers/net/ethernet/intel/ice/ice_flow.c b/drivers/net/ethernet/intel/ice/ice_flow.c
> index 9be769b105cca..02337d9d3de56 100644
> --- a/drivers/net/ethernet/intel/ice/ice_flow.c
> +++ b/drivers/net/ethernet/intel/ice/ice_flow.c
> @@ -1444,7 +1444,6 @@ ice_flow_rem_entry_sync(struct ice_hw *hw, enum ice_block __always_unused blk,
>    * @segs: array of one or more packet segments that describe the flow
>    * @segs_cnt: number of packet segments provided
>    * @symm: symmetric setting for RSS profiles
> - * @shared: the HW profile may be shared with other PFs

(general rule)
avoid trashing - please structure your PR in a way that code grows
incrementally instead adding then removing things

unless you really want to get first two commits via -net, and this
one as a feature

      reply	other threads:[~2026-11-27 13:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 12:31 [PATCH iwl-next 0/3] ice: share RSS hash profile IDs between PFs Jakub Ramaseuski
2026-11-26 12:31 ` [PATCH iwl-next 1/3] ice: release the profile ID on ice_add_prof() error paths Jakub Ramaseuski
2026-11-26 12:31 ` [PATCH iwl-next 2/3] ice: share default RSS hash profiles between PFs Jakub Ramaseuski
2026-11-27 13:39   ` Przemek Kitszel
2026-11-26 12:31 ` [PATCH iwl-next 3/3] ice: share all " Jakub Ramaseuski
2026-11-27 13:45   ` Przemek Kitszel [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=489c2667-b109-4dd0-89f2-b0aa6088f0a3@intel.com \
    --to=przemyslaw.kitszel@intel.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=anthony.l.nguyen@intel.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=intel-wired-lan@lists.osuosl.org \
    --cc=jramaseu@redhat.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.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