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 B4230A0471 for ; Mon, 17 Jun 2019 11:11:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 868501BE9A; Mon, 17 Jun 2019 11:11:38 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id F34ED1BE94 for ; Mon, 17 Jun 2019 11:11:36 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5H9BCkI006199; Mon, 17 Jun 2019 02:11:36 -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=VnjuwM/PvQg/hvtn373WBz+qEQN6ox/u/Wfm/4kej4k=; b=oFfBlLWs9034OMBdPOf/dEXjE9TFodDhMJTsq/bb46QF7up1RnojU+XkumZfxTujKdYr MF3Ve75hYqn8eEt6zBJ9zbA5BBnyJiP5267SaS7FBFL8OxTH2Mox5NHZPmz5LeVMpLdc IHYBx32YNW7zmUpdvgSjIuGBkJQQDlhS3AIq3HeaTPMKSwROo2Zg3FT58/NMuurD+3aD 0i3FExCb5dWKVuEGJllWXDPGbpUuC4kagpGsogWl82yl+5XUGjH565JlSZngH6LfADfD xQt9hKU+wUnJe4gqQZltsU0MqjwVUPLP/t2qKFIiGTItPEV3hyecnM1xnVw2s+ILyIPl 9w== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0b-0016f401.pphosted.com with ESMTP id 2t506hx03m-7 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 17 Jun 2019 02:11:36 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 17 Jun 2019 02:09:31 -0700 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (104.47.40.57) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Mon, 17 Jun 2019 02:09:31 -0700 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=VnjuwM/PvQg/hvtn373WBz+qEQN6ox/u/Wfm/4kej4k=; b=LGfFI+VG9B19j1Esl88/BeU5y5AyF8olRIOzcdnvgzZE9E+gYe74e7T0GetmWnSyvbQVUCGUkCSLph4fBx17DhqZvNl0COT2rhM99ASEzwpng+kwsAuWthEWrbiNnVPGwrZtXgT888p27OKTkUjWfVBMU5n0iP4AOuLLPpqHM5A= Received: from MN2PR18MB2877.namprd18.prod.outlook.com (20.179.20.218) by MN2PR18MB2928.namprd18.prod.outlook.com (20.179.23.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.11; Mon, 17 Jun 2019 09:09:30 +0000 Received: from MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::3d9b:ed4b:b155:9bad]) by MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::3d9b:ed4b:b155:9bad%3]) with mapi id 15.20.1987.014; Mon, 17 Jun 2019 09:09:30 +0000 From: Anoob Joseph To: Jerin Jacob Kollanukkaran , Nikhil Rao , Erik Gabriel Carrillo , Abhinandan Gujjar , Bruce Richardson , Pablo de Lara CC: Narayana Prasad Raju Athreya , "dev@dpdk.org" , Lukas Bartosik , "Pavan Nikhilesh Bhagavatula" , Hemant Agrawal , Nipun Gupta , Harry van Haaren , =?iso-8859-1?Q?Mattias_R=F6nnblom?= , Liang Ma Thread-Topic: [PATCH 15/39] eventdev: add routines for logging eventmode helper Thread-Index: AQHVGjLCUULFNZhPd0CJ7h9XTyJyCaaUtbSAgAruMYA= Date: Mon, 17 Jun 2019 09:09:29 +0000 Message-ID: References: <1559583160-13944-1-git-send-email-anoobj@marvell.com> <1559583160-13944-16-git-send-email-anoobj@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: [115.113.156.2] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a64bf3dc-79a7-483e-46b7-08d6f303817b x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600148)(711020)(4605104)(1401327)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:MN2PR18MB2928; x-ms-traffictypediagnostic: MN2PR18MB2928: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4303; x-forefront-prvs: 0071BFA85B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(136003)(366004)(39850400004)(376002)(396003)(189003)(199004)(13464003)(7696005)(76176011)(102836004)(52536014)(25786009)(6506007)(53546011)(478600001)(316002)(55236004)(5660300002)(486006)(2906002)(68736007)(14454004)(99286004)(54906003)(11346002)(446003)(26005)(6246003)(110136005)(476003)(8936002)(6116002)(74316002)(7416002)(66066001)(186003)(55016002)(6436002)(33656002)(9686003)(229853002)(81166006)(81156014)(86362001)(73956011)(53936002)(64756008)(71190400001)(256004)(66946007)(8676002)(4326008)(7736002)(71200400001)(66446008)(66556008)(66476007)(3846002)(305945005)(76116006); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR18MB2928; H:MN2PR18MB2877.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-message-info: OAg43Eaa1scrouzScrsqSO5yUR6NDeXmZLg0e4Vhdw5JQ7Ao/tLG7xwLPRf0HZgUYpglj/Y05f6yZDnKdO0lo6Hlyc247hn+JwhIqRJ2e+Ejc4WWr91oCWZubn0LDkGIADBud9HEsNTwfF+2gHG7/+Te8AKqJ7JBt8P7hn11mLIxgqOosUhjqJU4MctcPxvWdQpndC0vpCwekz2v7dT3J0TNp470mjYO0hB6rZ1Rz2KeWcs9eiRxjQX2IbBeJ27b2jWml4W/NLo68LPX5KrnyzEuc6XaiS4l+TL+9gI9THOtjFgGcXKA+gSyf4kmV5u3fKjT+9VNg+CNry9l4w2mxjuVvp9maVCAsS8c5PBJDD44VDdbQ5/4Qo1nMSYb7BARlGqKppIwLD4iRhC6/c6cOrReCfEdw17tkK+QUyJOr6M= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: a64bf3dc-79a7-483e-46b7-08d6f303817b X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jun 2019 09:09:30.0786 (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: anoobj@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB2928 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-17_05:, , signatures=0 Subject: Re: [dpdk-dev] [PATCH 15/39] eventdev: add routines for logging eventmode helper 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 Jerin, Please see inline. Thanks, Anoob > -----Original Message----- > From: Jerin Jacob Kollanukkaran > Sent: Monday, June 10, 2019 3:43 PM > To: Anoob Joseph ; Nikhil Rao > ; Erik Gabriel Carrillo = ; > Abhinandan Gujjar ; Bruce Richardson > ; Pablo de Lara > > Cc: Anoob Joseph ; Narayana Prasad Raju Athreya > ; dev@dpdk.org; Lukas Bartosik > ; Pavan Nikhilesh Bhagavatula > ; Hemant Agrawal > ; Nipun Gupta ; Harry > van Haaren ; Mattias R=F6nnblom > ; Liang Ma > Subject: RE: [PATCH 15/39] eventdev: add routines for logging eventmode > helper >=20 > > -----Original Message----- > > From: Anoob Joseph > > Sent: Monday, June 3, 2019 11:02 PM > > To: Jerin Jacob Kollanukkaran ; Nikhil Rao > > ; Erik Gabriel Carrillo > > ; Abhinandan Gujjar > > ; Bruce Richardson > > ; Pablo de Lara > > > > Cc: Anoob Joseph ; Narayana Prasad Raju Athreya > > ; dev@dpdk.org; Lukas Bartosik > > ; Pavan Nikhilesh Bhagavatula > > ; Hemant Agrawal > ; > > Nipun Gupta ; Harry van Haaren > > ; Mattias R=F6nnblom > > ; Liang Ma > > Subject: [PATCH 15/39] eventdev: add routines for logging eventmode > > helper > > > > Adding routines for logging eventmode helper. > > > > Signed-off-by: Anoob Joseph > > Signed-off-by: Lukasz Bartosik > > --- > > config/common_base | 1 + > > lib/librte_eal/common/eal_common_log.c | 1 + > > lib/librte_eal/common/include/rte_log.h | 1 + > > .../rte_eventmode_helper_internal.h | 29 > > ++++++++++++++++++++++ > > 4 files changed, 32 insertions(+) > > > > diff --git a/config/common_base b/config/common_base index > > 8576973..96c2537 100644 > > --- a/config/common_base > > +++ b/config/common_base > > @@ -685,6 +685,7 @@ CONFIG_RTE_LIBRTE_PMD_ZLIB=3Dn # > > CONFIG_RTE_LIBRTE_EVENTDEV=3Dy > CONFIG_RTE_LIBRTE_EVENTDEV_DEBUG=3Dn > > +CONFIG_RTE_LIBRTE_EVENTMODE_HELPER_DEBUG=3Dn > > CONFIG_RTE_EVENT_MAX_DEVS=3D16 > > CONFIG_RTE_EVENT_MAX_QUEUES_PER_DEV=3D64 > > CONFIG_RTE_EVENT_TIMER_ADAPTER_NUM_MAX=3D32 > > diff --git a/lib/librte_eal/common/eal_common_log.c > > b/lib/librte_eal/common/eal_common_log.c > > index c714a4b..bc34dc2 100644 > > --- a/lib/librte_eal/common/eal_common_log.c > > +++ b/lib/librte_eal/common/eal_common_log.c > > @@ -324,6 +324,7 @@ static const struct logtype logtype_strings[] =3D { > > {RTE_LOGTYPE_EFD, "lib.efd"}, > > {RTE_LOGTYPE_EVENTDEV, "lib.eventdev"}, > > {RTE_LOGTYPE_GSO, "lib.gso"}, > > + {RTE_LOGTYPE_EVENTMODE, "lib.eventmode"}, >=20 > EAL log type, typically adds for subsystem. Please reuse EVENTDEV_DEBUG > Or introduce dynamic debugging. [Anoob] Will make this change in v2. In that case, this patch can be droppe= d.