DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Rybalchenko, Kirill" <kirill.rybalchenko@intel.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Cc: "Richardson, Bruce" <bruce.richardson@intel.com>
Subject: RE: [PATCH] net/ice: fix initialization with 8 ports
Date: Thu, 9 Oct 2025 13:28:00 +0000	[thread overview]
Message-ID: <CH2PR11MB8777CB1697FBBCE40BD0538B98EEA@CH2PR11MB8777.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20250930142850.1782615-1-bruce.richardson@intel.com>



> -----Original Message-----
> From: Bruce Richardson <bruce.richardson@intel.com>
> Sent: Tuesday 30 September 2025 15:29
> To: dev@dpdk.org
> Cc: Richardson, Bruce <bruce.richardson@intel.com>
> Subject: [PATCH] net/ice: fix initialization with 8 ports
> 
> When initializing an 8-port device, the ACL configuration
> failed with the adminq returning an ENOMEM status from the
> sixth port onwards. Fix this issue by halving the depth, and
> therefore the space required, when using a device with >4 PFs.
> 
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> ---

Acked-by: Kirill Rybalchenko <kirill.rybalchenko@intel.com>

>  drivers/net/intel/ice/ice_acl_filter.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/net/intel/ice/ice_acl_filter.c
> b/drivers/net/intel/ice/ice_acl_filter.c
> index 83cb3e36f9..38e30a4f62 100644
> --- a/drivers/net/intel/ice/ice_acl_filter.c
> +++ b/drivers/net/intel/ice/ice_acl_filter.c
> @@ -114,7 +114,10 @@ ice_acl_setup(struct ice_pf *pf)
>  	else
>  		params.width = ICE_AQC_ACL_KEY_WIDTH_BYTES * 3;
> 
> -	params.depth = ICE_AQC_ACL_TCAM_DEPTH;
> +	if (pf_num > 4)
> +		params.depth = ICE_AQC_ACL_TCAM_DEPTH / 2;
> +	else
> +		params.depth = ICE_AQC_ACL_TCAM_DEPTH;
>  	params.entry_act_pairs = 1;
>  	params.concurr = false;
> 
> --
> 2.43.0


  reply	other threads:[~2025-10-09 13:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-30 14:28 Bruce Richardson
2025-10-09 13:28 ` Rybalchenko, Kirill [this message]
2025-10-09 15:23   ` Bruce Richardson

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=CH2PR11MB8777CB1697FBBCE40BD0538B98EEA@CH2PR11MB8777.namprd11.prod.outlook.com \
    --to=kirill.rybalchenko@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    /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).