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 67E7542C5C; Thu, 8 Jun 2023 12:41:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E4418406B5; Thu, 8 Jun 2023 12:41:06 +0200 (CEST) Received: from mail-vs1-f41.google.com (mail-vs1-f41.google.com [209.85.217.41]) by mails.dpdk.org (Postfix) with ESMTP id 25E8640042 for ; Thu, 8 Jun 2023 12:41:05 +0200 (CEST) Received: by mail-vs1-f41.google.com with SMTP id ada2fe7eead31-43dda815756so23625137.1 for ; Thu, 08 Jun 2023 03:41:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686220864; x=1688812864; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=jtMtOndBSPZV59QNGIFiBQqgT0ESzxaWWUVpl47eP+A=; b=IKSm4aYlO9pCvYiDFBzOjZurDLlbLdyP5RiL/evSyahC4cZGrWudydAAZmRQc7gD5p mG+oLj0qMmq/qSvQwXRt+2LG27c2O0Y2dgIZ5BD4HDiKioSGk+2A4JqG/XcDuQTZSa0+ oa6B9uCfXECpdPs/CjSYqbpCw3eo+8PpC/JASjeOcoKBDjLNf9g5nWm7/YFGcn5Z2q49 DJ4CKs0nhikkLUX8hZUQ9OoTrTWsDMtLALUwCZVlfxuXMTf7/RhnWt+jHZIvt2/BY9aN TW3RebWssq/b3Jiz1P9uoXfyA1wpP/21iN4bzNinQIKYx14E2h/eUgF0k1QL9VLYAenU x0xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686220864; x=1688812864; h=content-transfer-encoding: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=jtMtOndBSPZV59QNGIFiBQqgT0ESzxaWWUVpl47eP+A=; b=CF17YPledA8H6RntCHO8ZxJAn+INcMq3zEG8SQEqdq8CIiPZCAVA/WzWRGo9CRQJyI bj8LRmy+GNSEYcUmbRoLh7yWeBQhZwYWZHENOAOB9PAXqDTfMSZV2+cPzdUsWc7tn9R0 z1C7sTVKn6Pvfp9ztTwOUHotHSxmSONxn/YfstU7EAz+2B2L5nDcRtnbG+U6jB1Hbnki nijI28ITwVbdnO7w6/QmacSoYf9C/mZ3HBQLItauH4VsUTg8qdURuphKj35IHi9GhCu5 MxpPTqjbiv9WKEcQHc7k6KcEJ6DpJm+04hGXIawJcFQXhNPwuNascq0zTNVF1H+5yjzK OzrQ== X-Gm-Message-State: AC+VfDyT0LNhc0vyg/Gv+aAS5G+SuoRQtKehCoVyUreSGXEKddqLh7Vq 7Dt8+y0uktYiEHHKvowOGYCIBLLV1e435ded0q0= X-Google-Smtp-Source: ACHHUZ70M3I6GMbGbcV7pb7AZG9Aabc5H+/NAkFVaEErNUlKQU3KXPugiPV8XkAUp9kT3OmOCjnCkokjR8enmWv9yx8= X-Received: by 2002:a67:e909:0:b0:43b:559c:a865 with SMTP id c9-20020a67e909000000b0043b559ca865mr1624784vso.34.1686220864454; Thu, 08 Jun 2023 03:41:04 -0700 (PDT) MIME-Version: 1.0 References: <20230607035144.1214492-1-zhirun.yan@intel.com> <20230608095759.1800617-1-zhirun.yan@intel.com> <20230608095759.1800617-7-zhirun.yan@intel.com> In-Reply-To: <20230608095759.1800617-7-zhirun.yan@intel.com> From: Jerin Jacob Date: Thu, 8 Jun 2023 16:10:38 +0530 Message-ID: Subject: Re: [PATCH v10 06/16] graph: introduce graph bind unbind API To: Zhirun Yan Cc: dev@dpdk.org, jerinj@marvell.com, kirankumark@marvell.com, ndabilpuram@marvell.com, stephen@networkplumber.org, pbhagavatula@marvell.com, cunming.liang@intel.com, haiyue.wang@intel.com, mattias.ronnblom@ericsson.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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, Jun 8, 2023 at 3:35=E2=80=AFPM Zhirun Yan wr= ote: > > 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. > > diff --git a/lib/graph/version.map b/lib/graph/version.map > index aca38b23f0..5a6e13e62b 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_model_mcore_dispatch_core_bind; > + rte_graph_model_mcore_dispatch_core_unbind; Across the patch, Please update in symbols in alphabetical order when addin= g it. > > rte_graph_cluster_stats_create; > rte_graph_cluster_stats_destroy; > -- > 2.37.2 >