From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <users-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id F3E90A055A
	for <public@inbox.dpdk.org>; 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 <users@dpdk.org>; Wed, 16 Nov 2022 14:59:00 +0100 (CET)
Received: by mail-pg1-f174.google.com with SMTP id r18so16711581pgr.12
 for <users@dpdk.org>; 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 <venki.bsv@gmail.com>
Date: Wed, 16 Nov 2022 19:28:48 +0530
Message-ID: <CAM3UhOh2odKtu1fpYQv4z8Dsp_X1zz28jz1aWd5cPe=aGG8OWg@mail.gmail.com>
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 <users.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/users>,
 <mailto:users-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/users/>
List-Post: <mailto:users@dpdk.org>
List-Help: <mailto:users-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/users>,
 <mailto:users-request@dpdk.org?subject=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

<div dir=3D"ltr">Hi DPDK Team,<div><br></div><div>After the ACL match for h=
ighest priority DPDK Classification API returns User Data Which is as menti=
oned below in the document.</div><div><br class=3D"gmail-Apple-interchange-=
newline"><span style=3D"color:rgb(17,85,204);text-decoration-line:underline=
">53. Packet Classification and Access Control =E2=80=94 Data Plane Develop=
ment Kit 22.11.0-rc2 documentation (<a href=3D"http://dpdk.org">dpdk.org</a=
>)</span><br></div><div><br></div><div><ul class=3D"gmail-simple" style=3D"=
box-sizing:border-box;margin:0px 0px 24px;padding:0px;list-style-position:i=
nitial;line-height:24px;color:rgb(64,64,64);font-family:Lato,proxima-nova,&=
quot;Helvetica Neue&quot;,Arial,sans-serif;font-size:16px;background-color:=
rgb(252,252,252)"><li style=3D"box-sizing:border-box;list-style:disc;margin=
-left:24px"><strong style=3D"box-sizing:border-box">userdata</strong>: A us=
er-defined value. For each category, a successful match returns the userdat=
a field of the highest priority matched rule. When no rules match, returned=
 value is zero</li></ul></div><div>I Wonder Why User Data Support does not =
returns 64 bit values, Always its possible that User Data in Application Ca=
n be 64bit long, But since 64 bit User data can&#39;t be returned by DPDK A=
CL Library, Application should have the conversion algorithm=C2=A0from 64 t=
o 32 bit during Rule add and vice versa after classification.</div><div><br=
></div><div>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.=C2=A0=C2=A0</div><div><br></d=
iv><div>Thanks In=C2=A0Advance.=C2=A0</div><div>Regards,</div><div>Venkates=
h B Siddappa.</div><div><br></div><div><br></div></div>

--000000000000cc141705ed96df92--