From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0057.outbound.protection.outlook.com [104.47.36.57]) by dpdk.org (Postfix) with ESMTP id 15E621B170 for ; Thu, 18 Jan 2018 08:05:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=hB1IvcraUtPxFMP9czvEzi6cyRmrQ0bYlfIHjnXuTA0=; b=GNYEC2AuWQES/LMN183/m1RGQJtwVK3LmY1tamSLBtsgPEGpMeL53lSR7xKY7k9TXcmdA9Qe+9ErcTNIzRFFU+Cuh7k0G6ELTiXoWzjjADKPIF7CLbRnBmXQMd8moixvgiKDWIfXvWLog9oaxpAkLOpf4HMYrA9Lvg9UhDL5NKk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (115.113.156.3) by CO2PR07MB2519.namprd07.prod.outlook.com (10.166.201.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.407.7; Thu, 18 Jan 2018 07:05:24 +0000 Date: Thu, 18 Jan 2018 12:34:50 +0530 From: Jerin Jacob To: Hemant Agrawal Cc: Nipun Gupta , dev@dpdk.org Message-ID: <20180118070449.GC469@jerin> References: <1514997859-3902-1-git-send-email-nipun.gupta@nxp.com> <9aed1d0e-87f5-2582-42cc-b7eeef8a5a23@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9aed1d0e-87f5-2582-42cc-b7eeef8a5a23@nxp.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-Originating-IP: [115.113.156.3] X-ClientProxiedBy: PN1PR01CA0091.INDPRD01.PROD.OUTLOOK.COM (10.174.144.159) To CO2PR07MB2519.namprd07.prod.outlook.com (10.166.201.6) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bb5f532a-60f2-4ab8-dc86-08d55e41d9ff X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534125)(4602075)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603307)(7153060)(7193020); SRVR:CO2PR07MB2519; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2519; 3:phurUjjYLdKD39mlaP32/rCkMbToqw1HP0lIcH9hNsJt/t1IA9r+Ddq/vU6g/NHXdYCE4/2udItfEp1AtXbkUb86wCqJwIdgl8dBJTA7wBV/Dy0f0TWgTKvOvBRkanhw1Pf56D8ATAlTCYVuV0LFbXxQ0P3iJioWmDdGVruW4IhzSE9Qpg0Wj5Ozqhdk8JMXyzMzKWBA8SydUh9f6zW83/1jeCtwIfr7CbcA1I4/4g0kHrJUl8h3Pw7TREbTAtVs; 25:Q51mkV8WffdOP1Rs+LsX1ULcrfKg5vvK05tcsLJQVGIj3R4kyFOQjxQW5ftRyyYm4cRn7s2auxQ4ublrvX6oU7Lkr9CKUlPc9dBuSTekeSnXPn+6L33RRgR6zYsyJxEWZOxrMLWYqbjvffSRPjWqODtC+CD/tOTcMG7Qeq3bF6PGnuMFXmRhZXmgna1ua8mEPySpegdHeVcGyo/lSX1xErF1uEbQsqCILGLgXCNY8cMoqricXyewZiXYg84/2ajya/A0tEgwwiuN5GEIudcjZ7hDHmuvT9WT7jgZHIXT6LDLK1jOHkosrS07GBk5DCvnyB8Yx+/IkUM6KBfhUPCceQ==; 31:hJsCCHVjG7KW1vILro7mAuVSdRI+uU57ApdWCfRwDYi86LRgO2yC9N5wB5scTN7q9aQ+rXziJpmY3U65rjKrIe0YYirYWmQeWj6KE7wCnMUtRJ9vv78dKgm3jT7/b4JWOY1a1EKga+JeIqySQ6GST6ISUt/Joze9lmKlExRMkOUn7Ak4gP416GLMWriCP1CWUQ4y1Q1j5nxIiuMeF9ELVg2vHLql5HP3iug99l1e2eQ= X-MS-TrafficTypeDiagnostic: CO2PR07MB2519: X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2519; 20:zsxHdx/D5MGOagYmGwvCUxWvV6Q73h/0QxeitbzhblTA0jx1Y62kghO+mqkumc+4q7VYYTI/FK5cKTsiN4v063RNv8L+iSKVcSI7AljbI4GZ/4LGYFfK1Rzu68Jd15Li3SyS5YCfb4CEHzdRw3rhOQMpK7jx9TjKUIb1eU0veMdw4FiImkr5LYk1Occe+zfBmexrH53Ou25mjymMUXQ1xjQzcCl28BkxSxbWEh/ycfrYzROeayQ5hKyolhAC+BcS/NCzJaedFTrFIc3TkO9vwz4nspUWarExTkP9G58oIJPGZgVf30FrXLpTPDXrKTgvtMBLQulKw/J5Nqzl+fxhHxmBW2Bbz370zPPlz6niysve591QgvZT+N5QDr+SYMWD30tQyq6IPmoUl2aPIp8d1Nr5Z400D9rVLHR1A4PWl2xG12qha4gMWVPhTlsXqr3ho9hhzlFaLQUV3Cad7tgHPDZwhDAwqJMJ0KKZml3TlEHTGRUFPRhmuQaggG48cb0EwbJk8P/A9iEnWrRNu5NjDl+wIiTiWZWnbkyBGdWeHyaZ1UlC60d5He6QuurcHsSvypkAPWbgaPtQubgLDL+lDR9FtZxijajmADrB7v30iNA=; 4:kwYMrc264hGTyxck0SQrLvJHSOfUxd8g+HaKK/H7zeBDV62voyUdPr4hvUS5GQteeL+CfSVHURqTFkTZs+9X7CD3OJ/Log4ajR4ywKuMI8Os90CMJHQAvBg/dQT+b2hA28TFl8xZLzI7HL1kBw84os2kxRMagl/TtskUesRHszfm3RVKa6Qan3wrx6Vzqo2cs4VEDaxgtvu0gV9xHStxWs1RwlgobP/hEmCPzwoubgzaWZFLhf8ZgbOObbzSiBzALCMTBLO5G5cEeEub4x6M3v6QOXJ76xMyaCQdstlIkwDtIc0rYZUEleP5+KT5uexu X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(5005006)(8121501046)(3231023)(944501161)(93006095)(3002001)(10201501046)(6041268)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:CO2PR07MB2519; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CO2PR07MB2519; X-Forefront-PRVS: 05568D1FF7 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(39380400002)(396003)(376002)(39860400002)(366004)(13464003)(199004)(189003)(16526018)(50466002)(9686003)(97736004)(105586002)(25786009)(47776003)(6496006)(106356001)(2906002)(26005)(53936002)(6306002)(83506002)(72206003)(55016002)(8656006)(229853002)(33656002)(305945005)(3846002)(76176011)(23726003)(33896004)(42882006)(1076002)(8936002)(2950100002)(6916009)(6666003)(316002)(16586007)(966005)(33716001)(53546011)(66066001)(52116002)(386003)(6116002)(58126008)(4326008)(5660300001)(55236004)(81156014)(6246003)(81166006)(8676002)(478600001)(7736002)(59450400001)(68736007)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR07MB2519; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR07MB2519; 23:BQibLXOzkTgkDmglagbC6qXUnEqeIRIYBLRXywuKi?= =?us-ascii?Q?ko6UUvXtwW+xn1wPvbaUt9WU/ZVcHtZdvPLMzTFbbf6qu1MKFByrvIzMoevK?= =?us-ascii?Q?IUrrUo9M+Gkjjyc2tdWq40d7ktNKEnl3a576UydoBR80Rjk9azqSN/a9lnfX?= =?us-ascii?Q?hxyA4HOAa5reCWdaVzsd69A84FWlJMXMX/FYfap65LEbY8ToJGA3qYAdxm7n?= =?us-ascii?Q?etvn3qTbXnIEfk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LGFaMlda0QRROHl960B+FOkspohLr9cdcP5nWS0IkMiis8bxxLHxqxAG5GJkFPgk4uRtjkq4CNKb8dfd/gagiuUXhXDpLn4NpABR6YJJjOH+rjdSxNLh+UDOeKR31LEAHyr4V0z8Jiib/9wDP6p4vLX/a5n/UEq00IYFr0Rz3TJvI5NsH+FKbsp7lQADN7BCMazsjo7hRB4kM+5l4jqep71 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2018 07:05:24.5790 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bb5f532a-60f2-4ab8-dc86-08d55e41d9ff X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB2519 Subject: Re: [dpdk-dev] [PATCH] event/dpaa2: return correct number of event ports 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: , X-List-Received-Date: Thu, 18 Jan 2018 07:05:29 -0000 -----Original Message----- > Date: Fri, 12 Jan 2018 20:12:27 +0530 > From: Hemant Agrawal > To: Nipun Gupta , dev@dpdk.org > CC: jerin.jacob@caviumnetworks.com > Subject: Re: [PATCH] event/dpaa2: return correct number of event ports > User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 > Thunderbird/45.8.0 > > On 1/3/2018 10:14 PM, Nipun Gupta wrote: > > In the info get API we were returning number of event > > ports as MAX number of LCORE's. After this change actual > > number of event ports (i.e. number of DPIO's) is provided > > in the info get API. > > > > Signed-off-by: Nipun Gupta > > --- > > This patch is dependent on https://dpdk.org/dev/patchwork/patch/32834/ > > as it uses the API exposed in the mentioned patch > > > > drivers/event/dpaa2/dpaa2_eventdev.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c > > index 13e7122..5cbe1cf 100644 > > --- a/drivers/event/dpaa2/dpaa2_eventdev.c > > +++ b/drivers/event/dpaa2/dpaa2_eventdev.c > > @@ -326,7 +326,7 @@ static void dpaa2_eventdev_process_atomic(struct qbman_swp *swp, > > DPAA2_EVENT_MAX_QUEUE_PRIORITY_LEVELS; > > dev_info->max_event_priority_levels = > > DPAA2_EVENT_MAX_EVENT_PRIORITY_LEVELS; > > - dev_info->max_event_ports = RTE_MAX_LCORE; > > + dev_info->max_event_ports = rte_fslmc_get_device_count(DPAA2_IO); > > dev_info->max_event_port_dequeue_depth = > > DPAA2_EVENT_MAX_PORT_DEQUEUE_DEPTH; > > dev_info->max_event_port_enqueue_depth = > > > Acked-by: Hemant Agrawal Applied to dpdk-next-eventdev/master. Thanks.