From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0061.outbound.protection.outlook.com [104.47.38.61]) by dpdk.org (Postfix) with ESMTP id 6540D7CE4 for ; Fri, 2 Jun 2017 16:38:57 +0200 (CEST) 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=Dtj60UkMrIleo3PEFroeZkEKvAs/M3nGhblQmv9zr14=; b=P2/7FsC11b+bZ7tILCKMDzyWDOjBNFEb/N3bo7VFexWdIEJDtZbxz6FwdyZ0HpCadel4+uNq9IYoWBKWWp3ZhxhYxM7lmd1vV6y1ORKaUixv8GvCe7fDzLQQXflJglnMij3jrKRLP/zMBIpohqp27hEJlc7BuSoB71j65dmZMi0= Authentication-Results: nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin (111.93.218.67) by BN3PR0701MB1718.namprd07.prod.outlook.com (10.163.39.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.10; Fri, 2 Jun 2017 14:38:51 +0000 Date: Fri, 2 Jun 2017 20:08:31 +0530 From: Jerin Jacob To: Hemant Agrawal Cc: dev@dpdk.org, bruce.richardson@intel.com, harry.van.haaren@intel.com, gage.eads@intel.com, nipun.gupta@nxp.com, narender.vangati@intel.com Message-ID: <20170602143830.GA17430@jerin> References: <20170518084827.13626-1-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0084.INDPRD01.PROD.OUTLOOK.COM (10.174.144.152) To BN3PR0701MB1718.namprd07.prod.outlook.com (10.163.39.17) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN3PR0701MB1718: X-MS-Office365-Filtering-Correlation-Id: a2432ec3-d0a8-4f8f-0c3e-08d4a9c517ec X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BN3PR0701MB1718; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 3:7Ii1yfov4KRVqfG13xF+Or1/gfNRnPBSwbaHGXtszNyZ6piezV/DAVgVVU9h3s5sVMt6g/wv7PkugjGM8ydxFSr9g8jhumu9zJArYPtw4neLBmZDXXgPrXHwc6ksWw41r1q/St6XWcaZjfnHgtZQ6RZH/odhh9xlSPfa1JjOrbsM7CH7puAp+TxD7xklkOHWixbqPsg1ZeXJnnhzMNdXrmEjCe9Sk7jepECNAiseqNFCyEUam38h0hi69Lqy6s9sQtOoasuYnzRhyd+LVBRrSkO4VHRa9+XF1K42IMlbOW+NjyHo3SeeHYFuxFLLIZIP1+tUGV+yIfiWQYQlnNdCKg==; 25:4/uStzVj20qcqzGKm60U1IVhcgZzA6RKSAQ/Tv0eyV6meif+wStvNrYy2zKkRyHANtPGlZ2mX1y/C3mlbPn3xdI8Bwb8ti5+vxXAoAYXseGOyDZehS2qA9o/Z+RfBlT38GibowwXPLEqv/ZcAwwjMPqMDo+JNfWU2GzcdWkqDtMyjhAMmFcdR+3blSZNBrHYX5/ZOHInAaNVZDXGpT4pNWCLdXhvZsp4FxwG1Q8BfTyIyYBGNneNQKTdt5k1ZDXyBGNirXL0Zy1Uwoa6k9wwxhwyaBrrtWfD01hY0h0Oyez3GWb3fdG1g69jJDnFfa90MMo6y6ooVwvtRhgyeQEuAwfcCr3ulpfV23re8WrcKcl0mYK7MksjtOuZlR/NgjIi0lJ2PxlUJmly2lLmXArbDb6ZLcYsQiwgJpy/jfygQP2PeOaahBEZzqxVYDlFyQITelKsvbnDtHuD7dl0oVYybFDFT0WIvaHNAfygKZQaIIo= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 31:JrjEKE0prjD1aNAz9xm8ydxMq/QUgOav8AiXsam5GWMn5YkB9yGYWjn6N4UFMYmutGduXGYElScvtI6H4TvQOGL7TiX1DNWnrwprv2lha38c64Z7ZVWsy9yjt0cPXcsiBFjGOIaFcSwiC0L/e0fxb6yM4l4gaM68NGK6CfDk/BDV4y50RGj/L2TUzCbj0dIy8LFx4FqkP5e1GI92S77LfAJiqXTCOIEc6G5OgdfTF9WxSEaO8z5UXPYlPvPTjYuW6IrY5P6l7N9tvgfG3OhXRg==; 20:yFTpXzyxNxHWmAhS8pZZiLzQsN89J0oDecACV4zzceq56v3QLnrCHkcLs04hKT9R/dOO6VIxn+BEcSYAw7td9ZxZn6Frm+v/owmUYcsi5ljudktP70b0VnEyNt+pjVpAJyFaWyvMGheHV7Tl7yARN5tt7Sse9Vez9agYVAe/dvIcbPZLPw2gfLsIm8DWgp2qf4kdQdBm1bzrMNaVWwzaY4tCh+eirCarcDgbqUlmK52gzlfo0jdz8VUQ+F5UL7AkiID4nfYXgBkTmkccCdsvhm8fLU6sifY/iHKgjblHl1u2ua3SPWW3MsOsg8bk+3e94vpZxsDlxRzi4cnV2I2/Stjt4c63o12gO6c7sKbMTYsvI0cX5xJbWIdbDsgG/fQNUgSIPgZxpt2hsVM7oHfglHRUUrJHPct/Z8a6mElUFmYzpItHRNly2e5bnuFwt6Sy73AphMunxKO/Pcc/nOuIdPtPF+7thCNPybMFyO/VCo1OwHgiHObI7oWEGORaw+Sr/PwxZIkiS44B1lPj9kBDrC/SqYOqLiT/Y3guE7rPtqmaXqr8vyMYghXCGIBkrmdKrHGc126t7siwodQrFwj76agqyvSWHUA5QSSEYLoIhRw= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(10201501046)(3002001)(93006095)(6041248)(20161123560025)(20161123558100)(20161123555025)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR0701MB1718; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR0701MB1718; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0701MB1718; 4:aytGaHLxo0rKBt7GfUnm49DkSJt4bQoxZ0/tRqmX?= =?us-ascii?Q?vXzgZNk4LA+cxVPCNEgtxrw4DLKpcehKD5yYxuJTiwsJS5hLLnGg9xgLgTSn?= =?us-ascii?Q?pZkc/0fL/XgMOnNcoTnWMVSldtiMaF8XbYnSeyqhEkgM5CvJZsdXR8A76Nyc?= =?us-ascii?Q?zxGK0khvxfMmcULmwszSOpebL4dwMGI8Uxa8VHIXaXBpQbO3uyxDVrpo67Nz?= =?us-ascii?Q?UGxDDTt0Vbbfw8ch1PL4DK1iw+S9Ht5vi8wUOeIBRD5cfbJoPRXw2AKTpTGv?= =?us-ascii?Q?o+55ae7J7Dbkrmj1brYwqWoKqW4I1gXww3i2QAoM+7lSJuiji7C37WfMX0cI?= =?us-ascii?Q?V144mm+S9WncBnH+AQv6M/YFaxaca+PvjSRJgX8mPqKTdfeLuv9LujfjraHq?= =?us-ascii?Q?psclUn/xDkgdNDMZFMy+rAG5hKkA6U5TgIxnmVWF+dHkkgBhzlBJiewSISpJ?= =?us-ascii?Q?farHgzy5AgWPH/MXQnvWi3sZ6H1A5jk3B0g1E9lPyoXtH+wQbYi+Ixo2FiQY?= =?us-ascii?Q?9nigDlXkXDoLh7XVuw2rnjMUUGfJjP36K+zVAx23Q5Yx+3IKWQI/BorTU7I8?= =?us-ascii?Q?FEfb9QeUWUPfhFhgakquRnBTT4OD79fK4P9F3fhadK2KXlssiySrfQkPlwqd?= =?us-ascii?Q?1vXvTxlmjeV3Qcfeo+roqabLtxL8cCdxXw4T1q8QDEu6IFUwWkTQpZYPk1eg?= =?us-ascii?Q?pmRoRNDHW3X9b+oc62NfoAGw81e5rZ+xBbgU2v/P7EKEIfh4bxqsr3SMyjrR?= =?us-ascii?Q?J5eBzx3QfO4fubKb7doXqXEWWtZ5ZDZauIJSW7BAhBq1Q74uDexECWC/sD2K?= =?us-ascii?Q?SnHjy4eX2sdWc7PGtOv2iSS2Mv/Oa6L5F4LxK00XgF3hP0ojU/t0YW6L/R6A?= =?us-ascii?Q?1WgohErFaUiCWrazRwDhHBK/iIzOKSzvuPACb8k9vDE9zY1EsHA81qPimPY1?= =?us-ascii?Q?8qDTOtHvNpg3ClwuwfwTMhipRblr1MG22FB19mwU/xmv9JD3Js8py5isPVon?= =?us-ascii?Q?i+vKv3rl/o4i9ZyqVWvpXN63Bfzhwi+zssccfHu9CjeR3m04etEUbT5uQHt/?= =?us-ascii?Q?zl5iAytly+lffD++LtRDKy7asbBxzuNKiSxOzjDD86hzHNwAyqWvz41aiQgI?= =?us-ascii?Q?IDtYNBhWBm2DgXTUCNzO1v+MNcq8MoWclVRY68glkqH5geV5I2Z8S/MhJcqS?= =?us-ascii?Q?P2de59WL1Jp+QgxNNMBZTvH9MvNP/nyJsjwa?= X-Forefront-PRVS: 03264AEA72 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(979002)(6009001)(39850400002)(39840400002)(39400400002)(39410400002)(39450400003)(24454002)(13464003)(377454003)(72206003)(55016002)(50986999)(966005)(8656002)(76176999)(54356999)(1076002)(53546009)(50466002)(229853002)(3846002)(6116002)(23726003)(6246003)(4001350100001)(5009440100003)(6496005)(25786009)(189998001)(42186005)(110136004)(38730400002)(6306002)(2906002)(4326008)(53376002)(33656002)(53936002)(81166006)(6916009)(66066001)(8676002)(83506001)(9686003)(2950100002)(478600001)(42882006)(47776003)(33716001)(575784001)(305945005)(7736002)(5660300001)(6666003)(18370500001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1718; H:jerin; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0701MB1718; 23:Kqy/8ajU7kmyNteN6mkTGDrig6HbW35GnPBlbUR?= =?us-ascii?Q?XE2f0FjYn4qOx0uVMVSAgnk20Hngch6amxH/8miccX73u04Pspl4fc5Z69r+?= =?us-ascii?Q?tXECdOPdTU8LqG8rvw2cwQmN6WAL9hv7luc0cyHzW1jQ2Jxut0moGEKpBjj1?= =?us-ascii?Q?xcwu9yQTB77dFy7ZPE8Zh1yGnVlseGjgsvgcD/Hzd+Esyn3wdveaJVZwoHML?= =?us-ascii?Q?rDIyUk5FylU7lNqVm76c8/GV6XkXr6BJ8Yus7Dp9TurRJL3ni6o7j2ggHKrA?= =?us-ascii?Q?pi9BZdeAuqng5msNsu6eWW4ruD+RIH1t2VUM3VH1xKmhYIqJwQ1YtfdQz5DC?= =?us-ascii?Q?g4N9G6uRiqKJcfCv5lT7cdmhYWpZ+Frhy1jWFtlgZGypj/R2wdljvbltp5d9?= =?us-ascii?Q?LV+m/MMfEcnNVwgGPqnmUA/mZM3jDOOpSxoQtvGjEJ2W7WL6y7twA38YnGOj?= =?us-ascii?Q?KP0Inp2ZDko18U6msPInQBx664Jr7dXH3X1Z7S78wAciespmMVjB/qQb7prG?= =?us-ascii?Q?NjWCxcSI3O336NECV/Ph/by3W/6vJV1m6FlSID9A7fwPIo2yjsuUz0U816kL?= =?us-ascii?Q?CtJ0DLL7x5SXk22J/ShEweoY9IzRz1ZZahiqm8E0UlLbW2Qkbo6uGUwc9aNn?= =?us-ascii?Q?sShUmnPpSw6Fqnem78XWUl5YX5gom4NyxMQZhAEdXX3DXYnNnZKBdYwQKxs6?= =?us-ascii?Q?lNcitb+3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dq43I= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 7:cTs8wY4rWZ1yGcwkZgVAiWCu62I/wJYi25spk8E+DLgGlGKsLNujEsagtd4b2QS1md/uVvQlWnyK5Mk+GHPVn4Uy6bAN7wRJ4Ojbp4RU6X6YtRO5/XjIFv9c54AW6lNcgoowjtgVZNANCDrLGcuvSanYGQle7t6J7r9ZDsx2fSXVqyJvy6JTjTAdgKwNHtNRMWoB9xrF0HYhOfSZ2MqJJ8xcC01Xh2tdwTrvbVks45DIHVNnAaRgVENpK0leaQ/OSNMxdjZ+svWR/aDMAASQkvMig0B45ZJzY7oA+kcC7kY+y0BMHG17UERcVmgN9yyczVHhAXcSh64gD6mVtlivQA== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jun 2017 14:38:51.8110 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1718 Subject: Re: [dpdk-dev] [PATCH] eventdev: define the default value for dequeue timeout 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: Fri, 02 Jun 2017 14:38:57 -0000 -----Original Message----- > Date: Thu, 18 May 2017 19:45:44 +0530 > From: Hemant Agrawal > To: Jerin Jacob , dev@dpdk.org > CC: bruce.richardson@intel.com, harry.van.haaren@intel.com, > gage.eads@intel.com, nipun.gupta@nxp.com, narender.vangati@intel.com > Subject: Re: [PATCH] eventdev: define the default value for dequeue timeout > User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 > Thunderbird/45.8.0 > > On 5/18/2017 2:18 PM, Jerin Jacob wrote: > > Defining the value 0 as default value for dequeue timeout > > will help the application reduce the configuration setup > > if the application is interested only in default > > timeout value. > > > > Signed-off-by: Jerin Jacob > > --- > > This patch will fix following error found in the event_pipeline RFC application > > http://dpdk.org/dev/patchwork/patch/23799/ with event_octeontx HW driver. > > > > EVENTDEV: rte_event_dev_configure() line 379: dev0 invalid > > dequeue_timeout_ns=0 min_dequeue_timeout_ns=853 max_dequeue_timeout_ns=873813 > > --- > > drivers/event/octeontx/ssovf_evdev.c | 2 ++ > > lib/librte_eventdev/rte_eventdev.c | 5 +++-- > > lib/librte_eventdev/rte_eventdev.h | 1 + > > 3 files changed, 6 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/event/octeontx/ssovf_evdev.c b/drivers/event/octeontx/ssovf_evdev.c > > index c80a44379..5499b1bf7 100644 > > --- a/drivers/event/octeontx/ssovf_evdev.c > > +++ b/drivers/event/octeontx/ssovf_evdev.c > > @@ -194,6 +194,8 @@ ssovf_configure(const struct rte_eventdev *dev) > > > > ssovf_func_trace(); > > deq_tmo_ns = conf->dequeue_timeout_ns; > > + if (deq_tmo_ns == 0) > > + deq_tmo_ns = edev->min_deq_timeout_ns; > > '0' should mean don't wait? Yes. I think, we can leave that to the driver for the minimum supported dequeue timeout for the given platform(PMD). OCTEONTX PMD needs different treatment for "no-wait" case, hence setting the minimum value that PMD supports. Any other comments on API change? > > > > > if (conf->event_dev_cfg & RTE_EVENT_DEV_CFG_PER_DEQUEUE_TIMEOUT) { > > edev->is_timeout_deq = 1; > > diff --git a/lib/librte_eventdev/rte_eventdev.c b/lib/librte_eventdev/rte_eventdev.c > > index 20afc3f0e..8cafffe03 100644 > > --- a/lib/librte_eventdev/rte_eventdev.c > > +++ b/lib/librte_eventdev/rte_eventdev.c > > @@ -369,9 +369,10 @@ rte_event_dev_configure(uint8_t dev_id, > > > > /* Check dequeue_timeout_ns value is in limit */ > > if (!(dev_conf->event_dev_cfg & RTE_EVENT_DEV_CFG_PER_DEQUEUE_TIMEOUT)) { > > - if (dev_conf->dequeue_timeout_ns < info.min_dequeue_timeout_ns > > + if (dev_conf->dequeue_timeout_ns && > > + (dev_conf->dequeue_timeout_ns < info.min_dequeue_timeout_ns > > || dev_conf->dequeue_timeout_ns > > > - info.max_dequeue_timeout_ns) { > > + info.max_dequeue_timeout_ns)) { > > RTE_EDEV_LOG_ERR("dev%d invalid dequeue_timeout_ns=%d" > > " min_dequeue_timeout_ns=%d max_dequeue_timeout_ns=%d", > > dev_id, dev_conf->dequeue_timeout_ns, > > diff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eventdev.h > > index 94284337d..f39fbc6b9 100644 > > --- a/lib/librte_eventdev/rte_eventdev.h > > +++ b/lib/librte_eventdev/rte_eventdev.h > > @@ -409,6 +409,7 @@ struct rte_event_dev_config { > > * This value should be in the range of *min_dequeue_timeout_ns* and > > * *max_dequeue_timeout_ns* which previously provided in > > * rte_event_dev_info_get() > > + * The value 0 is allowed, in which case, default dequeue timeout used. > > * @see RTE_EVENT_DEV_CFG_PER_DEQUEUE_TIMEOUT > > */ > > int32_t nb_events_limit; > > > >