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 9763FA04DD; Thu, 2 Jan 2020 07:21:53 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CE8361BFC6; Thu, 2 Jan 2020 07:21:52 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id D80AF1BFA8 for ; Thu, 2 Jan 2020 07:21:51 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0026K6J5020885; Wed, 1 Jan 2020 22:21:51 -0800 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=jX2CaDMaU9g25DxuIZ7bK0RRa5LYUgMSE6l3RFBOWlA=; b=ULKkxTwMc4lIiPtihMnXbZJDG3FGyYsF9Cbya/ddGiKQHBj+zaf4K6CA+rTQnwydFtjs mtbM7vzpVYTO2zIw1NM8iVL9buRtd0j0PhnP/OrI6kcaNJJ/PZ0Iu+0WBOCztX/hfdVk gyaXInm8smnx9YNnVrmdU/+hwCQUgzvL8owH2bFtHmm1IwRz4g+eSKXFNRJw1vl83wQc DyERopfZVAKjVQVz1TonJB7AGuq/D6Sl64QgvGf+JCWbbIwNLkI19YoqM8G8X/4kv2lT xCVp1IuiMz2jWL5tOYchLozdMDqnWPtkCFKNg32qTdJrsNiV3+ZsBNrD9JfyJ4T4NLXf pQ== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0a-0016f401.pphosted.com with ESMTP id 2x659vmkj7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 01 Jan 2020 22:21:50 -0800 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 1 Jan 2020 22:21:49 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.177) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Wed, 1 Jan 2020 22:21:49 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W+lT9vLm6Bf/+LmFNnamigJKWJSTZFn2m47GhF53ett27b1XaideRUdC0ngF6IgALHIRptlulGYzkgZ//O8hpi0ERgT9jot6eqgnu9j4UL0aIMJdTR7mFkFpvyTproce+lT/hJ8obYa/UI+vOY1XO79a71xutrAZpJ8+8AlK5K8uLNW/bg6G0979AjYca6Yl61zo7t1L2ZtMRUEPBv5Xe7wkVR5SB7+9j77Wm6Xvmp+rKRE2fFqUJ8ZCo11KjS2IDIz/jsheA/06ovxSPRFSIVX1jXtiWGmcWGXuxqTmj9no2MUEwonZubgXunJBlpNTaVth+I6sfF9VA8LCKm7bqA== 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=jX2CaDMaU9g25DxuIZ7bK0RRa5LYUgMSE6l3RFBOWlA=; b=BIsEr2+7kwbyU0mswxsD9z2HGqqCGFJx679zXhZhLRQX1fACRjf7ciQiCZ2skeLkv63ZJESaITZVR9eGwIdd1YYsIQ8up5KSMGH6o+XNGiaE8Fz7eUPW9ClOZNs+y6ym6tCmhwfPQc7P58w6ATw4NZ7wAKAKb0OutRg1hOPnyoc0bEZq9vV3qPXPFa37uwz0NdSNWsr7DViNBABECcc/Ou6oysgLLa9+tVWJDxTIgVQxryKAph8p9Szv8N9dEB3QXegw0+Gkwqa+e9Eu2Gl2NskjNpSv19M658KFjkaouqRBqjZKqBo576Ee2BjgN9ldDPn1b9qyQPAp+68yDgRiTg== 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=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jX2CaDMaU9g25DxuIZ7bK0RRa5LYUgMSE6l3RFBOWlA=; b=Tec25tUFkumLrZRxOD4M2N0iD602oodS1GWsoEbuIhLH3V42ig6jiGE4IhclO8gNkCJbHy/VCQ2XnI+CMCSJ2gURqNuYsjpGHZFzZM7b9KNUWyk01r3BH9Qw8RWfeLiB7Vtpy7UMWxZCkjqpDf5b7AobUeyd0fAzq4aOkOEhXAM= Received: from CY4PR1801MB1863.namprd18.prod.outlook.com (10.171.255.160) by CY4PR1801MB2040.namprd18.prod.outlook.com (10.165.88.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.11; Thu, 2 Jan 2020 06:21:48 +0000 Received: from CY4PR1801MB1863.namprd18.prod.outlook.com ([fe80::9c5c:3cc4:c7f9:5fce]) by CY4PR1801MB1863.namprd18.prod.outlook.com ([fe80::9c5c:3cc4:c7f9:5fce%4]) with mapi id 15.20.2581.007; Thu, 2 Jan 2020 06:21:48 +0000 From: Pavan Nikhilesh Bhagavatula To: Nipun Gupta , Jerin Jacob Kollanukkaran , Marko Kovacevic , Ori Kam , Bruce Richardson , "Radu Nicolau" , Akhil Goyal , "Tomasz Kantecki" , Sunil Kumar Kori , Hemant Agrawal CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 04/11] examples/l3fwd: add ethdev setup based on eventdev Thread-Index: AQHVvLo4fCm2ejmclEeQawOKny7lyafRQM0ggAEOkgCABKAREA== Date: Thu, 2 Jan 2020 06:21:48 +0000 Message-ID: References: <20191204144345.5736-1-pbhagavatula@marvell.com> <20191204144345.5736-5-pbhagavatula@marvell.com> In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [14.140.231.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b48d9dec-6052-42ac-3d0b-08d78f4c0c54 x-ms-traffictypediagnostic: CY4PR1801MB2040: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0270ED2845 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(39850400004)(396003)(376002)(366004)(346002)(189003)(199004)(6506007)(55236004)(7696005)(71200400001)(86362001)(5660300002)(33656002)(66476007)(64756008)(66946007)(66556008)(186003)(478600001)(8936002)(81166006)(81156014)(52536014)(2906002)(66446008)(55016002)(9686003)(26005)(110136005)(76116006)(316002)(4326008)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR1801MB2040; H:CY4PR1801MB1863.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: K82TXgq/p7PYcwN9kpaI/4yZgqKpJn/po7xUJsZRimyREpQy0oiPJw6G9ec+06jNU+HP13eM9QkeXmk1lBrWPPA30I7YCq7I4ryoVQRc859GuyorQ8EhlCuYYeJePlgR4+lB5egJb+z9fRb2CeYufboR5/t1s4+/5mEpUsoZek/idNkj4xo+TLMCpe+Ob93uMJ1Auh9EJijrnGP+kF8Q+Ivpzr07CjIKOmDIRfmX/VLHcZjMsqEp/t/0JRLDuLJ+bwDNbE/+1gmAJOA1t/4AfRqEPkVW6SmTI5QhbnHY/fSFD8FxPEfQA/2+D2r3eSA2JOHF29X0++rX8IkKucGZeCL+SF51DEzRrVnG/klopbkYCzT7vxULd8Aic5LGm1fd9PpgKxuPjlRrzHagenLNLTiul171vEorWtjjkkJBhNxwZKiFQ/N96r4NNtt5HA2QrS+N9LpYLujdnccSzuw5ECPcnrGtLb4ArPn5GFA6/KF2RLT4T/Dc2ORTBI12VM47 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: b48d9dec-6052-42ac-3d0b-08d78f4c0c54 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Jan 2020 06:21:48.2208 (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: AlHMWSugvmHPSIgADP9vzrvb68UsBk1AmV3iD6phWI0ypP9VaP+7o0wZpq+au5cMMcTMGk2FRRPwe35EfGtHwcRn4N/0sB4hk3zsm/rirVM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1801MB2040 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2020-01-02_01:2019-12-30,2020-01-02 signatures=0 Subject: Re: [dpdk-dev] [PATCH v2 04/11] examples/l3fwd: add ethdev setup based on eventdev 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" >> >&local_port_conf); >> >> + if (ret < 0) >> >> + rte_exit(EXIT_FAILURE, >> >> + "Cannot configure device: err=3D%d, >> >> port=3D%d\n", >> >> + ret, port_id); >> >> + >> > >> >We should be using number of RX queues as per the config option >> >provided in the arguments. >> >L3fwd is supposed to support multiple queue. Right? >> >> The entire premise of using event device is to showcase packet >scheduling to >> cores >> without the need for splitting packets across multiple queues. >> >> Queue config is ignored when event mode is selected. > >For atomic queues, we have single queue providing packets to a single >core at a time till processing on that core is completed, irrespective of >the flows on that hardware queue. >And multiple queues are required to distribute separate packets on >separate cores, with these atomic queues maintaining the ordering and >not scheduling on other core, until processing core has completed its >job. >To have this solution generic, we should also take config parameter - >(port, number of queues) to enable multiple ethernet RX queues. > Not sure I follow we connect Rx queue to an event queue which is then linke= d to multiple event ports which are polled on=20 by respective cores. How would increasing Rx queues help? Distributing flows from single event q= ueue to multiple event ports is the responsibility of Event device as per spec. Does DPAA/2 function differently?=20 Regards, Pavan. >Regards, >Nipun > >> >> > >> >Regards, >> >Nipun >> > >> >> Regards, >> Pavan.