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 169C742C5C; Thu, 8 Jun 2023 12:39:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A9454406B5; Thu, 8 Jun 2023 12:39:02 +0200 (CEST) Received: from mail-oo1-f42.google.com (mail-oo1-f42.google.com [209.85.161.42]) by mails.dpdk.org (Postfix) with ESMTP id 35DBB40042 for ; Thu, 8 Jun 2023 12:39:01 +0200 (CEST) Received: by mail-oo1-f42.google.com with SMTP id 006d021491bc7-55ab0f777afso313269eaf.1 for ; Thu, 08 Jun 2023 03:39:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686220740; x=1688812740; 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=jGA92APWq9BMqpo04PCYNnN9nfAYFRl8Zp6vaFiSJZc=; b=UZNW1n8WOLmJwVyDeMinHCccR+mD/N7lCv/p1JDhsKv9d0QGFsga+R8rZQVmUd5D7p 1PRlvXsHrFTCZsJP+n3JdyJnWAxDBVRqH767yY0pztc9EIEl72Xed4z0s2eXzK6bW+DR IVzRgv+Jvd+a3HfdSaOyGEhWU1ipoGSKNv6qDhoOMxG3wLyLaMb1Atw+i0s+ZrqspfHD NZxYBMnHFj1kCcICtkg+OEtjeeWMs6qWQgZFVkCcNhCKaQWs2FnYO84gPQdOvywhUD8K YwtofTlAQvKMg65JKC9ygtUqsO1ORK76RXzc/x1DHNG08puPDXDStD9MLx9w+tZqJ3BH 5KBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686220740; x=1688812740; 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=jGA92APWq9BMqpo04PCYNnN9nfAYFRl8Zp6vaFiSJZc=; b=fe4HKkqOYmo0JRgDhu2jHqqTJOa2Gy2CdxIUdRSqzj5i0QK7ZOTnVFILcoXCouZz4m A1GNDFNjkPWOlZtGfRc3H9yQuGinamiv0Pklt7ND1RzG+OcyYGFPEsRBVhjvOXFfLKQX WtsAq6XaLDkT6khdYUyirE88xbx8uDjsYkpmTr7aL9oxbY7t1XyGFqy+oQJzLS7a8k9i Co+VGciuNOGjq41pKPLgCu7TlIAo1wcjH+aYUCfI1IuleH6AtzD7Z2sPLlpBUqax59b5 IoNxnL6UWjRHrR9qTGgzgjh6KQHApchKXYE0e5DY5fbC2befETu3Q6noutRMkappQVXO xZQQ== X-Gm-Message-State: AC+VfDyk8zopRhBPldXgeus7d2J7j6Unl+4XHyGNSsQMTCZ1WAKyyA4b YJKqE/Qs7a4WXwXjdoj0CrF0q1XnD8S1qRC5WJY= X-Google-Smtp-Source: ACHHUZ56SaJ8/WmruzDLgbC+08yRz7xu5sGfYOXHj9Rtpb9AksjPAwPR/cSzgpMeroXy1seLXSJzFjMNxgxhJysw8kc= X-Received: by 2002:a05:6358:c109:b0:127:fb1b:6b16 with SMTP id fh9-20020a056358c10900b00127fb1b6b16mr6063157rwb.15.1686220740060; Thu, 08 Jun 2023 03:39:00 -0700 (PDT) MIME-Version: 1.0 References: <20230607035144.1214492-1-zhirun.yan@intel.com> <20230608095759.1800617-1-zhirun.yan@intel.com> <20230608095759.1800617-5-zhirun.yan@intel.com> In-Reply-To: <20230608095759.1800617-5-zhirun.yan@intel.com> From: Jerin Jacob Date: Thu, 8 Jun 2023 16:08:33 +0530 Message-ID: Subject: Re: [PATCH v10 04/16] graph: add get/set graph worker model APIs 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 new get/set APIs to configure graph worker model which is used to > determine which model will be chosen. > > Signed-off-by: Haiyue Wang > Signed-off-by: Cunming Liang > Signed-off-by: Zhirun Yan > > +/** Graph worker models */ > +/* If adding new entry, then update graph_model_is_valid API. */ graph_model_is_valid-> rte_graph_model_is_valid. Comments suggestion: When adding a new graph model entry, update rte_graph_model_is_valid() implementation. With above change, Acked-by: Jerin Jacob