🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
1 messages
1 total messages Started by Przemek Kitszel Fri, 27 Nov 2026 13:45
Re: [PATCH iwl-next 3/3] ice: share all RSS hash profiles between PFs
#23564
Author: Przemek Kitszel
Date: Fri, 27 Nov 2026 13:45
50 lines
23034 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads