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 C928AA00E6 for ; Mon, 10 Jun 2019 12:12:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D9DB61BFD9; Mon, 10 Jun 2019 12:12:52 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id C74411BFC5 for ; Mon, 10 Jun 2019 12:12:50 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5AAALNu021688; Mon, 10 Jun 2019 03:12:50 -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=pDK81CC/0P3DWOPLfkLypd+lWIbECA9KhJKFi5IBi48=; b=Mxax8oWIjgqOeD/4q5lBIZi5eUuj7+SHB289NVwN9WUWdRSlesmUz0sT6jyh9yZDcB2h vqE4HE7zoHHWh5/tPwnEolIYStYnGixCH6pF8VAcPvGiy75NG6mJB9ulcloFiYnTUN3E ureo0AjVR8BaxkR4HoNcL6dkVRX4r3I237RBs5vf6d/asa2zyHK3WPI395KqCT17wnuN q+qK2U66+gGVAY2CXtZWpjEIKyD8ZPYrLTps5LSjT6+8BAHUcKdao+lOvAnrIDxrGcEu rVVhxnIKZ9dsoHq48Ld+6idpPtRk4Ni5ITkrhDIObEvKxM2KNLMvXUfo8ttbYRB9MAKa Lw== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 2t1hk6gube-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 10 Jun 2019 03:12:49 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 10 Jun 2019 03:12:49 -0700 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (104.47.37.55) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Mon, 10 Jun 2019 03:12:49 -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=pDK81CC/0P3DWOPLfkLypd+lWIbECA9KhJKFi5IBi48=; b=wFZ/rTftI77KKbBnhDD5VAPuFnWDd2W+5BKVblezRDhy1C6EWeCni71wPGMAgrNED2iJFiX+ZL2U15aQmen6EePkXRgIPcphgzNQM/WoYNv1HLz5ziTrWvH1Ui9w8ndETMa4qdhDHk2pw7GodMpZ6Em8qx/ZUuoAGH7Ncn27uzg= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2965.namprd18.prod.outlook.com (20.179.59.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.17; Mon, 10 Jun 2019 10:12:47 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::1ce4:557d:eeb8:843c]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::1ce4:557d:eeb8:843c%7]) with mapi id 15.20.1965.017; Mon, 10 Jun 2019 10:12:47 +0000 From: Jerin Jacob Kollanukkaran 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 , =?iso-8859-1?Q?Mattias_R=F6nnblom?= , Liang Ma Thread-Topic: [PATCH 15/39] eventdev: add routines for logging eventmode helper Thread-Index: AQHVGjLChg+KDcJT9k+Btdp7dlAsVKaUtTYA Date: Mon, 10 Jun 2019 10:12:47 +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: <1559583160-13944-16-git-send-email-anoobj@marvell.com> Accept-Language: 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: 1e2cba90-c9c2-485c-c250-08d6ed8c2ff1 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR18MB2965; x-ms-traffictypediagnostic: BYAPR18MB2965: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1850; x-forefront-prvs: 0064B3273C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(39850400004)(346002)(136003)(396003)(366004)(189003)(13464003)(199004)(73956011)(66946007)(81166006)(54906003)(2906002)(8936002)(66476007)(8676002)(66556008)(66446008)(64756008)(7416002)(7736002)(74316002)(305945005)(110136005)(76116006)(68736007)(81156014)(3846002)(71190400001)(26005)(229853002)(186003)(86362001)(71200400001)(6116002)(52536014)(66066001)(99286004)(476003)(33656002)(55236004)(4326008)(486006)(76176011)(11346002)(102836004)(256004)(6246003)(53546011)(6506007)(446003)(53936002)(25786009)(14454004)(316002)(7696005)(5660300002)(9686003)(478600001)(6436002)(55016002); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2965; H:BYAPR18MB2424.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: p89Ms2X6qvrRuPibPDHvvid++HXR8PUGDJKEuZKQzFfmXcfc25zL3Mz1rtF+pY3NrXRiOxwrH748bV7ITLiK2XAuNlG8mjT/81Ye74nG//c8kyjXa56iDKE0RmvWsU90SXvEh4PZpJpJbCp6SkhtbN9PFpK1ZdB/PKk3oT8vjpmXiz+a2W6USNQSkdXDwYwtWSExpkaC/u5PxV2VKC2DKMz1xLDTXdWTYqBgu5Tm30mn+e37252YQ5yr2/sDfn+K5MzswSp7XyAxszA03dibhJwkcwPQMWLhKrsJI9RI47352051PUJbOfZbHXo/NFwCO5K2l6OagXWt+/CcU6UWVHg5gcmrRfXpWArC0L8nGD8lk1KpLymHBGHZA6Gk3PA1KcCJf4k/VRKqcKuM55RG51qhPD6rjAjWbjEMyXQVcVM= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 1e2cba90-c9c2-485c-c250-08d6ed8c2ff1 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jun 2019 10:12:47.3262 (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: jerinj@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2965 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-10_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" > -----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 >=20 > Adding routines for logging eventmode helper. >=20 > 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(+) >=20 > 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"}, EAL log type, typically adds for subsystem. Please reuse EVENTDEV_DEBUG Or introduce dynamic debugging.=20