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 8DC1242DF7; Fri, 7 Jul 2023 12:17:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1FEE6406B5; Fri, 7 Jul 2023 12:17:01 +0200 (CEST) Received: from mail-ua1-f42.google.com (mail-ua1-f42.google.com [209.85.222.42]) by mails.dpdk.org (Postfix) with ESMTP id 4820840685 for ; Fri, 7 Jul 2023 12:17:00 +0200 (CEST) Received: by mail-ua1-f42.google.com with SMTP id a1e0cc1a2514c-794c5f60479so525734241.3 for ; Fri, 07 Jul 2023 03:17:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688725019; x=1691317019; 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=7oiMNedSa6K+GdzWQPOBjedSmGAcoxrHYZI5Td4rwvY=; b=PasOXQutMbUWkdqUiJpFGRTCYbhnD6lTZpr8f/yvEWl0MEaCBKEmc8bWwUrtfBnOCk IBNOhJhj3RmXXyiH5K2pLJBXye4mbBug+OKzWQpaRW/9tD5nvX1RekSzBf9gdfzH1y2d Loz+6UR85x1gxZydz+So21Wh9XTmpsNE5pXnbhRirpjOGMYWzSzl7CRHRKRmiih6mjiZ 6JPSz2KthU0ukbYEynl60za6l8nriwpMXZLxTkbzJ04Z1b89DrO+i1F7au0y6a6geTGF wZW7pH6a2w7JotxDjnC1V4RqbAeuhRwz67Xu8CBaP5j5PRt6GfDo2SzAsj09t8X2nCJT ZLZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688725019; x=1691317019; 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=7oiMNedSa6K+GdzWQPOBjedSmGAcoxrHYZI5Td4rwvY=; b=WR++OkLChX6A1A/yyCixbvGevR6uQYfeam0S15GQnXLAMnir9V18Gd+Xn5y9I6Qgny J9b+mTisNuPtOhxrLUY9QJai3lAHatYiqTigFwbblqJucpfwMqDE6PwHYHcK4unbBhKj FTjzo0CBXsAMG0MYGHkY9b4Of7MEbYAp7bLj55xVeuW6WLSpa0RZSi1pX9vXs80r2kmb 8uAtM+ASorRPnDfTjzqp2iSiOfE3JOTucaptwPRb/vF1b2DAkNW1za2Y3PkRfS0EWpZS KxxMHFCMzO1ouVZ5qB1Z5UTmwIzJE4043bgU2LP40QpVr5+qlxJj7ZRNXi6YCPhiyjpp YGRA== X-Gm-Message-State: ABy/qLaixSb2e50PpTgekr3i1xPJutr0UzsPqJodQOXTRMsaI2jspi75 /n6qwfaLh36BqDRwqVZX9h3l86IQpqah/TzS2xU= X-Google-Smtp-Source: APBJJlGN40cgRPiNAGF51WaR42DOawTxxiEgFnKzccjCLtn2jK6h1Ec7ICWlEDTJDt9Y8PWEUuHAmmh/ensJX6O6cP0= X-Received: by 2002:a05:6102:3644:b0:443:ef68:1f07 with SMTP id s4-20020a056102364400b00443ef681f07mr1912889vsu.2.1688725019529; Fri, 07 Jul 2023 03:16:59 -0700 (PDT) MIME-Version: 1.0 References: <20230703095542.1229602-1-zhirun.yan@intel.com> <20230705015633.1465235-1-zhirun.yan@intel.com> In-Reply-To: <20230705015633.1465235-1-zhirun.yan@intel.com> From: Jerin Jacob Date: Fri, 7 Jul 2023 15:46:33 +0530 Message-ID: Subject: Re: [PATCH v3] graph: fix graph model check in core binding To: Zhirun Yan Cc: dev@dpdk.org, jerinj@marvell.com, kirankumark@marvell.com, ndabilpuram@marvell.com, qi.fu@intel.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, Jul 5, 2023 at 7:38=E2=80=AFAM Zhirun Yan wr= ote: > > Fix graph model check in core binding with graph. And rte_graph_clone() Two fixes, Lets have two patches. Also tell what is fixed and how it is fix= ed. > need to use valid params rather than NULL pointer. Update release notes > for new mcore dispatch model. > > Fixes: ecb22a294980 ("graph: introduce graph bind unbind API") > Fixes: 67e2303cd823 ("test/graph: add functional tests for mcore dispatch= model") > > Signed-off-by: Zhirun Yan > --- > app/test/test_graph.c | 15 ++++++++++++--- > doc/guides/rel_notes/release_23_07.rst | 11 +++++++++++ > lib/graph/graph.c | 2 +- > 3 files changed, 24 insertions(+), 4 deletions(-) > > diff --git a/app/test/test_graph.c b/app/test/test_graph.c > index 8609c0b3a4..8983363c8e 100644 > --- a/app/test/test_graph.c > +++ b/app/test/test_graph.c > @@ -702,6 +702,7 @@ test_graph_model_mcore_dispatch_node_lcore_affinity_s= et(void) > unsigned int worker_lcore =3D RTE_MAX_LCORE; > rte_node_t nid =3D RTE_NODE_ID_INVALID; > char node_name[64] =3D "test_node00"; > + struct rte_graph_param graph_conf; Initialize with zero or defaults, aka add =3D { 0 }