From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 68554A327F for ; Mon, 21 Oct 2019 19:02:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6E1391BF6E; Mon, 21 Oct 2019 19:02:40 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id A8BED1BF50 for ; Mon, 21 Oct 2019 19:02:38 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x9LH05CC025098; Mon, 21 Oct 2019 10:02:38 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=cKw1YVWD58iI1hFozpyeeGZU8dv60ysKvRP5+EOHmuI=; b=K6g9TeBYyJPsXgVLOB7O0mgJizAJf6F0RbXshsVvfAmaDhkFFcW5yA+va8cOpCIxZJxx zUIcgdUYrhCKDMw3o8zMqD43KVUxsIWB0KHZkufUOjY6o3Js7vLjGNi2nUM5wp354gVT +e1MPWyQAUgVxj/GgevYMeBKD7Yq1bfBD107LD9YHzEJG4DcNnuVNAHmGr1QmPUuugs5 oyFwtyk7qdLbkEq552mmyTbMRh6BE3cEDtB4ob2H1gBHImtI650ea5kKFFIpJakHPBwB fj2MdZYNORgLbz/MeTkZds8GdrB2MTSOnbhC4Zkx7KKioQWj8AN8fsM+VJayxgerS/kI WA== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0b-0016f401.pphosted.com with ESMTP id 2vr20mq15a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 21 Oct 2019 10:02:37 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 21 Oct 2019 10:02:36 -0700 Received: from NAM05-BY2-obe.outbound.protection.outlook.com (104.47.50.52) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Mon, 21 Oct 2019 10:02:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LB4Om4dJgQKLWsriEGD3QkP8colIrTZ6IAQlJUfBF3bpNe9JsbC92djjFNL7x56oWY2H6C35ViqUbwm2Ckbcr+pbjno8tFfCCdCrCQPMKjjkbgVcI4P7tXxgMPxLU3qSnvnpf6G6F/FZbjwUt6YUaCH87LDbPz5CrQ8mhfFCr74wnf0AX3gWz7fS1CSBPdX65rqHePMX/NGQl32jlGr3fh08d+O7XgW1rLz9mlKCdPCX8iBH8/KLAERZOYWPm3kv4wQgU/63qhsZ77Y2nkp2ityFdYiaXulLeTRRst7IvxUjWBBInnfpeb+RHiMBtwk3EzCwWccEqQxIyjZIpmkSww== 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-SenderADCheck; bh=cKw1YVWD58iI1hFozpyeeGZU8dv60ysKvRP5+EOHmuI=; b=n+LcdjXBKZybjauvgVnCdN9+ftsCnHtC9MMl3MNHXzdn9A2YnCvF9kxNq8wujBYHWj4l/6FQ4kaYjoDq2vzZT+ZlICLtrBPgYlh9URxKs64eV6/I3Ng4cS2kTyX2mCbhX84nTla0HNXgHIdRc9j/rfH3v42ONpmK3c6AxtT0EDYfkwS7aagPRiDwutehlDnwpUf25NgM6AooAUVMgEFIGXFg8Ty7RWBYaEKeItBIGEn5b3ppvJgnbrH6xkWfu6yevme2vRVDGG8xu5LejOAiz0QCLsvp8Zw9V2p1I0PjbI1jp8ep6Vu+vjpxe/jnC2FjWlB1ckLNBktVXsTIZd4Lug== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cKw1YVWD58iI1hFozpyeeGZU8dv60ysKvRP5+EOHmuI=; b=PypGEuXGVLh5iZjDjEdYQOwtkEJl0fk+CbMLrzXwzOIg7mm/yGMo/QKKniTAydgapJxMLf7UFoYbPTcds4Pgg53/480teqY5ODb9esEYr5v5ACey/ZSQt4/lr/eCtNnLwALnsSZo94TqWJOYdUMLuZgkMec5aHvZkISVI/BtEeU= Received: from CY4PR1801MB1863.namprd18.prod.outlook.com (10.171.255.160) by CY4PR1801MB1896.namprd18.prod.outlook.com (10.171.255.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2367.24; Mon, 21 Oct 2019 17:02:35 +0000 Received: from CY4PR1801MB1863.namprd18.prod.outlook.com ([fe80::15d1:f4cf:f510:8fa]) by CY4PR1801MB1863.namprd18.prod.outlook.com ([fe80::15d1:f4cf:f510:8fa%4]) with mapi id 15.20.2347.029; Mon, 21 Oct 2019 17:02:35 +0000 From: Pavan Nikhilesh Bhagavatula To: "Varghese, Vipin" , Jerin Jacob Kollanukkaran , "Richardson, Bruce" , "hemant.agrawal@nxp.com" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v6 00/10] example/l2fwd-event: introduce l2fwd-event example Thread-Index: AQHVh79DfCMUlDB+kEq78rikGyty7adlUgrw Date: Mon, 21 Oct 2019 17:02:35 +0000 Message-ID: References: <20191002205754.11746-1-pbhagavatula@marvell.com> <20191014182247.961-1-pbhagavatula@marvell.com> <4C9E0AB70F954A408CC4ADDBF0F8FA7D4D3DCA77@BGSMSX101.gar.corp.intel.com> In-Reply-To: <4C9E0AB70F954A408CC4ADDBF0F8FA7D4D3DCA77@BGSMSX101.gar.corp.intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [122.172.83.127] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a6710540-9e72-43c7-6e3a-08d75648784e x-ms-traffictypediagnostic: CY4PR1801MB1896: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 0197AFBD92 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(136003)(39860400002)(346002)(366004)(376002)(199004)(189003)(305945005)(7736002)(6116002)(3846002)(74316002)(6246003)(4326008)(71200400001)(7696005)(99286004)(76176011)(71190400001)(110136005)(316002)(6436002)(9686003)(229853002)(55016002)(2906002)(33656002)(25786009)(81156014)(478600001)(81166006)(8936002)(86362001)(14454004)(446003)(11346002)(52536014)(5660300002)(6506007)(102836004)(26005)(256004)(486006)(66476007)(66066001)(64756008)(66946007)(66446008)(76116006)(2501003)(476003)(66556008)(186003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR1801MB1896; H:CY4PR1801MB1863.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: biRePxO3TPNvvgzHOJVErgIjFAN9gT/MH8QY6BGXY1BaN/fTUwEyknwZE5TDtmHrlMvmzdsbY9mRlVxzt453PhzlHZTRsH/HpuJ5n6hyPLIMRC1EiATXFLR+bwfFWSKB9/Za3QmsYjSpYzEdAI8uLaPmLdU8Qq59iza7WzZZZ0m7lgr+f+lM4avJSyqcJNQduzziquo5Mi4nBeJDyAYBl1R8NDUwY3hJXwlZmXZmJ2783mJskMo3kf4PmofXeKXGY0LC/Xxqm8rhTfWXDLLnyxS7O3kLN36ySu5kzCi1yglk3v+qkl6vht6fIhhdwK5lH7ff4lFOfYYF9M+6n3KjhJsxsOkkaQ5004JpGA6AaKOuvIGN2yxh5WB/Kb33noYM6xiEXyUDsfi7aUbw0/G1QaqL0ySEEpB7PNMFHzXjRaQTRTawMwJQhQ5+bU7uXxT9 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: a6710540-9e72-43c7-6e3a-08d75648784e X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Oct 2019 17:02:35.0555 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 3jInq6P3OGI3QdixsEwPjt4RbFpSCdPDZSJc5s4h4At+ddMRp6oO/Ayph/8VpP9iqzu6BGD9LGqHqxGaU6Mtq+yFpoZ/EZsFcYc48kVk6HQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1801MB1896 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-10-21_04:2019-10-21,2019-10-21 signatures=0 Subject: Re: [dpdk-dev] [PATCH v6 00/10] example/l2fwd-event: introduce l2fwd-event example X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Vipin, >Hi Pavan, > >Thanks for sharing the write up, following are some of my thoughts. > >Snipped >> >> Based on event device capability the configuration is done as follows: >> - A single event device is enabled. >> - The number of event ports is equal to the number of worker >> cores enabled in the core mask. Additional event ports might >> be configured based on Rx/Tx adapter capability. >> - The number of event queues is equal to the number of ethernet >> ports. If Tx adapter doesn't have internal port capability then >> an additional single link event queue is used to enqueue events >> to Tx adapter. >1. Are we support per port function as 'mac_updating' and >'non_macupdating'? No, its global. >2. If no for above, why is that each port should have ` number of event >queues is equal to the number of ethernet`? It's not a quantifier of each port, It across the eventdevice that the numb= er=20 of event queues is equal to number of ethdevices used. This is to prevent event queues being overcrowded i.e. in case there is onl= y=20 one event queue and multiple Eth devices then SW/HW will have a bottleneck in enqueueing all the mbufs to a single event queue.=20 >3. With this work for vdev ports, if no are we adding check for the same >in `main` function? I have verified the functionality for --vdev=3Devent_sw0 and it seems to wo= rk fine. > >snipped