From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 74BD9A3 for ; Mon, 25 Mar 2019 22:40:56 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Mar 2019 14:40:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,270,1549958400"; d="scan'208";a="310351331" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga005.jf.intel.com with ESMTP; 25 Mar 2019 14:40:55 -0700 Received: from fmsmsx125.amr.corp.intel.com (10.18.125.40) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 25 Mar 2019 14:40:54 -0700 Received: from fmsmsx115.amr.corp.intel.com ([169.254.4.62]) by FMSMSX125.amr.corp.intel.com ([169.254.2.4]) with mapi id 14.03.0415.000; Mon, 25 Mar 2019 14:40:54 -0700 From: "Carrillo, Erik G" To: Pavan Nikhilesh Bhagavatula , "Jerin Jacob Kollanukkaran" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 2/2] test/event_timer: improve unit test compatability Thread-Index: AQHU3DazfFnpRuBHYU6dLI42eOmoNKYc7ZMA Date: Mon, 25 Mar 2019 21:40:54 +0000 Message-ID: References: <20190316202709.11346-1-pbhagavatula@marvell.com> <20190316202709.11346-2-pbhagavatula@marvell.com> In-Reply-To: <20190316202709.11346-2-pbhagavatula@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYzU2NjU5YTgtOGJmMC00OWUzLWI5YzEtNGU0ZjczMjhiZWZiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiUDN6UzdnNFIyYTZVanJFNHlGZVp1TXZZS1FoV2FGY0h1V0oyUkNSeHh4NWlYU0dlQTJZWWZyOUl5aUFzeWdKcSJ9 x-ctpclassification: CTP_NT x-originating-ip: [10.1.200.107] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 2/2] test/event_timer: improve unit test compatability 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: Mon, 25 Mar 2019 21:40:56 -0000 > -----Original Message----- > From: Pavan Nikhilesh Bhagavatula [mailto:pbhagavatula@marvell.com] > Sent: Saturday, March 16, 2019 3:28 PM > To: Jerin Jacob Kollanukkaran ; Carrillo, Erik G > > Cc: dev@dpdk.org; Pavan Nikhilesh Bhagavatula > > Subject: [dpdk-dev] [PATCH 2/2] test/event_timer: improve unit test > compatability >=20 > From: Pavan Nikhilesh >=20 > Check if eventdev is open system eventdevs i.e. max_num_events =3D -1 > before asserting. > Allow event timer adapter to adjust the resolution using > RTE_EVENT_TIMER_ADAPTER_F_ADJUST_RES and re-calculate timeout ticks > based on the adjusted resolution. >=20 > Signed-off-by: Pavan Nikhilesh Just one spelling nit - it should be "compatibility" in the subject line. = With that change: Acked-by: Erik Gabriel Carrillo From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 2E27EA05D3 for ; Mon, 25 Mar 2019 22:40:59 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 96E9D4C9D; Mon, 25 Mar 2019 22:40:58 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 74BD9A3 for ; Mon, 25 Mar 2019 22:40:56 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Mar 2019 14:40:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,270,1549958400"; d="scan'208";a="310351331" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga005.jf.intel.com with ESMTP; 25 Mar 2019 14:40:55 -0700 Received: from fmsmsx125.amr.corp.intel.com (10.18.125.40) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 25 Mar 2019 14:40:54 -0700 Received: from fmsmsx115.amr.corp.intel.com ([169.254.4.62]) by FMSMSX125.amr.corp.intel.com ([169.254.2.4]) with mapi id 14.03.0415.000; Mon, 25 Mar 2019 14:40:54 -0700 From: "Carrillo, Erik G" To: Pavan Nikhilesh Bhagavatula , "Jerin Jacob Kollanukkaran" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 2/2] test/event_timer: improve unit test compatability Thread-Index: AQHU3DazfFnpRuBHYU6dLI42eOmoNKYc7ZMA Date: Mon, 25 Mar 2019 21:40:54 +0000 Message-ID: References: <20190316202709.11346-1-pbhagavatula@marvell.com> <20190316202709.11346-2-pbhagavatula@marvell.com> In-Reply-To: <20190316202709.11346-2-pbhagavatula@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYzU2NjU5YTgtOGJmMC00OWUzLWI5YzEtNGU0ZjczMjhiZWZiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiUDN6UzdnNFIyYTZVanJFNHlGZVp1TXZZS1FoV2FGY0h1V0oyUkNSeHh4NWlYU0dlQTJZWWZyOUl5aUFzeWdKcSJ9 x-ctpclassification: CTP_NT x-originating-ip: [10.1.200.107] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 2/2] test/event_timer: improve unit test compatability 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" Message-ID: <20190325214054.zznDjES6i9CA9g4JxygXcm0l1-rEy9tdvLf0Y0l61_k@z> > -----Original Message----- > From: Pavan Nikhilesh Bhagavatula [mailto:pbhagavatula@marvell.com] > Sent: Saturday, March 16, 2019 3:28 PM > To: Jerin Jacob Kollanukkaran ; Carrillo, Erik G > > Cc: dev@dpdk.org; Pavan Nikhilesh Bhagavatula > > Subject: [dpdk-dev] [PATCH 2/2] test/event_timer: improve unit test > compatability >=20 > From: Pavan Nikhilesh >=20 > Check if eventdev is open system eventdevs i.e. max_num_events =3D -1 > before asserting. > Allow event timer adapter to adjust the resolution using > RTE_EVENT_TIMER_ADAPTER_F_ADJUST_RES and re-calculate timeout ticks > based on the adjusted resolution. >=20 > Signed-off-by: Pavan Nikhilesh Just one spelling nit - it should be "compatibility" in the subject line. = With that change: Acked-by: Erik Gabriel Carrillo