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 E2D3DA0C47 for ; Fri, 19 Nov 2021 11:52:37 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9A9E140143; Fri, 19 Nov 2021 11:52:37 +0100 (CET) Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) by mails.dpdk.org (Postfix) with ESMTP id 67E7840395 for ; Thu, 18 Nov 2021 17:55:36 +0100 (CET) Received: by mail-lf1-f46.google.com with SMTP id b1so28874082lfs.13 for ; Thu, 18 Nov 2021 08:55:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=d/TPU7x3V+9dKHXfuEArGYM+/WMEXcgm2+R30NSLSSU=; b=NXch1XfS0lGqVmWvVk7Bzy9Hbp+0fWimjyldRl6Q+diJcvUmyLZP9zpqMyxWMe9F03 +MrX6DfK/8VO0axZP5hMwkq9w3h+HiYIGTDu0GBmCJy4fmrJ9NMphbm/+EV2ChGdoKzg 13LRXQKtK3tmvWDnwo4gOdzxYRvazUnVTuJNQaS4YAUqrqtS9CcTTbh7aOnLy1vKq10E o3dXIOqOSP50XvPu7T+ErdAruetoNo5VVSWw1nNicj5bGL5gyNwtEQI6bWlFdBqH33GO /i5FN5FwyVE/ceY3uj3lpz7g3SzeQEUvSpNC1/hUouOashZNZiYyO+vj2e4MKIhBnJ9Q D1Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=d/TPU7x3V+9dKHXfuEArGYM+/WMEXcgm2+R30NSLSSU=; b=4Flv9RPI8OoH/nIRkchz4SIddI1pBu6I9H1L7c3W76jdKkMbE5AjggsRGzpMxMH5Di 5xEUSSvQ+V7ugXJuwmuM3b0dfwF+t7IfYCWKK/CK/C0yo2HhIul9cZFz71dlMUvd0uLu fYRPtzkleIqPpS5A8VEW8VPNgNauLktuGHUPPiXaTvOYPvkY8BvbrdzRtx6nA2cDXckD g9iZKfPhJmahrC1uke5Up3gOsZa5tv/TTKpXFTvtpGWo+VqFQvICsv3aZLjV4U6rf9s4 M1h1kICT9of3NZ6f6gYJKF6KvgqImLydirjOQu8i+Oa5PggHwxw3yeaa4JoIqPx4vwjI 2N5g== X-Gm-Message-State: AOAM532Gb/fgRjo0gOc3OZztZOR0yJv7hse31EzQLEfN45rRS6pX4lfe m+bWULgCOSnQF7eeYlQ4RXonkR3rlzdfR0SyNG7vC/L04ac= X-Google-Smtp-Source: ABdhPJya2jJ4iLgdo/fJYhSWIICMeH1V09ikskEXI4yV2iItZiWk27ZivasfCC+8FykZWLc2FQbqE/VlT13RRn74H5Q= X-Received: by 2002:a05:6512:3216:: with SMTP id d22mr26549563lfe.604.1637254534712; Thu, 18 Nov 2021 08:55:34 -0800 (PST) MIME-Version: 1.0 From: =?UTF-8?B?0JTQvNC40YLRgNC40Lkg0KHRgtC10L/QsNC90L7Qsg==?= Date: Thu, 18 Nov 2021 19:55:23 +0300 Message-ID: Subject: Find all matches with DPDK ACL To: users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000f2f5b605d1130665" X-Mailman-Approved-At: Fri, 19 Nov 2021 11:52:36 +0100 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 --000000000000f2f5b605d1130665 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 --000000000000f2f5b605d1130665 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 be= st match based on the rule's priority.
Is there any way (maybe a cu= stom patch for the ACL library exists?) to find all matches in a single req= uest? Decreased performance and even some false-positive matches are accept= able.
It could be a big number of matches so using categories is not an= option.

Thanks,
Dmitriy Stepanov
--000000000000f2f5b605d1130665--