From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E84C0A0352; Thu, 16 Jan 2020 14:46:41 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CF51D1D572; Thu, 16 Jan 2020 14:46:40 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 9F5F51D552 for ; Thu, 16 Jan 2020 14:46:38 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jan 2020 05:46:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,326,1574150400"; d="scan'208";a="425539120" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga006.fm.intel.com with ESMTP; 16 Jan 2020 05:46:37 -0800 Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 16 Jan 2020 05:46:20 -0800 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by FMSMSX157.amr.corp.intel.com (10.18.116.73) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 16 Jan 2020 05:46:19 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.171) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 16 Jan 2020 05:46:20 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=boKYZmpYaLpc+upNKqA5BN80rAIL2xu6FGeUj5eX3Ru0RzpYndpaTZXuaRUyPMBSNU0kAMQCzX+SrGFNlR++dTR01+gc9g+YizC8n0ZvgpZDQCTt2me4AkwzjIa/q1azYAl7BtyTLLC+mzItg7IEQP/rfFtKbDZcJc92H7OkXu3TIYCY4joIpoHrzkh8eqNRrclY8vdE8MxtchSf81lBdHvn3rlaS73YnoOz06283ogglesqHXameY0tiDSYqLhNoh6/b6csLmQeNZ8t1HB9kC2j7AbpcvMxVcmuZMFiZPe+1QXM7T+LVy6AguJDpol8Ifm0/UxryKqYwVItnSSapA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yl2QaZVG2KrD0hgZaWoUs0KD0a7OGJQeHG62LAd9mb8=; b=aAt+jiMgiulMjmkSkXqVeTYmuKE7ha7NhZVGqjyYuGNrGUdXmF5x5IT0lFfdFSdeUX3KoBEdiEGjH0PYNuWkTHREJK5VNyv8piL+Zdacc53V8xd7Js+I6p8FY28YlRHbmRA7kbNyFz143+NpP+GSN7vZlc+3KDP0LOMWPwPNwf07tFWhUa6Y2NCsVJTAGYdsQRHay1kpsJRDToCdS3A4xZHWqaYLMGD3vOEebcdamMH/zwoHhj53BM7k8Ob4LjDeWmPgGV+u98BhyzrzYnF52xC29Q4udqgqzUIPYi98oSpv73Xesg+Zu21EzPr30BKi75RQ4pMqjnGbkaddOL++Tw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yl2QaZVG2KrD0hgZaWoUs0KD0a7OGJQeHG62LAd9mb8=; b=WLX9X+CdiPhmb2a1t2HOAsL/4dVGPa97X6CLACIEuMUPJX7mTiu9qKKbcLWb2dt0Di+jT4Wzgkxks3OTYUj2UU+dq4WlNKWKn+Id/Q/zU7dcbaZbiIrYqu7xOJnq6W2NyNPsKLD44Yt+dZpJuJL4jZcLt3MJTgibfTnAq03tesI= Received: from SN6PR11MB2558.namprd11.prod.outlook.com (52.135.94.19) by SN6PR11MB2736.namprd11.prod.outlook.com (52.135.92.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.9; Thu, 16 Jan 2020 13:46:16 +0000 Received: from SN6PR11MB2558.namprd11.prod.outlook.com ([fe80::4d86:362a:13c3:8386]) by SN6PR11MB2558.namprd11.prod.outlook.com ([fe80::4d86:362a:13c3:8386%7]) with mapi id 15.20.2644.015; Thu, 16 Jan 2020 13:46:16 +0000 From: "Ananyev, Konstantin" To: "Iremonger, Bernard" , "dev@dpdk.org" , "Xing, Beilei" , "Zhang, Qi Z" , "Doherty, Declan" CC: "Byrne, Stephen1" , "Zhang, Helin" Thread-Topic: [PATCH v7 02/10] app/testpmd: improve debug Thread-Index: AQHVzGrak0bpVhPO9EqNZMt+45QO1KftTaoQ Date: Thu, 16 Jan 2020 13:46:16 +0000 Message-ID: References: <1579103627-31985-1-git-send-email-bernard.iremonger@intel.com> <1579178697-31777-3-git-send-email-bernard.iremonger@intel.com> In-Reply-To: <1579178697-31777-3-git-send-email-bernard.iremonger@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTYwYWI2OTYtZjY1My00MTlhLWEyY2UtMWM2M2NjMDQ0NDZjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiMmI4dHo3ZE8zQTFSRGJKNTlYc3c3a1wvWXg1WE1qRk54cVArWEFCNFJ1bE5GbEsybTdiZ2tGRStuMUs4R2dQZHYifQ== dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 x-ctpclassification: CTP_NT authentication-results: spf=none (sender IP is ) smtp.mailfrom=konstantin.ananyev@intel.com; x-originating-ip: [192.198.151.162] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d4f23fb6-d05c-4065-26f2-08d79a8a75b1 x-ms-traffictypediagnostic: SN6PR11MB2736: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:139; x-forefront-prvs: 02843AA9E0 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(346002)(376002)(39860400002)(136003)(396003)(189003)(199004)(71200400001)(81166006)(81156014)(55016002)(7696005)(316002)(186003)(4326008)(33656002)(8676002)(2906002)(5660300002)(9686003)(478600001)(86362001)(6506007)(4744005)(66446008)(66476007)(66556008)(64756008)(6636002)(107886003)(52536014)(110136005)(54906003)(26005)(8936002)(76116006)(66946007); DIR:OUT; SFP:1102; SCL:1; SRVR:SN6PR11MB2736; H:SN6PR11MB2558.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5DK7UfuoSSDCf75jk+xUD3Yy5hOlU1XV4nooeNGL6bhVhLApS00Z79JDyk67XEHBbjJxaq8RYqMLPd2LiyMJ6MQ49rYnT7JA2+wn8lcyQKBjokqgAGck2+LCivUoqw24ZpsXklOiDmh7kzw9RhuvTfHdm5ra1xKkhAtx3CWeG54JCucNT1jmKV6zKdXRNMWGAgNVoKedQQLVjlySG2ZVUHgd2svOzUOUCaB31xQ7t+bUqgPUomIezpAO/bpZ6TyasQp1KRZ9JycOSLyW5UzecQQ2GwmvU4PfIgPX/B4gkjvuhZ0Hrh4LFAFdYpVriHOzhMjrrdzc6QAGBRI+ntNQJm1EdY7TNs2sH4KcZo421I+ohQGoobx93Ca0cIq/X+5Buv/Gvh+C+KU3CC6Q5Hu5F/7jGQD0Q7QJvGy1hBjqYl5pShNdlOdGRGloJkoC7bee Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: d4f23fb6-d05c-4065-26f2-08d79a8a75b1 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jan 2020 13:46:16.5873 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: f9ug1jUSOT+lz9U6FdFiZpWHrWNATvngva92AuEK90V/2X+Le7aPV0hqPPEdF2LpAD+5NcaQAmiUpLmOI/Pvohx0xWG6dTQK3S+pHQqzSVU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2736 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v7 02/10] app/testpmd: improve debug 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" > print function name in port_flow_complain() >=20 > Signed-off-by: Bernard Iremonger > --- > app/test-pmd/config.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c > index d599682..2753ec5 100644 > --- a/app/test-pmd/config.c > +++ b/app/test-pmd/config.c > @@ -1303,7 +1303,7 @@ port_flow_complain(struct rte_flow_error *error) > errstr =3D "unknown type"; > else > errstr =3D errstrlist[error->type]; > - printf("Caught error type %d (%s): %s%s: %s\n", > + printf("%s(): Caught PMD error type %d (%s): %s%s: %s\n", __func__, > error->type, errstr, > error->cause ? (snprintf(buf, sizeof(buf), "cause: %p, ", > error->cause), buf) : "", > -- Acked-by: Konstantin Ananyev > 2.7.4