aboutsummaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>2019-11-20 05:46:07 +0530
committerDavid S. Miller <davem@davemloft.net>2019-11-20 12:05:23 -0800
commit41ec03e534ca450939edae01d9f2037a6262e6de (patch)
tree8cd39893db61ada31735e4e5a11e54d797773bb1 /Kbuild
parentcxgb4: add TC-MATCHALL classifier egress offload (diff)
downloadlinux-dev-41ec03e534ca450939edae01d9f2037a6262e6de.tar.xz
linux-dev-41ec03e534ca450939edae01d9f2037a6262e6de.zip
cxgb4: check rule prio conflicts before offload
Only offload rule if it satisfies both of the following conditions: 1. The immediate previous rule has priority <= current rule's priority. 2. The immediate next rule has priority >= current rule's priority. Also rework free entry fetch logic to search from end of TCAM, instead of beginning, because higher indices have lower priority than lower indices. This is similar to how TC auto generates priority values. v5: - Fixed commit message and comment to include comparison for equal priority. v4: - Patch added in this version. Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions