[dpdk-dev] [PATCH] net/ice: fix max entry number for ACL normal priority

Zhang, Qi Z qi.z.zhang at intel.com
Mon Aug 2 04:01:06 CEST 2021



> -----Original Message-----
> From: Su, Simei <simei.su at intel.com>
> Sent: Wednesday, July 28, 2021 10:24 AM
> To: Zhang, Qi Z <qi.z.zhang at intel.com>
> Cc: dev at dpdk.org; Ding, Xuan <xuan.ding at intel.com>; Wu, Wenjun1
> <wenjun1.wu at intel.com>; Su, Simei <simei.su at intel.com>
> Subject: [PATCH] net/ice: fix max entry number for ACL normal priority
> 
> For ACL, there are three entry priorities: LOW, NORMAL, HIGH.
> Low priority starts from the highest index, 25% of total entries; Normal priority
> starts from the highest index, 50% of total entries; High priority starts from the
> lowest index, 25% of total entries.
> 
> Each TCAM block has 512 entries of 40 bits. Currently, there is a scenario in
> which multiple TCAM blocks are cascaded. It means the total entries are 512.
> The default priority is NORMAL, so the max entry is 256, not 512. This patch
> changes the max entry number for NORMAL priority.
> 
> Fixes: 40d466fa9f76 ("net/ice: support ACL filter in DCF")
> 
> Signed-off-by: Simei Su <simei.su at intel.com>

Acked-by: Qi Zhang <qi.z.zhang at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi


More information about the dev mailing list