Thread (2 messages) 2 messages, 2 authors, 2021-08-02

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

From: Zhang, Qi Z <hidden>
Date: 2021-08-02 02:01:14

-----Original Message-----
From: Su, Simei <redacted>
Sent: Wednesday, July 28, 2021 10:24 AM
To: Zhang, Qi Z <redacted>
Cc: dev@dpdk.org; Ding, Xuan <redacted>; Wu, Wenjun1
[off-list ref]; Su, Simei [off-list ref]
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 <redacted>
Acked-by: Qi Zhang <redacted>

Applied to dpdk-next-net-intel.

Thanks
Qi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help