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 4956442D72 for ; Tue, 27 Jun 2023 15:24:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 39ABA42C4D; Tue, 27 Jun 2023 15:24:54 +0200 (CEST) Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mails.dpdk.org (Postfix) with ESMTP id D6C4542BC9 for ; Tue, 27 Jun 2023 15:24:53 +0200 (CEST) Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1b80f2e6c17so13634025ad.0 for ; Tue, 27 Jun 2023 06:24:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687872293; x=1690464293; h=content-transfer-encoding:to:message-id:thread-topic:subject:from :date:mime-version:from:to:cc:subject:date:message-id:reply-to; bh=fgv0fzYMhGJAn545Cn3Se0nl3AgNFZ0KRO1uGnd0Xig=; b=lgsnLI/HF8tR1VK053XcU5eXnYveLCH0JlS2rjer1scpoLWlmP4X/XUJgjvoSf7DRG e0nZiHzDa4Sq/3lrRtgUIj/CWdDzd2imnUa+F3u8zn/6FFP4ch8AYl8dDKS6t6WlM0+a SuAbzrrRaWjdYxzVlLstIG9DL39dkXQ4Ggdp46IA0S1HnHU4KR7Ej/8u7VbHdC4v7u1u nQ4mZ/b692pCHzHxG/gjY6raZwwWix/2+nMnKqYk6dTYOvs+96xQn/pWK5tzgeS6/Zbz 7kfMPFi/zn5yizzWQ6uCDdKgZTLIK5PQ59702T7PislohcIKBZ3qLw8W9IMvdsiYvLGE iRAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687872293; x=1690464293; h=content-transfer-encoding:to:message-id:thread-topic:subject:from :date:mime-version:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=fgv0fzYMhGJAn545Cn3Se0nl3AgNFZ0KRO1uGnd0Xig=; b=O9M2dQvKOzaE5UN7ugz/tiyn1D/Fbchm3IKNXUCzFCIBwVc/J4skV/K80TtaKkzJmV LdaZ1PHmXQ3y33V35MH4ttYlFWGy8D0RR5lveDl0Qk4BdSaO0Fu4L3dtOI+lzA2k6u9s zoIOCh98cbTGbOs1jQ0WpqaXLpn77xqzHIQT//XKyGL7mgy82KJcwuFn/lrwYont8vP/ Ksp/LAaS8882Lt7qDC7oBhr9d8rqYVGF86MIK0w6wJ31lFh9LrTjddNIAFBDQebWw/nU q3Bylj5PXfKaZgN30W2ItBdJ6Zo5Yu91KHwr32ZHZjLyhosDaM3ya3OnVH/jpnf3CrBR ML2A== X-Gm-Message-State: AC+VfDwSOj1L+2IVY87e4CQouHT8B+95Z5/WJtBGFKqPbf40ID6ODAkO zeeL8rDDzdu0DW3kTsXFYAxPgi1Xu8eH1g== X-Google-Smtp-Source: ACHHUZ6bMosQuDjcmjjVCSCUumJreI70pFMuSEwBSfhOwvqhpKkBtCK9wX1zA3CT/1+TAvPHc7UriQ== X-Received: by 2002:a17:903:1245:b0:1b4:5697:d991 with SMTP id u5-20020a170903124500b001b45697d991mr11039433plh.15.1687872292569; Tue, 27 Jun 2023 06:24:52 -0700 (PDT) Received: from junghan-NDSL (sky3.kaist.ac.kr. [143.248.129.202]) by smtp.gmail.com with ESMTPSA id jl3-20020a170903134300b001ac6b926621sm5973579plb.292.2023.06.27.06.24.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Jun 2023 06:24:52 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 27 Jun 2023 22:24:32 +0900 From: Junghan Yoon Subject: rte_flow_async_create() pushes rules immediately Thread-Topic: rte_flow_async_create() pushes rules immediately Message-ID: <7310B4C2-821E-4B31-844C-260E88D36E41@hxcore.ol> To: "users@dpdk.org" Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8" 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

Hi.

 

The synchronous API, rte_flow_create() seems to= take almost ~1ms delay with connectX-6.

I=E2=80=99m not sure whether it can be done dynamically whi= le packet processing in runtime due to its large delay.

 

So, I want to use asynchronous API in rte_flow lib= rary.

 

However, in my case, rte_f= low_async_create() pushes the rules immediately even though I set rte_flow_= op_attr.postpone as 1.

I = want to make rte_flow_async_create() to wait until rte_flow_push() for batc= hing rule creation.

=  

Is there any= one who has seen or solved this issue with connectX-6?

 

Sincerely,

Junghan Yoon

 

=