From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0083.outbound.protection.outlook.com [104.47.34.83]) by dpdk.org (Postfix) with ESMTP id 0AFBA2946 for ; Wed, 31 Aug 2016 06:26:20 +0200 (CEST) Received: from BY2PR03CA053.namprd03.prod.outlook.com (10.141.249.26) by CY4PR03MB2440.namprd03.prod.outlook.com (10.168.163.142) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.599.9; Wed, 31 Aug 2016 04:26:17 +0000 Received: from BL2FFO11FD027.protection.gbl (2a01:111:f400:7c09::199) by BY2PR03CA053.outlook.office365.com (2a01:111:e400:2c5d::26) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.599.9 via Frontend Transport; Wed, 31 Aug 2016 04:26:17 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD027.mail.protection.outlook.com (10.173.161.106) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.587.6 via Frontend Transport; Wed, 31 Aug 2016 04:26:17 +0000 Received: from [10.232.14.87] ([10.232.14.87]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u7V4QEra016715; Tue, 30 Aug 2016 21:26:15 -0700 To: Thomas Monjalon References: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> <2199965.TtOmKzW9OO@xps13> <1675221.3VhMGpQm5a@xps13> CC: Ferruh Yigit , , , , From: Shreyansh Jain Message-ID: <22e97b67-27ef-a845-b112-7f4f1ad7f9aa@nxp.com> Date: Wed, 31 Aug 2016 09:56:14 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <1675221.3VhMGpQm5a@xps13> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131170911780509682; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(51914003)(24454002)(189002)(199003)(377454003)(377424004)(81156014)(33646002)(23746002)(65806001)(345774005)(50466002)(4326007)(305945005)(50986999)(105606002)(36756003)(47776003)(586003)(64126003)(106466001)(8676002)(2906002)(65956001)(65826007)(81166006)(31686004)(7846002)(76176999)(19580395003)(54356999)(93886004)(83506001)(626004)(68736007)(5660300001)(8936002)(77096005)(2950100001)(4001350100001)(87936001)(356003)(230700001)(85426001)(86362001)(97736004)(189998001)(110136002)(11100500001)(8666005)(104016004)(92566002)(31696002)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2440; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD027; 1:aVVW+Or1lXODbqaj02oiHFFrmoY+YCaF13JUKwqpxo0coKIawGknsTSI7Me9xaM6Vm6zz3g7I3a4J/x6j28gJ0MC4etBo/Sakc2vM3Qw+6f2tcTiK0EsHGe4anaqie3NdYoVq4RYCOihlr9ikZpwddFrwUXlsQ/FIKCLCAe4hb4/zqUrGUhdyicG4PVvax6pCZNrABjjj4mjhU1JlPOYH1u4xhW4I1YhSR9byHnFw+OBxAbBMF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PjWKh/b4xhAEE8dLgGpW6rNbrA+dW8q1pd X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(13015025)(13017025)(13024025)(13023025)(13018025)(10201501046)(3002001)(6055026); SRVR:CY4PR03MB2440; BCL:0; PCL:0; RULEID:(400006); SRVR:CY4PR03MB2440; X-Forefront-PRVS: 00514A2FE6 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; CY4PR03MB2440; 23:4J+Mgu0T6VloviIGY8sHALIV9oUevTwo4qg19?= =?Windows-1252?Q?aEZLkWPSeufKbwJudk08/YhS875ZI/4a8Xa4vRO3p4pnz6JPPouLk+Hf?= =?Windows-1252?Q?Svqk/naeEzQmE7fCgf8DGECCAMo7vEpC40tNsjBvHc3dRw+2iE9KzkBW?= =?Windows-1252?Q?atemMDEEzKEepgw7up/Motw9IACwjKwBu/UFC8C7XoUMfy68hs/aA7Vi?= =?Windows-1252?Q?7GMv7njjA1+63BZudHXkim7dU1YyP6QrhuvpiQMg0g51MDng5ijJHeG0?= =?Windows-1252?Q?cayDJaBcdmYsQv3sUpGsqutHU4/Caps9yCUNIntcb5anChiDzc/bL1nf?= =?Windows-1252?Q?S97+fz2IpNaLhrZqojDlUNL7JF5E0sfYEJXtnlwGbxOeGkMakO553ihy?= =?Windows-1252?Q?m6yWLqTWEIFzYoE+fdiKn+PzoGvOfxTjQnpcScAmzOuz4mZ5cSLcSON9?= =?Windows-1252?Q?ykSuoV4ieuRgSLSISHtB3ILJor6ThBVwyH2j7qBE9QaSyHgVFBnaUKSA?= =?Windows-1252?Q?FmKBxewrGyM4CIpxy0t2UR/s3acQwSCITDVaNdQR4w/avpqxu9m70MFD?= =?Windows-1252?Q?6c61yJQ6sc/dyJOyodcKBFSpyHT51HQRCvPdWWPp8BiybcSFGZgX7XCS?= =?Windows-1252?Q?cl3FWWTUdodxpbvgJzxzboDrKGxkGu5puAyjMYdTTYKbTdi41kiWdL9N?= =?Windows-1252?Q?jMNbvUJPXTFvlSHfLrWkY+vMdGbdYtio+Z9wKGLNYzGsSh4u55JC3MB6?= =?Windows-1252?Q?9gRLIJN7Qrw9Y1PlaoBN91HEOjaVJ1KqG2CXhjOvXD7UA2RkqvoFi9FT?= =?Windows-1252?Q?nKt0B93TU+4a4v8Wrn7ZhhHtyPmJo50oxFiKjZpecEAWZQDKBGXDdscz?= =?Windows-1252?Q?Jy27AGq8160webkrLaxIMWHg29GKAXt33hNfOrs3EhD3snbKDjkGWWWE?= =?Windows-1252?Q?byKth3AJXPUKK9HZz3Uh9TGT0T5dqSjfbmatB4inV/vxKe3Cojm6LgG6?= =?Windows-1252?Q?QyMfEKSfN2huGba1xU5BeKxoV9IPaNzMuKDXgT8wTeDndw4gH+plTgp7?= =?Windows-1252?Q?vrlnd0mbtLZop5NxSzZcVWdtYes1Snmrfbc331/Xwz9EscDkcETiG40Z?= =?Windows-1252?Q?WFf4oOrdHEL0NErrXyEmOSfVgykHMNb/NEFpH5KFMtmNuEpTU6bADAv6?= =?Windows-1252?Q?3ywTRE1ljjiRZrsADG873J2UZxcV+bzO6hpLqRUNxAoWb1xBi0meJ1sd?= =?Windows-1252?Q?eJFpJydVuyo7vMuW5iS48OnUSWIKq1+e7W8ENBfBhv6I6E4Bt3bh0h0l?= =?Windows-1252?Q?rIVF5YXZiskrf6+BteFuu70l84N+Ce4mx/Ik+YzLeCbhEvnYqADDYijp?= =?Windows-1252?Q?NQ3uvTCkuE4wV2FU4AcPa5K/90zBnfqQZ6F35Dew0pR+CL9aQzYDWqXI?= =?Windows-1252?Q?EkxJ58lKGvwtSF+T/fPRegUsSy4OiXgRXhPGScYrtkJxqR8NM0UheKVP?= =?Windows-1252?Q?hedgexoKGD6aOGxBsPprb9FWuMB3Qy4LS2/6Bk0grpOoVkomg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2440; 6:Nl3uWJ3zn7eVrkSrmSo8WWLiOi0OYzgV9PU/WpWCzLlDI4o+vaw7XE1HX/tmEaGL3/Y4K7dmi+fjobHFih42tygvjSGujlRrkPgFH7rBp7cLQniE1OW+bYRWgGdHBFqOKc3UAqShzZcB0Kdbkp7inm5v+Vt8YMy7ZziygZpNhmuQtDHR/HjHICrRmDvIw/PASohPQ6lsJ3lgrngqkJzy+SW6v0R7PYeiMeIF5UsoyAiUV8v0paYASCGKP0sw53+iRGwEzSLVzL4VOkdC9lf6J7IIL33k5y2MOIsaM3qjWiY=; 5:WSelXSyVO4oaA9f68TOik0WVnWoMCej/TtODTPnQdeoE68rzUmgLPBIhgA8zEHlyBfd7ToO5uH646swyJNMv969ZYteI7uLXYrBdHhPYUmFoRFEimp8uS6V5+Gaj/hrHvTbLh6GAAv2jCodfbbn27GfJP/L8x2yJjPhQWwmtQcw=; 24:LX95FhMvwa0Q3fkUxVfVsQ1Aaj2hCgS2bn5r0lkLIf8/nvFam+XSqp3Fc9KBNdImiuW23F2z2KQ+uvko2aM+aOh5/5VZ8rP4p2msF19/iEg=; 7:xHwy6QmN/n8VUtxBDu4LkRPE0G/BNy/HvQNxSJBSrw8/Sgwx1dELZF9NiwcQeQqNx8fYX56n8e5zmmFfvYRZD4Py5yORPKpRG/Yt5bhXzgpmKUV5fedMHQpEqBUwZ3JzmKsfby+JLiIv36FXv4zgQxEWSbr/KYWNbujM8+dgT8DIvnUNRxvDk5908eefOqhdUznDBM5963Xg7ZyK6Ox/RZX+S4m4DRXxR2hnUUpD9u9Yk/yVzx8R/d/t/r9H8WMC SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Aug 2016 04:26:17.8637 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR03MB2440 Subject: Re: [dpdk-dev] [PATCH v8 01/25] eal: define macro container_of X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2016 04:26:20 -0000 Hi Thomas, On Tuesday 30 August 2016 07:12 PM, Thomas Monjalon wrote: > 2016-08-30 17:29, Shreyansh Jain: >> On Tuesday 30 August 2016 04:00 PM, Thomas Monjalon wrote: >>> 2016-08-30 09:57, Shreyansh Jain: >>>> Is there a better way to test that no driver breaks? Any particular >>>> parameters I should use for test-build.sh? >>> >>> Yes I suggest to create a file ~/.config/dpdk/devel.config to adapt the >>> configuration to your system. >>> Once you have installed the required dependencies, you can make this kind >>> of configuration: >> >> Ok. >> >>> mlxdep=$root/mlx/mofed-3.3-1.0.0.0 >>> szedep=$root/sze/usr-1.1.4 >> >> What does '$root' here refer to? > > It is the directory where I compile the DPDK dependencies. Ok - understood. I guessed the same > >> I am assuming 'mofed-3.3-1.0.0.0' and 'usr-1.1.4' are part of some >> dependencies that I should be revolving. Is that so? > > Yes, download and compile them as explain in the respective guides. Ok. > >> As of now I don't have much idea about this - I will have a look and >> ping back in case I am stuck. >> >>> if echo $DPDK_TARGET | grep -q '^x86_64' ; then >>> export DPDK_DEP_ARCHIVE=y >>> export DPDK_DEP_ZLIB=y >>> export DPDK_DEP_PCAP=y >>> export DPDK_DEP_SSL=y > > You need to install the packages to resolve these dependencies > (libarchive-dev, libzip-dev, libpcap-dev, libcrypto-dev). Thanks for the info. > >>> export DPDK_DEP_MOFED=y >>> export DPDK_DEP_SZE=y >>> export DPDK_DEP_CFLAGS="-I$mlxdep/include -I$szedep/include" >>> export DPDK_DEP_LDFLAGS="-L$mlxdep/lib -L$szedep/lib64 -rpath=$szedep/lib64" >>> export AESNI_MULTI_BUFFER_LIB_PATH=$root/aesni/ipsec-043 >>> export LIBSSO_SNOW3G_PATH=$root/libsso/libsso-snow3g-0.3.1 >>> export LIBSSO_KASUMI_PATH=$root/libsso/libsso-kasumi-0.3.1 >>> fi >> >> Thanks. I will try the above. >> >>> >>>> I used 'x86_64-native-linuxapp-gcc+default+debug+shared' for all patches. >>> >>> It is a good idea to test also with clang (x86_64-native-linuxapp-clang) >>> and another arch (e.g. arm64-thunderx-linuxapp-gcc). >> >> Before releasing v9, I will do these steps. >> Thank you for suggestions. > > - Shreyansh