From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B38BEA0C52 for ; Wed, 24 Nov 2021 11:06:25 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7F45641151; Wed, 24 Nov 2021 11:06:25 +0100 (CET) Received: from mail-ua1-f42.google.com (mail-ua1-f42.google.com [209.85.222.42]) by mails.dpdk.org (Postfix) with ESMTP id 4C5484113E for ; Wed, 24 Nov 2021 11:06:24 +0100 (CET) Received: by mail-ua1-f42.google.com with SMTP id r15so3924202uao.3 for ; Wed, 24 Nov 2021 02:06:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0VMniqV6dD6Jxf/88Dzx9zSq1LgL/wiOj3XVjWOB2z0=; b=JcLlKGkMozqGVvkSRLnruC9/+dVpXU+3IhB1K2Zk2YF2RLBr0asG8E2cuOE7pjjzaj zrtSek7puzABYphCKgpWfynOob0VAZ6sTKcJug0RPzJtZvH+lg38HvtNe6TcpEh+Ni29 wEEg5Il51eVyWCRG6+f0P1P9by56rNSQJoIZS1nnc+WkyCGbuUSIsjp/NfcpECqdDhH8 B7eAH0xTkF9mArxxk+kOS1wb2pDTRFj0/BTP2g4bFNkeEWeIHJMTUEDS4H5ry21xWtKO ZFBRQNm1mlpDasWpiFb2E96o+fZtbS15chT54vR2NEMe1GGOkl9Oed4PkRCdOnML91LV R8Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0VMniqV6dD6Jxf/88Dzx9zSq1LgL/wiOj3XVjWOB2z0=; b=iCHTr8SkRTgfXHX5R9mrFF8Zsxrhc1xig+dRYNEWCLk/03oO9aJ6jqi7kMnnrdkX5S ZiTxJHvYjIpDzOnc5hx9tuyrgItPH2B+1y4QowrBtq2jCxPLmVt+Ak3itaJ8o7DZO+Ea WoVJChvWpp4Q5LHbQjDS0utpBgqEjXEnyhF1YET9Uzy0F+Rph6r/0j9vdJDNBsnIr3cB PqvvO1WCWCEbJ5UVHSlxIlwwQYazvtYXrPfUkhyRbIzOL/Ky/xmice4m+ACK96QHPsyM pvXfU+t/KnuHIvXTqW0wBwcVsXSEgKI3CijRIMXqAejFmafPq2TJ2dL1h61lXrOucSYr eHvw== X-Gm-Message-State: AOAM530hbB//lnXsX/q/W4uKcuM/3RdBjNJj/6WYZT3PFURGwC8X0GnX M0+rmIpE9o19JRWmZg3zCVOlYNcUMDHIW04cPpA= X-Google-Smtp-Source: ABdhPJzqPv5gWx9Rr2JgOiNqZVPuZdvtzenQVKcnnYbsfjVuhcEfd6WTR5j0do8UCexDP/vYJQFtmNUJ8leszaKGSUM= X-Received: by 2002:a05:6102:cd0:: with SMTP id g16mr21575106vst.8.1637748383727; Wed, 24 Nov 2021 02:06:23 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Steffen Weise Date: Wed, 24 Nov 2021 11:06:13 +0100 Message-ID: Subject: Re: Find all matches with DPDK ACL To: =?UTF-8?B?0JTQvNC40YLRgNC40Lkg0KHRgtC10L/QsNC90L7Qsg==?= Cc: users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000a4c40a05d1860298" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --000000000000a4c40a05d1860298 Content-Type: text/plain; charset="UTF-8" > Hi folks! > > I'm using DPDK's ACL library to classify incoming packets by IPv4 5 tuple > match (src address, dst address, src port, dst port, protocol). Right now > it is possible to find only the best match based on the rule's priority. > Is there any way (maybe a custom patch for the ACL library exists?) to > find all matches in a single request? Decreased performance and even some > false-positive matches are acceptable. > It could be a big number of matches so using categories is not an option. > > Thanks, > Dmitriy Stepanov > Hi, I have the very same question. Such a mechanism would help me in my applications. Currently I go for lookup on multiple separate tables. Cheers, Steffen Weise --000000000000a4c40a05d1860298 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi folks!
I'm using DPDK's ACL library to classify incoming packets by = IPv4 5 tuple match (src address, dst address, src port, dst port, protocol)= . Right now it is possible to find only the best match based on the rule= 9;s priority.
Is there any way (maybe a custom patch for the ACL librar= y exists?) to find all matches in a single request? Decreased performance a= nd even some false-positive matches are acceptable.
It could be a big n= umber of matches so using categories is not an option.

Thanks,
Dm= itriy Stepanov

Hi,

I have the very sa= me question. Such a mechanism would help me in my applications. Currently I= go for lookup on multiple separate tables.

Cheers,
Steffen Weise=
--000000000000a4c40a05d1860298--