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 5829542C4C; Wed, 7 Jun 2023 10:04:36 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4786840A84; Wed, 7 Jun 2023 10:04:36 +0200 (CEST) Received: from mail-ua1-f43.google.com (mail-ua1-f43.google.com [209.85.222.43]) by mails.dpdk.org (Postfix) with ESMTP id E273D40A84 for ; Wed, 7 Jun 2023 10:04:34 +0200 (CEST) Received: by mail-ua1-f43.google.com with SMTP id a1e0cc1a2514c-7870821d9a1so236170241.1 for ; Wed, 07 Jun 2023 01:04:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686125074; x=1688717074; 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=YXS3ccAEnxausmixwU1qeOcvpEKIK/FOhHLhvhymENY=; b=bkxicIkk8/4nWMW3EmepY1EDn4l32wRo569e9mG0Z/26d3uQfiNHHX4epdw3Qg4jD5 t05lHPnMTXLzKFUvaDQOpXYIcOWsQdfq+9PgCLmIVCq8u4TIFMhVmPrWMj4/CUSRfdc9 5TeGePSVxNmJKnDJIWV5gcrf/PMs2Jye8FBtPSJ+GH9bib8JRPy1k8oTqE7sGd3R8ZZw l7hlmKZQ8e1g9nf8EoHHiNc7Fw+id/bQB0iLIRy/SEVQrVsKnJTxdJm/R2kQlZg18Tdr NBIR/Qj6SfTwIaKsv+F53jQuu+u57KdRu6tuT3vLHcdQkA2sfxwJAN5lncdISxIiMDk3 p1VQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686125074; x=1688717074; 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=YXS3ccAEnxausmixwU1qeOcvpEKIK/FOhHLhvhymENY=; b=Md958tf3GGNtVyznFYuQsTDu+YakdGCePwkCE+6T6qBODR4WVYMnM45e9I30gJdjof 5WTBK+2lBKdUhPp+NYqKWV2Vo7wdELRbzmi1bsociwMrMCwFD+mK6fpDBBienWQ2QwUm pDw658GYx5O+2G2RUE6EQ7Wn5VAlEismBy7+Q0OWPWif/ysku2roQh2EhCpIZD8fv73R x5FkqZ/SWBLUkBfWi0XdrBdZb8VuysedxQtBAgJtsSUi8hwn0YMMC1Dm98vvREG8q6n7 cl3sZJ2v4ZXa0TctyrV17PUmy5ANBpo1omyzzUq/+TUBCu16yymTfEapdB7ckuzbeXB4 vIUA== X-Gm-Message-State: AC+VfDyUD+3dHqkbzdjvY39Wv6nzDwO4ZxIXezWywubcJHAU38/cqGPD DCYbX30zbYzb8fNcl47oq/2KSnamxI94FddLOrs= X-Google-Smtp-Source: ACHHUZ7Urm1A17AFfJWqj9S7LE9IveA6MSipJrkNy8NcbTh3m9ZyoDzMo+X//719BUsl6vWAkmp/bAWclYgHf5vmqbk= X-Received: by 2002:a05:6102:f9c:b0:439:55ed:226c with SMTP id e28-20020a0561020f9c00b0043955ed226cmr819739vsv.14.1686125074242; Wed, 07 Jun 2023 01:04:34 -0700 (PDT) MIME-Version: 1.0 References: <20230606144746.708388-1-zhirun.yan@intel.com> <20230607035144.1214492-1-zhirun.yan@intel.com> <20230607035144.1214492-9-zhirun.yan@intel.com> In-Reply-To: <20230607035144.1214492-9-zhirun.yan@intel.com> From: Jerin Jacob Date: Wed, 7 Jun 2023 13:34:08 +0530 Message-ID: Subject: Re: [PATCH v9 08/17] graph: introduce graph clone API for other worker core 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 Wed, Jun 7, 2023 at 9:30=E2=80=AFAM Zhirun Yan wr= ote: > > This patch adds graph API for supporting to clone the graph object for > a specified worker core. The new graph will also clone all nodes. > > Signed-off-by: Haiyue Wang > Signed-off-by: Cunming Liang > Signed-off-by: Zhirun Yan > --- > +/** > + * Clone Graph. > + * > + * Clone a graph from static graph (graph created from rte_graph_create(= )). And > + * all cloned graphs attached to the parent graph MUST be destroyed toge= ther > + * for fast schedule design limitation (stop ALL graph walk firstly). Please plan to use reference count scheme to avoid this limitation in next release. With that, Acked-by: Jerin Jacob