From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80057.outbound.protection.outlook.com [40.107.8.57]) by dpdk.org (Postfix) with ESMTP id 107191B115 for ; Wed, 17 Oct 2018 17:22:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0WDHGtAsAbt/iV8AvVE4vRsIOCI1gWC5juaTT/L3ViI=; b=ItGrr/JpXsvYlGzsj/Pt3RltQfd0HMb4WTN1i8u5CYdIuB1klR7jBOjZ35Pf5T4/Mya5zw3oNwJxQqVVAymqsDY+M+iHbxZumOfSVEnhQJ1KK/T7AkVWUzFPeqefRA+diuoQm8rrYWHk956pzJkWcVnBlLIsNVfAC4Bud/t5QgA= Received: from DB5PR05MB1254.eurprd05.prod.outlook.com (10.162.157.140) by DB5PR05MB1415.eurprd05.prod.outlook.com (10.162.153.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.25; Wed, 17 Oct 2018 15:22:27 +0000 Received: from DB5PR05MB1254.eurprd05.prod.outlook.com ([fe80::19a0:ec0f:60ff:94e2]) by DB5PR05MB1254.eurprd05.prod.outlook.com ([fe80::19a0:ec0f:60ff:94e2%5]) with mapi id 15.20.1228.032; Wed, 17 Oct 2018 15:22:27 +0000 From: Raslan Darawsheh To: "Iremonger, Bernard" , "Yigit, Ferruh" , "Wu, Jingjing" CC: Thomas Monjalon , "dev@dpdk.org" , Shahaf Shuler , "Xueming(Steven) Li" , Ori Kam , "jerin.jacob@caviumnetworks.com" , "david.marchand@6wind.com" Thread-Topic: [PATCH v5 1/3] app/testpmd: move dumping packets to a separate function Thread-Index: AQHUZerlqGRlub+Sg06qRbNzIbx4CKUjXcMAgAAIywCAACfvkA== Date: Wed, 17 Oct 2018 15:22:26 +0000 Message-ID: References: <1538897848-1693-1-git-send-email-rasland@mellanox.com> <1539761251-7677-1-git-send-email-rasland@mellanox.com> <9a5d7932-471e-57cb-7311-2224888bfdcb@intel.com> <8CEF83825BEC744B83065625E567D7C260D127AF@IRSMSX107.ger.corp.intel.com> In-Reply-To: <8CEF83825BEC744B83065625E567D7C260D127AF@IRSMSX107.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rasland@mellanox.com; x-originating-ip: [82.213.2.186] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB5PR05MB1415; 6:guJtwgDvTjHMQvkJKmobvKv2CL7aXFcw2dWXq4vysuUgSgoTi6MNIaGyUEJcZ42lh+PDvejaKQb73a4FSUrhRTWhKB5emcZtAJ+l1FtXIbH7M1UcDv1LrqVy9OapCLZAobvXewqZH2wIbWXOpjqlke5450JtrOd6Sm+3IMdc0WP4ZYAqIfoAWHZGpciapNIehVBAhd7j8Y9TUf1xfdXyiwF38HfqWsMQwX+yrTp6JgPMYEPMHQdAOJ0j1d9RtGvAXJC5lj9kFj74H3aP0siXW07z1J6Un58hOkQNSjeKn6HF5K92Kqiyuc7hbHOkCxg7ck3rZm5AUKTsoyWph12fQOdkT8VQRGeP4UgrQNF2W6NZX4Uu9vIOHz81sVBVe7+sV2CSBUa/Kut3QxA4zDm8oEFBRinNm6aZ2g1R6Cp0QxdPNj17HxSuklMOJUWHjjtSkZbwFooB+4bbJIJb+Psg3g==; 5:mrMC8PYPA2Bvb3pUZIZ6SijfkL+pj65YOOZqieR529FQ5Rbe7J+EMp9TVPFSKUqRQwtmGZ8EXKstgjrU+pEXnj2Ylf67mf/Ia/nyFl80NNUh4Fag9kJOjuzNUzILCapiULp/kQbJeVAVhJHz5ZMviwsyg2F4iYZR+SiBNREhKJI=; 7:J3OD8yCnE0yYYnmQAtxZ0jCC5u2zFr+Kv6B6KXAoer++dF9DWlkyveBgE68rC6H7G5LzBxKxp/mXRgOTJz0+D6u7NyDWyf1R1EJsdVtpMOq++p9PJi3F43IDWUD28XzGWZSGf29Mg+5dJtGIWxMZwbg1tN30/nlsf0QakgE3aJKdqyXild9QOMnz5h2ulBotOeGXJP9gHbYVLgXRF80Gmm/1uw4Xe2EA1/hXIPe6adV9+elLtEKBnyDP2ENqAAYg x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 4d819d7e-f119-4363-3d39-08d6344458b3 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:DB5PR05MB1415; x-ms-traffictypediagnostic: DB5PR05MB1415: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(201708071742011)(7699051)(76991095); SRVR:DB5PR05MB1415; BCL:0; PCL:0; RULEID:; SRVR:DB5PR05MB1415; x-forefront-prvs: 08286A0BE2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(346002)(366004)(376002)(39860400002)(136003)(13464003)(189003)(199004)(110136005)(54906003)(66066001)(105586002)(53546011)(6506007)(106356001)(2906002)(6246003)(4326008)(25786009)(7696005)(68736007)(76176011)(99286004)(186003)(26005)(478600001)(14454004)(102836004)(97736004)(8936002)(5660300001)(7736002)(81156014)(81166006)(5250100002)(446003)(305945005)(8676002)(486006)(74316002)(11346002)(476003)(55016002)(71190400001)(71200400001)(256004)(93886005)(3846002)(316002)(6116002)(2900100001)(53936002)(229853002)(9686003)(33656002)(86362001)(6436002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR05MB1415; H:DB5PR05MB1254.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 1GMZaJrdLHZEkgRfVHu6Be1Km+Wg9TfJ7hdghO7wD7QuiYTECHvwDPn4dqkgDkl/Z/JzP1WUfwS3iR2KBYEC6WZYvqgUyi4Oprql/QXwaPchIlRfRLTzMqqBh1YGZfl8oEV9RRpNvgYcXWtJQV7JqjYg+6bwH2vNfFnoDczcvjvOU27GVDqvcuRH6cWTQtvtf+b/eevqrr0hqzLdxUdCu2LQuhjnZondn9F+ZB8lN+zVpzKNymNs1pE4fZndQPs1xFzlOvi8q3nw05vwoauxAIrCZf5fa42keTH2fUuFkxSFwOrkHF3B4GOGOeg1uMOoCWAPVWeSGG+A8nwKZPJSZNTyG2DOuchWBxwEAxlSjio= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4d819d7e-f119-4363-3d39-08d6344458b3 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Oct 2018 15:22:26.8815 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR05MB1415 Subject: Re: [dpdk-dev] [PATCH v5 1/3] app/testpmd: move dumping packets to a separate function X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: ,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