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 2400B41CEC; Mon, 20 Feb 2023 15:07:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D92C54305A; Mon, 20 Feb 2023 15:07:56 +0100 (CET) Received: from mail-vk1-f173.google.com (mail-vk1-f173.google.com [209.85.221.173]) by mails.dpdk.org (Postfix) with ESMTP id ED65540395 for ; Mon, 20 Feb 2023 15:07:55 +0100 (CET) Received: by mail-vk1-f173.google.com with SMTP id w126so619112vkb.1 for ; Mon, 20 Feb 2023 06:07:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=6KPyBAnIhfm9WGpMFhigXemg9hipVJvx1I1k9O2+0DU=; b=j9UeohRXpnnHY8wyks35yHP7jqNonPilDR03NlMj6KUGyX4Zj+3nwMhcwbofbZPTVk y3pX5uGIaz0dcUcJYm04MFX5n6aAM7keRuXV5CuZtY9D75rDbe9fy0ZE2fck91/nZzX/ 02qZZ61/wWvHaWxyYZPKZaYQSNpvozRtPCoLq4dFyrnJHdjg6dTUIrMsup3S83D27SrE EFjk9V1cVZOfy831mjyOUJAhmid9Mp1cCUVhA1es+nTWZfUOE0pzIlMB8Zb7kO6sUl/6 QpUuqjf5PM52OHqKu2l9mWREX/M3/RmehGwM+R22spOBFSh7cH3FSgOF1mm0Ozz98GyO d1aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6KPyBAnIhfm9WGpMFhigXemg9hipVJvx1I1k9O2+0DU=; b=Ucnu/vaZyOhT+VZ/zeYrEXMwoO81aAiYv1r6sSuKOtObj3WBJ955vvPTTKGrSvZ0If mVNhgrXDmvv+byl3EFMriEwaYaFMASfyy5dorCIfXAyTZfw5sjnjULAZEIZKYEUng3z0 MOgDg51LzU4Nvl0o/eBlblfmywp5MBQV7VPeN7QgunbdKgANtui6wbp5NfVXleE9UeIQ O4TjtdhRzvvbGi4ShAtjNeOriBSvnYL+Q+BPuKDmQCbxbgfUFMhLlfMJFExdq3aCgnaC Lqkv6Be1yr8zLNWqv6zjRQTiANH/7OFSp8eVY9kEOJL46Nk1j3Kst2tSc48LCGnSBUpo rBxA== X-Gm-Message-State: AO0yUKWCID5V5JOFg8DKUk9nqxOOUCw06RbvC0yE6H2LY0erA3ZJFoQ/ B83PNfXEK4sZkUs7uK2MmiRWXCMHyuBrWd4WLJo= X-Google-Smtp-Source: AK7set9TY3f7OavS37992D0qmctMZTP0Fo5lXp2izKxsS2mZUQjLm66Q8rJoXiyELB1PknoQcvHFHN3ITjOiC97OwHc= X-Received: by 2002:a1f:a3c8:0:b0:40b:9:82fd with SMTP id m191-20020a1fa3c8000000b0040b000982fdmr479806vke.18.1676902075283; Mon, 20 Feb 2023 06:07:55 -0800 (PST) MIME-Version: 1.0 References: <20221117050926.136974-1-zhirun.yan@intel.com> <20221117050926.136974-7-zhirun.yan@intel.com> In-Reply-To: <20221117050926.136974-7-zhirun.yan@intel.com> From: Jerin Jacob Date: Mon, 20 Feb 2023 19:37:29 +0530 Message-ID: Subject: Re: [PATCH v1 06/13] graph: introduce graph affinity API To: Zhirun Yan Cc: dev@dpdk.org, jerinj@marvell.com, kirankumark@marvell.com, ndabilpuram@marvell.com, cunming.liang@intel.com, haiyue.wang@intel.com Content-Type: text/plain; charset="UTF-8" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, Nov 17, 2022 at 10:40 AM Zhirun Yan wrote: > > Add lcore_id for graph to hold affinity core id where graph would run on. > Add bind/unbind API to set/unset graph affinity attribute. lcore_id will > be set as MAX by default, it means not enable this attribute. > > Signed-off-by: Zhirun Yan > diff --git a/lib/graph/version.map b/lib/graph/version.map > index 33ff055be6..1c599b5b47 100644 > --- a/lib/graph/version.map > +++ b/lib/graph/version.map > @@ -18,6 +18,8 @@ EXPERIMENTAL { > rte_graph_node_get_by_name; > rte_graph_obj_dump; > rte_graph_walk; > + rte_graph_bind_core; if it is not applicable to RTC, please change to rte_graph_model_pipeline_core_bind() > + rte_graph_unbind_core; > > rte_graph_cluster_stats_create; > rte_graph_cluster_stats_destroy; > -- > 2.25.1 >