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 F3E90A055A for ; Mon, 21 Nov 2022 10:53:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EACFD41133; Mon, 21 Nov 2022 10:53:59 +0100 (CET) Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by mails.dpdk.org (Postfix) with ESMTP id 48C6140DFB for ; Wed, 16 Nov 2022 14:59:00 +0100 (CET) Received: by mail-pg1-f174.google.com with SMTP id r18so16711581pgr.12 for ; Wed, 16 Nov 2022 05:59:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=92x1mOa/99lAn6W3wImuU7BpC2p8p7xMNaFNFDEcEsI=; b=aPatIF1FSXYkitV8KyozJ858MGMk2prncunGzluVAk403JPEPuJ2H1C1GMhRHA4xjl g/e92WozFoWrqDzE1QRfa9sy+pKBQSmwbKcEZLTxVYlelh9grVJJ4sPUCzZOMx0vaOiI xgOdvXdciy3lMCA9V0eH0gL4kpaS4Gq1XLJwir01n/x/wj8tvolrSeHoJE9SnlD6MvAP QC7Vz7RWz+/fEzPIXP3NOTbPSY+LKe1mx96YW+E4GL9nMvq77dAtBOOLjZM5vml1mq1e jylaPWKnHo9jnjj2kbV4VbnJNXdmQtXeMFvWjB+O/PnY9AQcCZVKOMM3FdY0xe124Y4E 8jlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=92x1mOa/99lAn6W3wImuU7BpC2p8p7xMNaFNFDEcEsI=; b=j9sER246Okbkd7wQDGiE/MHHglqPDP0G1pIkpL+sZBC0fte+Uo+9S5OPG6g95hp2X5 wEvve4Pb+a+mLUa+vbq4dvqqeHJ38U5nTBGSHD3dWG5PmYJB8IWrFhSzBGdHk60Tpo1K KFuzQPk7UNtILKaEEVvcvXGOWJ9W6wn7z+ar8Yh/OJL5copzL9bRkV0cQWSdkzLhU40N NEosfsgaEyrpNFQnirM1Tlo2nm9b+FDGdxkNfF7AOLI+BspjDTDNfJLqf/RRSnzYTrBa wd6kyyqbtg7IR5E+M0upisiBJoPtx+eGFMPFA45AOeCrFFf979ZhkGp0NyWf/s3oTpNN Yo1Q== X-Gm-Message-State: ANoB5plSIg0WfkXMyPG24Avud8kwxKk8HBH7hvLFxvKhbPeb2+FuKmbd SLQOv4CvVwu6Cik+lWHIKRU2WwR36o5sDTnMuhOc1f4PsHPjtg== X-Google-Smtp-Source: AA0mqf6bl6ZMs9zXIvKMOSkiaN6pemQzHwN4CBb1WiOg08RZa6SlkwiTfx3w0QhFHGS1opLhYvfB8w+++WuMgvVJSGg= X-Received: by 2002:a63:4f48:0:b0:476:a862:5471 with SMTP id p8-20020a634f48000000b00476a8625471mr8758936pgl.498.1668607139122; Wed, 16 Nov 2022 05:58:59 -0800 (PST) MIME-Version: 1.0 From: venkatesh bs Date: Wed, 16 Nov 2022 19:28:48 +0530 Message-ID: Subject: Regarding User Data in DPDK ACL Library. To: users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000cc141705ed96df92" X-Mailman-Approved-At: Mon, 21 Nov 2022 10:53:58 +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 --000000000000cc141705ed96df92 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi DPDK Team, After the ACL match for highest priority DPDK Classification API returns User Data Which is as mentioned below in the document. 53. Packet Classification and Access Control =E2=80=94 Data Plane Developme= nt Kit 22.11.0-rc2 documentation (dpdk.org) - *userdata*: A user-defined value. For each category, a successful match returns the userdata field of the highest priority matched rule. W= hen no rules match, returned value is zero I Wonder Why User Data Support does not returns 64 bit values, Always its possible that User Data in Application Can be 64bit long, But since 64 bit User data can't be returned by DPDK ACL Library, Application should have the conversion algorithm from 64 to 32 bit during Rule add and vice versa after classification. I Wonder if anyone would have faced this issue, Please suggest any suggestions if somewhere am wrong in understanding/Possible Solution if someone has already gone through this issue. Thanks In Advance. Regards, Venkatesh B Siddappa. --000000000000cc141705ed96df92 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi DPDK Team,

After the ACL match for h= ighest priority DPDK Classification API returns User Data Which is as menti= oned below in the document.

53. Packet Classification and Access Control =E2=80=94 Data Plane Develop= ment Kit 22.11.0-rc2 documentation (dpdk.org)

--000000000000cc141705ed96df92--