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 7F04CA0505 for ; Mon, 21 Mar 2022 09:41:01 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1BC4E4161A; Mon, 21 Mar 2022 09:41:01 +0100 (CET) Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) by mails.dpdk.org (Postfix) with ESMTP id A1C3A41614 for ; Mon, 21 Mar 2022 09:40:59 +0100 (CET) Received: by mail-lj1-f170.google.com with SMTP id r22so18805731ljd.4 for ; Mon, 21 Mar 2022 01:40:59 -0700 (PDT) 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=5nby3kCIglrUBaKuX6l8CYx18/7Sk8ULvLNDdlpZDf0=; b=Z50pRwtsvIuJ122Y+tJ6S24QnTxBR90lLmHrS8sDbAesY7ecTvivWF1QdX9wkuUN1W DjJMKW17MBzKelFCjwgKHC1RbWTuT6ZSBhSSWtBg15eAu7oxE5Xj/9NUSPw3T6+Tg4fw p+8z1psD/R/ElT+NXp+zwxKQTqG5IRifE3vPLuDPCKoxa9n8nSUxmQ75ugn8odnaD6n5 wNxhOS3B2opNlaBxNP7kTbiIL2MqC1fcT+pDu9hKlMfQDTtgUJ3FbyyEUZQcAbA1i4lP AHsx3XFkZ4KdmS0Ct/v5ClSQDvQW5ezP1P/Aif8LE/REUi1SGWxuDlcgJ46yTHAjJ+Do PqJQ== 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=5nby3kCIglrUBaKuX6l8CYx18/7Sk8ULvLNDdlpZDf0=; b=1w5vKpLGF5BaLuWk+UzMKH/lmfqV7cxL4zu6DTonmofj7QkMJeYFd5o+ORNk+sbjTR 96lyltnURVuiRHp+TV3qi3drjSrEEykG8qSFZ+uEljwyjU/AhSOfgBZT3fzaL/7ICQbp SqQUaalXHCIGiqOIu2ghaJXDka7Vz3ttLd7uEjas0m1QoJTr+EPgxyXC0WtKTLtn7fUj nzargYJbHU7B3MPddEz9+6jEH7LWsnlCLPyi0JLCfTg3jBPvdcPrGmUFg2Sct+RH+puO lq0/HH8lSQwZuETjrIlCZHW7gLQRO6daFnlcnTMfAt8NamB4vs88bxezCZ1NDpBGLYtD wW5w== X-Gm-Message-State: AOAM5319O0Z0rSs0XnqnRFoSlnsI6vXN4X1XjD90eueYNvxVvvBcmEY9 PzYwmU+GeFtXON67t75si24Wxda50x+gDMrkT4936dhhBUQAuA== X-Google-Smtp-Source: ABdhPJxgdIuLrzgSAKMehAb+pQB5xJOCIPk6L0OdQ+iEndemk2LkXbswo76JCDCPwQGgLy0JnDpHriGVaMLw7nEfoPk= X-Received: by 2002:a05:651c:511:b0:249:2492:24ae with SMTP id o17-20020a05651c051100b00249249224aemr14550838ljp.51.1647852058998; Mon, 21 Mar 2022 01:40:58 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?B?0JTQvNC40YLRgNC40Lkg0KHRgtC10L/QsNC90L7Qsg==?= Date: Mon, 21 Mar 2022 11:40:48 +0300 Message-ID: Subject: Re: Flow rules performance with ConnectX-6 Dx To: Dmitry Kozlyuk Cc: "users@dpdk.org" Content-Type: multipart/alternative; boundary="0000000000009e7a6805dab6748d" 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 --0000000000009e7a6805dab6748d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable For some reasons I'm not able to create group 1 / jump action. I get this error: testpmd> flow create 0 ingress pattern end actions jump group 1 / end port_flow_complain(): Caught PMD error type 16 (specific action): cannot create jump action.: Operation not supported testpmd> flow create 0 ingress group 1 pattern eth / ipv4 dst is 10.0.0.2 / end actions drop / end port_flow_complain(): Caught PMD error type 1 (cause unspecified): cannot get table: Cannot allocate memory This looks similar to https://www.mail-archive.com/dev@dpdk.org/msg152132.html I've checked UCTX_EN bit - and it its already set within NIC: mstconfig -d 0000:c1:00.0 q | grep UCTX_EN UCTX_EN True(1) =D0=BF=D1=82, 18 =D0=BC=D0=B0=D1=80. 2022 =D0=B3. =D0=B2 17:54, Dmitry Kozl= yuk : > Hi Dmitry, > > Can you check if the issue reproduces for you when using group 1? > Group 0 is special for mlx5, its behavior differs from other groups. > In testpmd terms: > > flow create 0 ingress pattern end actions jump group 1 / end > flow create 0 ingress group 1 pattern eth / ipv4 dst is 10.0.0.2 / end > actions drop / end > --0000000000009e7a6805dab6748d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
For some reasons I'm not able to create group 1 / jump= action. I get this error:

testpmd> flow create 0 ingress p= attern end actions jump group 1 / end
port_flow_complain(): Caught PMD e= rror type 16 (specific action): cannot create jump action.: Operation not s= upported
testpmd> flow create 0 ingress group 1 pattern eth / ipv4 ds= t is 10.0.0.2 / end actions drop / end
port_flow_complain(): Caught PMD = error type 1 (cause unspecified): cannot get table: Cannot allocate memory<= br>

I've checked UCTX_EN bit= - and it its already set within NIC:

mstconfig -d= 0000:c1:00.0 q | grep UCTX_EN
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0UCTX_EN= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 True(1)=C2=A0



=D0=BF=D1=82, 18 =D0=BC=D0=B0=D1=80. 2022 =D0=B3. =D0=B2 17:54, Dmitry K= ozlyuk <dkozlyuk@nvidia.com&g= t;:
Hi Dmitry,
Can you check if the issue reproduces for you when using group 1?
Group 0 is special for mlx5, its behavior differs from other groups.
In testpmd terms:

flow create 0 ingress pattern end actions jump group 1 / end
flow create 0 ingress group 1 pattern eth / ipv4 dst is 10.0.0.2 / end acti= ons drop / end
--0000000000009e7a6805dab6748d--