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 8A5A742C5C; Thu, 8 Jun 2023 12:45:42 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 79B82406B5; Thu, 8 Jun 2023 12:45:42 +0200 (CEST) Received: from mail-vk1-f169.google.com (mail-vk1-f169.google.com [209.85.221.169]) by mails.dpdk.org (Postfix) with ESMTP id 2248E40042 for ; Thu, 8 Jun 2023 12:45:41 +0200 (CEST) Received: by mail-vk1-f169.google.com with SMTP id 71dfb90a1353d-46131c8093bso110536e0c.3 for ; Thu, 08 Jun 2023 03:45:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686221140; x=1688813140; 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=o8Bm4oxJ0E2OnbfYKFgQL90oJaTmZg8IupNdXYd7ejQ=; b=qnOlN2g4olVkp8PlzqUTPn1mrxBCt/USII0FTYrBKLuT6R3vT3y3cDftu3WTRK5gnd F2dbnyFL9aRxsEDvAMr5IKenyENrarXsBcWf13zP+um9+JWSiw0BDhqADPzNczRUe+fW NKqLo/2iCvN6NWkQzIyszXCkhhgyUxS0hNPayTauOv2oZjfxRlSemp2CQmDqEW90gMmk IpbdiM26JtgZNkD0lEOr0YY/u+/tpTFG29LD6ZOmFA7FcbPyW+anV/c5A+sSor2z6MCc gJYcoQrG4dZ33yJ6e9jGX9pagl7AhdGV5+DPnYaGVroFj1O8vDtETdDOrLIJuIZZAWYC kWMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686221140; x=1688813140; 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=o8Bm4oxJ0E2OnbfYKFgQL90oJaTmZg8IupNdXYd7ejQ=; b=OmaiWqHUX4qeMV2kYLCaM5tTmLw90URwPpdJfzswBGIgdsjiG2xWX2uZOOHoXadRtQ Pr+K+ifVAdu8L1RJo6EBLoA/XenFhyTG9X2zI3MncmPoIgiCVWYfKa7JNxf7xY94HMSZ 8LZAr1MXJQUHjoBifxUvWMHbs2M6vm4x1xpvCqAKnb+V7nGmLduNMP0ECknTtVntCD4K crjzYWTFrcmniZHLdbyxwgFnioCLdx1YN5LGRiQMu67r+OcmrMYTkPtFcmmpj8tvJkaA Cv4fWz1cpJApQ/ljCjzKitkGX1qcKKm+PUQxWrZwpH+9aySWghsW22gexn10C6yZ7OvS Lz/Q== X-Gm-Message-State: AC+VfDwLtc4DhIWvAV3BNLSRw6UatCKAVU5SVnUTBD+el7h1PdK1Ke+d SnSEOCGB9C5bBK32HESEFuk8T3jjpRPzhRAV84I= X-Google-Smtp-Source: ACHHUZ5jeP9kHA18YYWELD/ZjFOo0xdihrUgE7maTXZdevoqDD9jk9o6Xe3UDAcvSKXa22Vq9O0gKhLq+S1YW/cL/B8= X-Received: by 2002:a1f:3f96:0:b0:462:f2ef:ef9e with SMTP id m144-20020a1f3f96000000b00462f2efef9emr2630963vka.11.1686221140427; Thu, 08 Jun 2023 03:45:40 -0700 (PDT) MIME-Version: 1.0 References: <20230607035144.1214492-1-zhirun.yan@intel.com> <20230608095759.1800617-1-zhirun.yan@intel.com> <20230608095759.1800617-17-zhirun.yan@intel.com> In-Reply-To: <20230608095759.1800617-17-zhirun.yan@intel.com> From: Jerin Jacob Date: Thu, 8 Jun 2023 16:15:14 +0530 Message-ID: Subject: Re: [PATCH v10 16/16] examples/l3fwd-graph: introduce mcore dispatch worker model 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:36=E2=80=AFPM Zhirun Yan wr= ote: > > Add new parameter "model" to choose mcore dispatch or rtc model. > And in dispatch model, the node will affinity to worker core successively= . > > Note: Remove just the "Note" text. > RTE_GRAPH_MODEL_SELECT is set to GRAPH_MODEL_RTC by default. Must set > model the same as RTE_GRAPH_MODEL_SELECT If set it as rtc or mcore > dispatch explicitly. If not define it, it could choose by param model > in runtime. > Only support one RX node for mcore dispatch model in current > implementation. > > ./dpdk-l3fwd-graph -l 1,2,3,4 -n 4 -- -p 0x1 --config=3D"(0,0,1)" -P > --model=3D"dispatch" > > Signed-off-by: Haiyue Wang > Signed-off-by: Cunming Liang > Signed-off-by: Zhirun Yan Acked-by: Jerin Jacob