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 B5E9C42C5E; Thu, 8 Jun 2023 16:09:43 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 96DDB406B5; Thu, 8 Jun 2023 16:09:43 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 4B8D040042 for ; Thu, 8 Jun 2023 16:09:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686233382; x=1717769382; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=+OIsKdYCzCadPX27IGtiJ1U9gKMJPq/tUJj0ZhtS3Pk=; b=e9SUr5AHNuiSkTSML4pm7Uj06z3ds1xhCWM69ave79QdNRnnYn0yoT56 RAngcvtHPnJv22K3glS6T8KGtwGLcIWIofLOS+v/uvM+pNGikA/JCKbad XF/fFyvoj8HvosOgKVTgyM5CatGg5NwngGBvI8KVcmsHG7LLOLZ7a8K8D pB7Lkh+dZXpNPqwwIpjNedE4zOlecUaiLYxh7ARfxGmFpa4ePQ266qtht HM5Z7nAH9VTe79x8Nzz4/yXuYp8KVaUvwFT1LkyMTisVvfEwlcEhYBEel 1RQ+GyR/nNGqmeR0fFE5Nig0Cm+CkoCJTeIuYVwwV+RHDs0MAv4ZhFaYq g==; X-IronPort-AV: E=McAfee;i="6600,9927,10734"; a="346944673" X-IronPort-AV: E=Sophos;i="6.00,226,1681196400"; d="scan'208";a="346944673" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jun 2023 06:50:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10734"; a="1040112752" X-IronPort-AV: E=Sophos;i="6.00,226,1681196400"; d="scan'208";a="1040112752" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga005.fm.intel.com with ESMTP; 08 Jun 2023 06:50:10 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Thu, 8 Jun 2023 06:50:10 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Thu, 8 Jun 2023 06:50:09 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Thu, 8 Jun 2023 06:50:09 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.104) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Thu, 8 Jun 2023 06:50:09 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DfOFW6BwJKX4lW7/I1O5O/SeO3vY/syq+zZVpb9GHEa/A/QaORJTWLrBUtxpX4Ug/yUVGFEQ2/utLJBSwS0FSYPtFn+DFpjPZ4PDDVm24djRgpHkXT63WiT+OWhyUCty/RMsKURC+t7t6mzS+VmfQ4MCs39O5rl/6gZZlE5MrT7HI2+HcmMLhDQfKg8lSOfzjz+A8hcI3TKk7mNrziZ4xy3AQTFvourqDfdy8PAWTT4NIWECGSIE9CIn083HcHMcBWwncFEgA2gvvHNM3BB5mtWsblF/4Lx5ekxrF7XaI5GVGdgD149I9/e7299wDVTDsjmjDqKydXeH/FrruL10+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SDbDGzARMt1wRJEUxmLvWBKbP0bcdI7+05u8TLUWepE=; b=lI6gAipOpObob6pjMkI6De3EQx4PeL+IVhrp832HHUqENqT8jFR+0BpBCyQThFolHGwGcFviajPp+4OgRt6dqwrRxHcARri7ZGrfwSelhwVC1DHQkaus82aT9L5c8xuNyExLu2g5fFsKqqO45EsCmF8rKpM5EXNDQV2cYe94q44hdndy/yjnZroJ1t/lcMDVHxX1ByOPpeIiLq/x2mEpJFfY2rDKbmfnd7+71Ze5HPzCupBfBZRGSI8PKFc47qMxJ/QRkov5VgCke3YFilxcv9n0ZFQucQV7QUZfIJ1BOpPN/SxVY2Ik87Ct8fdUpt2AO+n+P5o6Hilv782JTDMkCQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SN7PR11MB6775.namprd11.prod.outlook.com (2603:10b6:806:264::21) by DS7PR11MB7858.namprd11.prod.outlook.com (2603:10b6:8:da::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.19; Thu, 8 Jun 2023 13:50:08 +0000 Received: from SN7PR11MB6775.namprd11.prod.outlook.com ([fe80::a458:ed7a:643b:5aa2]) by SN7PR11MB6775.namprd11.prod.outlook.com ([fe80::a458:ed7a:643b:5aa2%6]) with mapi id 15.20.6477.016; Thu, 8 Jun 2023 13:50:08 +0000 From: "Yan, Zhirun" To: Pavan Nikhilesh Bhagavatula , "dev@dpdk.org" , Jerin Jacob Kollanukkaran , "Kiran Kumar Kokkilagadda" , Nithin Kumar Dabilpuram , "stephen@networkplumber.org" , "jerinjacobk@gmail.com" CC: "Liang, Cunming" , "Wang, Haiyue" , mattias.ronnblom Subject: RE: [EXT] [PATCH v10 16/16] examples/l3fwd-graph: introduce mcore dispatch worker model Thread-Topic: [EXT] [PATCH v10 16/16] examples/l3fwd-graph: introduce mcore dispatch worker model Thread-Index: AQHZmfDUmJ6quKMwEUK4wWE6mzxFJa+A0AoAgAAbtYA= Date: Thu, 8 Jun 2023 13:50:08 +0000 Message-ID: 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: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN7PR11MB6775:EE_|DS7PR11MB7858:EE_ x-ms-office365-filtering-correlation-id: 6d71c9e2-4f96-45f2-5b21-08db68274574 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: xDKS/qjHf+kBOZ/aiBdSc9HfNkddCcZqDW0MFkABbHyjzrfELIp6N32daLjDfvL1+ap/hZ/AoG/gZDVmpoPbQKWpRGKyj4NgGGJr4lETWugVeybFIEhNlWgkb6pReZV0SvFDZueDHa6Zjca6EN7efpfmzFCDhcV/lqKp4Oe2ftVYe3XrqAzqs2nUUPOwtEgNYaenlWGZhtnG77LCP1pS4NJlRD7B/BnObqhfGcvwycsoo9K+Z+55f6mWVnJU7LIiHqTnqt6/SBT+0OVFvRxvrmIEX5HYCZW/ykxhKiNSFcoZgA+996VtgDJ2Gg+J4Z+Yzf2eEd268OxHdDDX4nB+Mb+Pf9EI3y+TjMzhqflcyXOKqwVG/YZgs4CF4ecBVL+VSXlhWD1BM+yYQERcpxqBx98leTFhDF9vt9+6QShTtfvMyPZtmb0BAdGL5dv9FIkhsZComGoomO5w822X5uqBoVUxNqnLHTAR8v/eso8oEeAoe/WqtkOAbeJ2FCSbwwzRwfAeAf7RcvAHglttKc8Dkh0Dc/NZkMz5rWskszi2sc5xvC0Sg8qUzAyblRw5wGW/qBWtxEFzP29uVyTQsEck+evidWq2N/S4dadTgCnItPpdbCb6dtGVPwQzjvsWyB0V x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN7PR11MB6775.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(39860400002)(346002)(136003)(366004)(376002)(396003)(451199021)(55016003)(7696005)(33656002)(76116006)(66476007)(66946007)(122000001)(82960400001)(110136005)(54906003)(66556008)(2906002)(66446008)(5660300002)(52536014)(4326008)(41300700001)(86362001)(38100700002)(316002)(8676002)(38070700005)(64756008)(8936002)(71200400001)(478600001)(186003)(83380400001)(53546011)(9686003)(6506007)(26005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?o3VgHZ8j88BemUPPYJwx+lmL6nicjE7v/8MAZkjWp1AmH37FkrpIBuDv15hQ?= =?us-ascii?Q?wIpc0LIcDazLGsk0MmW8XPUgildR5YoBGIxq+XZv76a2sS3lgusL0appHnGl?= =?us-ascii?Q?5hdt3NBdL2GNYbYd2fkGlI0OUqiHShezK7p/k/j0j6i/4zxtLxh8nXx/XHRg?= =?us-ascii?Q?bt3iDMSGufrHUDIpSr4AfUQ977H3NNG4C8Mn6y8lhBiHMpvNTYaUP3+TD/iZ?= =?us-ascii?Q?H47A15+XfILvezwFV0uZQtSeKFEMqYAT6IRtn+oWzLo8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bPhbT3korYg64VglFCgbNN0ZucT8Dbo3fm3gdMgZf?= =?us-ascii?Q?JFH9Ei7Px5kVHCzGb99K+fS7tuvQgsFC2W6H/ZMFt1BGr6UWHLoqie4QnWe/?= =?us-ascii?Q?rNo3YNJGxnSQORgOBSsat4EJ48aGR9cC7mSf1Byvjk2pCFaTQy+5tW3R0/1H?= =?us-ascii?Q?dD+v2k31he8kirgyT7UDE5HLJ/u/qyk2MQu9xxw7Y6Bg53+zPsK0L70w5b7N?= =?us-ascii?Q?Vxpz/hq4rkzorGCRbCnJttyP/HGiFBNqdnSOmz2qV9B3cUJxPc0lwVVK3kuN?= =?us-ascii?Q?1YPg86nVG18o2G8CSdyAmgoy0GxJMPyN55y30QxlYAENaRdHYjE9M8RcHhul?= =?us-ascii?Q?pScG4+A2rjFQduj3YmKUedgbnk/euJ8LvVSAbQTxbAN1ZkcmV6hYJs2A5Z8O?= =?us-ascii?Q?wBBGzzBI8UEyn6AUiTeFpmqhhzASvD6Gy1anMrt7?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN7PR11MB6775.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6d71c9e2-4f96-45f2-5b21-08db68274574 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jun 2023 13:50:08.0988 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6FxWFO1ZgbiEl5Uky2C+b+itn4mdkG0AAl76JU1480P98st2pJ72PtKoIjdTabJhlCRUxjtHzvTIQtPS9+ghQQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR11MB7858 X-OriginatorOrg: intel.com 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 > -----Original Message----- > From: Pavan Nikhilesh Bhagavatula > Sent: Thursday, June 8, 2023 8:09 PM > To: Yan, Zhirun ; dev@dpdk.org; Jerin Jacob > Kollanukkaran ; Kiran Kumar Kokkilagadda > ; Nithin Kumar Dabilpuram > ; stephen@networkplumber.org; > jerinjacobk@gmail.com > Cc: Liang, Cunming ; Wang, Haiyue > ; mattias.ronnblom > > Subject: RE: [EXT] [PATCH v10 16/16] examples/l3fwd-graph: introduce mcor= e > dispatch worker model >=20 > > Add new parameter "model" to choose mcore dispatch or rtc model. > > And in dispatch model, the node will affinity to worker core successive= ly. > > > > Note: > > RTE_GRAPH_MODEL_SELECT is set to GRAPH_MODEL_RTC by default. Must >=20 > Should be RTE_GRAPH_MODEL_RTC Good catch. I will correct it in next version. Thanks. >=20 > > 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 >=20 > Acked-by: Pavan Nikhilesh >=20 > > --- > > doc/guides/sample_app_ug/l3_forward_graph.rst | 16 ++ > > examples/l3fwd-graph/main.c | 230 +++++++++++++++--- > > 2 files changed, 208 insertions(+), 38 deletions(-) > >