From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70053.outbound.protection.outlook.com [40.107.7.53]) by dpdk.org (Postfix) with ESMTP id 53E925587 for ; Tue, 16 Oct 2018 12:11:27 +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=bgf6/N/6qbFWHt+8R1ch01wxJKlOxUWqW7Uheq8Y7TM=; b=RGpPtQvAQMeKwmI6bBpb/d/+zaez0BL2V4DAlu39a/RsIffYxlWXegEn13hjs3PaIis27Ssu9OpLt+HHh+Kyby9uWBM3gy35RxffEpMDBofnm5PK0C6FOxgDFECQDyJrCmPXufeXT+AGKXvvbRbAHLMGsL6la/XjYlV5crRlFKM= Received: from DB5PR05MB1254.eurprd05.prod.outlook.com (10.162.157.140) by DB5PR05MB1911.eurprd05.prod.outlook.com (10.166.173.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.24; Tue, 16 Oct 2018 10:11:25 +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.027; Tue, 16 Oct 2018 10:11:25 +0000 From: Raslan Darawsheh To: Ferruh Yigit , "jingjing.wu@intel.com" CC: Thomas Monjalon , "dev@dpdk.org" , Shahaf Shuler , "Xueming(Steven) Li" , Ori Kam , "jerin.jacob@caviumnetworks.com" , "david.marchand@6wind.com" , "bernard.iremonger@intel.com" Thread-Topic: [dpdk-dev] [PATCH v4 2/3] app/testpmd: add packet dump callback functions Thread-Index: AQHUXhCxpXLGA/tZEUGjKwmgQ65AJaUaKYSAgAeLaJA= Date: Tue, 16 Oct 2018 10:11:25 +0000 Message-ID: References: <1537793304-27883-1-git-send-email-rasland@mellanox.com> <1538897848-1693-1-git-send-email-rasland@mellanox.com> <1538897848-1693-2-git-send-email-rasland@mellanox.com> In-Reply-To: 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; DB5PR05MB1911; 6:FVnD77dpW39+x30aphJUuVy96ITVflV793P0xbxvoQrd0ybWDUxhsQk4k0/yd/zoOV6pnzdFr0fNDY0LgF8BvP+TUieuuZbCHBQXxCPlhxG/A59hO+bAdZ4CtEVVeG4zIYnDr95619+Etioes469Nw4fv1yPDDL3B5rIlQg4NqJjeBTEWvZkdzzABiAma+Fa+G0p6SVYzj05QqVKy9INP2PJUtTylHwt5f/qrt8us90HMGWHQkC62zGHLxovKRAvw7oreeNAgltMDeAsF3UQjWTDiBzEpO3MPwvfIHCEPlijld4+zmD+jB6qkqUdES44T5/FwWkMImb3KPNy+FSC0SNh7HuL4nDmni4SC8YT6/4ySDkL2m3mbW3uZs46BsvQCnYIWnQw6NjiG70k284hIIzZN17nO88UgiBxtWtAQ9Xkttl1AZk//SEWJNzkVAK+FdK1Sma8YWKiZ6jwSs4tbPYUKzbfXQlRnmgEsyJB0qk=; 5:A00bYyoAW0VbbVYWYKxrzvFFIb2hl8bvsWK5gUSiCU1+xBKHweB7pEJTYiIrmZrI0FMFH1SQ6kd589j01FkhGgv+kMDzq471oIXpIS1zDojSKjxwMUqwZSOvex1elK80obTBr2xFUng7WAdr/iiQR5ph/f5xa7BKwZmxQskahQE=; 7:LosMotmsoPwMeREGAQOZUw+QF2s8VSzXubyAX32dwemOjU7TMx9OeA7w/CNThd46Abi0YBAMxqVBiq5DMSdTRxz9lJEw8Eh74Ay5yZxK2rU6lq/aZqJm3hS1FY4d8GFrgJyGUXCGjVSJLVmHURyFs91pJUE9HFRmEt56+IddJTp1z55z/SUG+DfAWbs7szTGSmSrJhho21AlHBYGKT/GZdoh0oLloa1dphkgiWu9MrSGF/DjK9jriy5GvgC8JPfj x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 31730461-d464-472e-09f7-08d6334fbb49 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB5PR05MB1911; x-ms-traffictypediagnostic: DB5PR05MB1911: 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)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123560045)(20161123558120)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051); SRVR:DB5PR05MB1911; BCL:0; PCL:0; RULEID:; SRVR:DB5PR05MB1911; x-forefront-prvs: 0827D7ACB9 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(366004)(39860400002)(136003)(396003)(199004)(189003)(13464003)(6246003)(66066001)(5660300001)(8936002)(2900100001)(53936002)(25786009)(106356001)(26005)(54906003)(110136005)(256004)(6436002)(3846002)(486006)(71190400001)(14454004)(6116002)(2906002)(229853002)(68736007)(8676002)(476003)(446003)(11346002)(2501003)(5250100002)(478600001)(102836004)(97736004)(7736002)(71200400001)(81156014)(86362001)(9686003)(316002)(93886005)(305945005)(81166006)(74316002)(76176011)(4326008)(7696005)(105586002)(186003)(99286004)(6506007)(53546011)(33656002)(55016002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR05MB1911; H:DB5PR05MB1254.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: M2fFbtixPJAn9qqhAe7ENzUNyVNyjdb6Ka9S9PgCUoIXDhg9EwXcd2gLVztJJxUspAcZPp8vUptRM/4fvW1bomUWMkf4aLRSEtYJ98+ZUxV+TNfkxaF8CmK61RopmzqV7ZcJmtzUvtB2xOEKCbGPkJSwr/wjudLZOGXieayjws62XGsS/vPb9lAJAolkIKMlVYRYT3jzRPhlPViVPoODNSTasdsN+NvOmiJfmQBg1I8MMZoPNAC+EyeFMxcWVd+7Gj/O5k2pvlee6hN7Xjq07IFB/EkWAO0UKV9yMNCnQgxcQjkbYAzD1mmusJoKky/DE/7VAvovwYv6A3TpBIpqUze7Lh8lCnpYyOegl+A7YFE= 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: 31730461-d464-472e-09f7-08d6334fbb49 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Oct 2018 10:11:25.5969 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR05MB1911 Subject: Re: [dpdk-dev] [PATCH v4 2/3] app/testpmd: add packet dump callback functions 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: Tue, 16 Oct 2018 10:11:27 -0000 SGkgRmVycnVoLA0KDQpUaGlzIGlzIGEgZ29vZCBwb2ludCBJJ2xsIGZpeC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