From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0075.outbound.protection.outlook.com [104.47.34.75]) by dpdk.org (Postfix) with ESMTP id 00D2F2FDD for ; Fri, 7 Apr 2017 12:10:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=1dB2W590QKulcqBMz0skTLsfHU4c1i940ApnvirlWRY=; b=QyFqWN8OZ0RzsZj3J2urNubOa96rGB0rykeyOkoLDe59P9GUy0N9XFz/BG+KRGugFMncM2Tonkq8uwTx0dRN6phPzI3JkATJjDg+zTuLF7olp4kad05heJWVqeIu7PFeQGqt9taln/q0m2tPHR4D4+0zER0uEgRLAJKHOwz7Rnw= Authentication-Results: caviumnetworks.com; dkim=none (message not signed) header.d=none;caviumnetworks.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost.localdomain (14.140.2.178) by CY1PR07MB2278.namprd07.prod.outlook.com (10.164.112.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1005.10; Fri, 7 Apr 2017 10:10:46 +0000 Date: Fri, 7 Apr 2017 15:40:31 +0530 From: Shijith Thotton To: Jerin Jacob Cc: Thomas Monjalon , John Mcnamara , dev@dpdk.org, Ferruh Yigit Message-ID: <20170407101030.GA7157@localhost.localdomain> References: <1491059040-20647-1-git-send-email-shijith.thotton@caviumnetworks.com> <1491465117-11252-1-git-send-email-shijith.thotton@caviumnetworks.com> <1491465117-11252-2-git-send-email-shijith.thotton@caviumnetworks.com> <1840157.q6em4QXK2Z@xps13> <20170407070724.GA5581@localhost.localdomain> <20170407094224.GA4051@jerin> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170407094224.GA4051@jerin> User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: [14.140.2.178] X-ClientProxiedBy: BM1PR01CA0083.INDPRD01.PROD.OUTLOOK.COM (10.174.208.151) To CY1PR07MB2278.namprd07.prod.outlook.com (10.164.112.156) X-MS-Office365-Filtering-Correlation-Id: 6df15c27-e7cd-49a5-a45a-08d47d9e5cfb X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:CY1PR07MB2278; X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2278; 3:MUVwGS4Ah7xWI4FML8fwqHRTHfbpg93JpuXoCNVyCqofTdD7UhJPG2MIJOh3Hg3aWXFHUHDeh737CpM+sX8RiarLEIZ1HrtFG09IYgALpkStUT3hwmV+7DNCObEUpmMB1buQ++baSd2wDiwEBRtC5r2IQZgWa+1Q1M2buUZjHcB4nQGQjY7D2HDZR/9Ub15QVYjMapssuyXRwtqAtkkq8gfNvo25PeA4ka5s/UPKFqQwY+YiZ9jz76rMjBpTmyZacX/3uUFTHHfHUNMQvCH0Y/Z3n3CPxbEVj2D8t8MAG1rZmlU/htSdSRDFEU0K8d2yj7d/+0tW8tU9KTWAd/R0rg==; 25:r7N0SMaPsrA+zZ1D5UtXz4KX7Vhq1GI8Ub/iXP0xp28mFCYeS04MbKxZzhwE6aV4788TzP3iTK8V14We/nufkZ397VzNzPYHR8hztxf5RCk3Wh7bPsxI1bkJAbynwx40wet0bTLT/OBBxzh4nuTWFg2gXeZpHUioYyiiRbGmnEeNgzdwzLtY4UTF98MH2bpG08vPIZJniwhUWD0wh80b7Xbl8F2onNOG1b73sYqfW0joXLOftZiQC6IiWJk7UvK84K/GJjPDXwh9REUvmEbqxWloJyarN7uxw+QGi0Vkq/5VJf653tnP+Y6nmrcKjdhqdZiWV/LCU3LVotrt7GpMplj5b0KxtUqnsvIUD+Cbxj7L2vsrggYng5ecgTcDH6xRrU59Z0Kzg1KtOfdjKQ8m08ga9zFbmMZIeCv7Qo42KjQ8sCiBU/8HH26ChejBHNFYHuYsmYdNKbOsgikUhKK1kQ== X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2278; 31:c7vaniyH/C2QnZS+18GtmZSgivBK5GK3B4XgHc9T6IfP060RwDzyElOZxrSyVq/MwB3yDMRUSlOGFRZJKpw6b/44KkFjtSMlNwvA8DXnilEO48yIfFapmnPB+3z80Ac4btbUM4J/7gYZuzf0RFVcSF3glJtcwj7KMgr0vErdcfNsfnxzakE6zFZGnMsbw0uzKKcaZR5HpHzGAOYVUxqnE1RSObmWM7747LYlqd4qASw=; 20:6YYEx6uakkNEcxwznIS6F2Y995Y1Pe7frM3wJYu/mgehsg4XEFDIyN40ZBPGmA1sdYK/eH+LXnOa5/PSMZhWGd9iaq9AOIeyhCH+ZA0GH8JCLWwE5nEhnM2xRLtHM47tCF59w67L5t1Ep3hOL7SrCa9lzCSgDDwl2L/aQXBdeR8GCRspPb5d2F/3rg3IUbmkeObhUr7eUO4nUFv1iiAuZh60qwscORbtCHEYc5yOk96wvNX26GgaRPg/WsMtPvltdYV/qFNMSw+QDlrpypnJm4lRSVa3uOztO4sGAjAZivRYb1WoYoo2NbmBYcsO3C1M6XPkIANf4rOW7yvAd3Uyy9cGqqz6Fs8du3OuoK5IhATDpmXqL6WzX03+EKLK+THC+i6TDrgF8eLJj1vCEdWvi5bYQyB/ufAYF2UHiJNNePjXRHp1gimnZwn37irfsJhzvE/Lm0KO22+yEjEtdc89DZKKG88e5lNcsWRKxTNaI34m2mZvNUbca+sg7zikfOgu68+hV4EZF63XPXV4JW8hYj78YKOJPjRV9rGEEHNBouX9nxNYkiketzNNCy/bYkwb1iOotT7D2+/DX2WvHup6LL259duYWQ3oY1fvxIbPlH4= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(10201501046)(93006095)(3002001)(6041248)(20161123555025)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(20161123562025)(6072148); SRVR:CY1PR07MB2278; BCL:0; PCL:0; RULEID:; SRVR:CY1PR07MB2278; X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2278; 4:uzhYaA3lMX1/mHoIJEHbsCgw3Fbezshbq5XsI8UXyZgZlqnBuycXPQ1HqPkQsd2aHtsnd+coOa9Wgz3UXGss3Nqf8l2rkcVovmEmt+/j50nmgZE2FXUWeO4SDfda32HGn1HUs16RfccUxEIJjjpzFeei0iC5kjVyIT7cX+b9OC1XhL/47MR7SYzYzfnqw6zv1UNGDkY3RXsYiQDVu20tYuiCbpdsKZ0Cz5VM82/FlCkDEK1lnS/J5jgVYJv+jk+MCB2qxiOdGjGYj5mMlCcYQT10663N9OCdPnrV71Nqf1Tkua8YOULDvDAuFsq/gO5HHJm/AGF+rWWpT3IXAMY3fiJPO5CJenmwOhguJT4V8r1e62SM2VBdbGvq9aBtyNc/APVnaPFRq+v0Z1n/rK35120EaoXuaPGqQRcPP1ImZTblPozhYEilvar+hz1RtYsZbVJaHNiuegjQGjoBKIMsI4mI9nTno1GT+sYqa2R6Bq605eAXrblTXb4BaH2mNE3pOiq1iM1HpGHF6cmjM69KL6E3hX+BpW8I/ZCjv19mdrIoGn7BN94VSqmQfvJVETsCEDBwC+Bd52kATkTuIJZ8eB8jg3CrwUbLAKM5IkQX+PmUb+BsUB/ZtslJMUeV5gMc/WFxrqJmrYpIBrYnSxUq73CF2kpsXH7QCYLHA7+AgW30PFgr9xvDJyNKHTroVNOwc5Zz9ujDrLm53R/ct9+MEiS3cwYfrJubEJvyi/iVO5s= X-Forefront-PRVS: 0270ED2845 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(979002)(6009001)(6069001)(39400400002)(39410400002)(39450400003)(39840400002)(39850400002)(377424004)(13464003)(24454002)(47776003)(6636002)(2906002)(2870700001)(66066001)(305945005)(33656002)(7736002)(5660300001)(189998001)(81166006)(8676002)(2950100002)(6666003)(42882006)(93886004)(6506006)(55016002)(23676002)(6116002)(6862004)(4326008)(3846002)(5009440100003)(6246003)(25786009)(42186005)(9686003)(54906002)(53936002)(83506001)(4001350100001)(50466002)(229853002)(50986999)(76176999)(54356999)(61506002)(1076002)(38730400002)(110136004)(110426004)(18370500001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR07MB2278; H:localhost.localdomain; FPR:; SPF:None; MLV:ovr; PTR:InfoNoRecords; LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjA3TUIyMjc4OzIzOjlkczV6RWRYWGY4RDE5R3hKQ0xzdjZTVVVo?= =?utf-8?B?cnh0YzlqcjlBYjdLTllacFppUTI4ZUI2b24vckwzNVIwd2duNVBFeWNTY2w1?= =?utf-8?B?ZmJOaDlSZnp3QzNIMHFkS21VdEZXZHcvTmZ5dHZuMDZNUlBuMGdHRE00SnAw?= =?utf-8?B?cUZjZE5QZkovNDJ1M1poNHJPL1FXUmNNZ3dkOTU1MXdYUUJTb0RrMDYwRHBT?= =?utf-8?B?OFNPLzJYYU1QNG5vcjZRWkZSRzZJWmxWR29ETUE2RnNscUcxODFqMVFOY2lK?= =?utf-8?B?TXRVU2RBM1RNdzBXYzI1UmViN21lZkp6bUVXRy9PWFRNcnlvZGJLSkp0L0Vh?= =?utf-8?B?ejdPNkszTXVuNkhvQXZ6ckxnT3dhSXJZODZiaUJaYlVaL3NXREZ5aUtzR1dV?= =?utf-8?B?OGFqRXFzdWRUQkUwR3JvdlE3TUNCNVFoYWhDUVdiM21hc3NKY3ZlYnNNaW9L?= =?utf-8?B?d1dHRjNBZ005WUYxb0NzN3NNRjNxWjVIVkhUZGcrbTRTOG55ZjIzT2tSeksr?= =?utf-8?B?Wi9jeVo4VEtXWTcyMWJkOWdqZk5zUCtod1ZKRUtoVXdmRUJGVTgzU2tJVWJC?= =?utf-8?B?O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AAwGKouAb+197xDdao/7HOIFIzlxtwAoiCk/AGCUtdxPld6x06XssOW9Ow8Tt1/KxyVGE2W7RLEH9MwOgY31Z09qU52Q==; 24:1uF5Lx/UB9Pkn9gnj0iym1AeQ3H34clUmkX1viZByDApYw6hEsY0UItkSd7JVxKRRI89qKm/h5L7kHivp2Xm02bdEe3I6GNxonku+IIbRzM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2278; 7:/eg949Zz9Dhe+1JnIPEj3HuEz3MHuZ/MqbmSqe7ikcYk0qSsoIebpvORtasouV+2Lf7mnRE9Hin8IQoG32lqEDlmc6vtiQBqV204SIaaH0nVfzC9nEJmH0UWMSowDXBGIKKp+iRfAVAiIp7Fpx8ZezEI3qt6qG69DYaDLeQdjopmthDne+Xg7YOFl/gPMRm3WAAat62Gy6Fbx1vxnXw6AKwZlDRUgaCHoNWNlvz9ep4IYLfKagq2puKJ0RXBl2FwZrMr9vnYGOEeldbyAsuoji9I4MM8Ae3JVJUcbhvsG2tILuhMHzIPkyc5WJTIvx/jkFY6PKCvuFh/qPOFCznEmA== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Apr 2017 10:10:46.4927 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR07MB2278 Subject: Re: [dpdk-dev] [PATCH 1/8] doc: add doc to explain compiling and testing of PMD 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: Fri, 07 Apr 2017 10:10:51 -0000 On Fri, Apr 07, 2017 at 03:12:25PM +0530, Jerin Jacob wrote: > -----Original Message----- > > Date: Fri, 7 Apr 2017 12:37:26 +0530 > > From: Shijith Thotton > > To: Thomas Monjalon > > CC: John Mcnamara , dev@dpdk.org, Ferruh Yigit > > > > Subject: Re: [dpdk-dev] [PATCH 1/8] doc: add doc to explain compiling and > > testing of PMD > > User-Agent: Mutt/1.5.21 (2010-09-15) > > > > On Thu, Apr 06, 2017 at 08:30:21PM +0200, Thomas Monjalon wrote: > > > 2017-04-06 13:21, Shijith Thotton: > > > > Add a section in NIC drivers documentation to explain compiling and > > > > testing of a PMD. It also mentions about host setup, which is required > > > > before running testpmd. > > > > > > > > Add label "testpmd_ug" to refer user guide. > > > > > > > > Signed-off-by: Shijith Thotton > > > > > > It is really good to factorize documentation. > > > > > > This doc is about testpmd in Linux > > > and does not refer to FreeBSD. > > > Do we assume to take Linux as the reference? > > > > I can submit v2 with a subsection for running testpmd in FreeBSD. > > > > > Should we refer to the Linux Getting Started Guide instead? > > > > Agree that the new section just has steps from getting started guide. It may > > seem redundant from a developer point of view, but hope it will be useful to > > users. > > > > Please share thoughts. > > 1) Some reason thunderx PMD is not added in refactoring. I guess its due > to x86 and arm64 name space collision in the common document, if so we need > to find a way to fix it and thunderx PMD. > Made text more generic for all platforms and gave two examples. To compile a PMD for a platform, run make with proper target from config folder. Use “make” command in Linux and “gmake” in FreeBSD OS. It will also build testpmd. To compile a PMD for Linux x86_64 gcc target, run the following “make” command: cd make install T=x86_64-native-linuxapp-gcc To compile the ThunderX NICVF PMD for Linux arm64 gcc target, run the following “make” command: cd make config T=arm64-thunderx-linuxapp-gcc install > 2)I guess, It is better to keep all the startup logs in respective PMD.I > think, it will help in debugging in case there are any issues. > +1