From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0070.outbound.protection.outlook.com [104.47.38.70]) by dpdk.org (Postfix) with ESMTP id 785932BD1 for ; Tue, 30 Aug 2016 13:59:59 +0200 (CEST) Received: from DM2PR03CA0042.namprd03.prod.outlook.com (10.141.96.41) by DM5PR03MB2443.namprd03.prod.outlook.com (10.168.233.13) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.599.9; Tue, 30 Aug 2016 11:59:55 +0000 Received: from BN1BFFO11FD047.protection.gbl (2a01:111:f400:7c10::1:158) by DM2PR03CA0042.outlook.office365.com (2a01:111:e400:2428::41) 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; Tue, 30 Aug 2016 11:59:55 +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 BN1BFFO11FD047.mail.protection.outlook.com (10.58.145.2) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.587.6 via Frontend Transport; Tue, 30 Aug 2016 11:59:56 +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 u7UBxqVl002714; Tue, 30 Aug 2016 04:59:53 -0700 To: Thomas Monjalon References: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> <57C46637.3060707@intel.com> <2199965.TtOmKzW9OO@xps13> CC: Ferruh Yigit , , , , From: Shreyansh Jain Message-ID: Date: Tue, 30 Aug 2016 17:29:52 +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: <2199965.TtOmKzW9OO@xps13> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131170319963327772; (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)(189002)(377454003)(199003)(377424004)(24454002)(65956001)(19580395003)(64126003)(626004)(76176999)(4001350100001)(86362001)(50986999)(97736004)(104016004)(106466001)(31696002)(54356999)(50466002)(11100500001)(47776003)(5660300001)(65826007)(65806001)(83506001)(105606002)(36756003)(356003)(230700001)(23746002)(68736007)(81166006)(92566002)(33646002)(4326007)(2906002)(93886004)(345774005)(189998001)(8676002)(81156014)(85426001)(8936002)(586003)(2950100001)(77096005)(305945005)(87936001)(7846002)(31686004)(8666005)(110136002)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB2443; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD047; 1:A4XCku9Z9C1q+BY6UszEh3rQH6VxU8fSIG47tzB1ThLvXWtc5VLzaW/PwKAFUfYaXNfLVSDwzM/OZgAVyrpjGxIpntOIbYYhNMNxWdNF+xqL6v30KkGpSN5LiczjLJUOSK4DSegMS8E2bNHI3dq9aeDbPsNXGJHc0kKEwg/WwEVvdczFPkfKBA2laNytACpL8nKfFQ2zBXgFfb3NMgjPZ7vQ66jHY+4vHFaw4+ycGP4EEK5OQU9wdPfItz5MbW+ZMZFvWJhZlkoGxEu2SgdRumJYX+ocJKbFFfV5bayZndtmXFHVeN9gpGf3IaQe1nsishdcEqfKO9jEvENm2F3TdSYwjIAUIXblUTX2xe7A9G8QC29YaHzU4O+XcZKP0Pgl4m7umh+TPkPt2MnKS0E7XB/piqDxBUZcRZwPZuN3gGnqt5dYssI8/jXFL2eh8BRR0TFmgRyuaLazlFu3iq1lbRhiyDiHsAhreVtwG6X0uWUBt92jkwUixGGXI4cnTRN4C+L8ycPGc+4gSTGKnfe04tNXKpOxD5zb9jrJvhMf6RHs6/9IWxOKscTndm4EBCz15jJEyEwvX26isdybkp9tr0GDFM0Pzocnpzo30PD4BodT1HLkOZDRLnjqoMdvdWW2 X-MS-Office365-Filtering-Correlation-Id: a396e692-8da9-4c60-0d1c-08d3d0cd28f4 X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2443; 2:iMN/WjxFvQ6icYfwA7Whptxy1XAbYpuorZLZBIMGhFAnqEyKibsLvpmL2HjwJMj4VeuGge6TBfhyp2DtGJU4AAysxXeCBAVcLqDadFVhzQCsIvM0I5gIi94cBKCjD2/TsFsEnwbjnkgQX749waReyesLdrq90CON1Sd5cHH4Dy8B3j/6lfu1JmJYYdXoTk+J; 3:3ZJlC5RA6fpJ/wkobFqHgyYuUc2n6CdRBG1D9hrTT8f78lum1VVM3rKNlaKV7moq2cmkAJsp+Yq0e56nEqV9sQalXCr1bz/PFbcnFgMG1xZ/4jfzhqiiUwZioXOdgntIMb8wVm6Ftl2mTxbnR4ZdKZ7q6PrlgBf+4c+xI6WBMG+yxlT2NQr4evjhLQQYDL6p3bgGnXXnIrpHpLiZcCDoBW0/nU7yWiltBQrjAwtNwKo= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM5PR03MB2443; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2443; 25:cBQltRYURB8IIJhzTCzt8CT5rHx27H9UaQJROzPjSz7sKvvfkNV3WuvmvckEPGyAkXXBrUu+wWaipFe7Cb2fvJZpoIvcp7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6saRgGlOXGrgC9kxcj8QUWLMh5wrbnysYdAfTQDzMHf5fv7tiBs1a/Yhco7vYc7Nu0X3VqKUZyLRF6Gnm5zXJj/6xm+MVUdiKwADNvOjQJ2vPru5SymY5K/QEhKcRq23tMAg4g5QKyNCQ47vzQeiQn6LNY2BEab3fETvXEkPbiMZDIV/O1+YUJ/9xlNPzH9GjAnTcKCjaEDiPOaoBbyNYhTZAHaAm32shXsA+49DHtk22j/Pi1XpDW5eP/hfFiyvVcj6Lid96rG4CMvqOMiKDBP7mGQWuno2oMGspQy2/quX/9DWaVNngrVrLRjwGEtaF6sNBtR1P47TTfohj6/FX2nsjotSZBpAFhu9GFk7xgiXo X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(5005006)(8121501046)(13015025)(13017025)(13023025)(13024025)(13018025)(3002001)(10201501046)(6055026); SRVR:DM5PR03MB2443; BCL:0; PCL:0; RULEID:(400006); SRVR:DM5PR03MB2443; X-Forefront-PRVS: 0050CEFE70 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; DM5PR03MB2443; 23:SAMsky9ic+FzucG6z/+aRNbUHsbHSEEf8mwck?= =?Windows-1252?Q?Yu9izptYn9BJuB9x7uJjYJnyKyoUMOap5fJFseWb2tR7tFfKeQECFpMy?= =?Windows-1252?Q?ALZG48sATlEGzkjc6fXzHRkxs0EDcLlvWQI1KDiHlmYfz0PwYCEc7xvR?= =?Windows-1252?Q?obOprj7Zmu+Qjr8flj1jeEAjGGwS2fI23ngumw+rGIms4a3t3OFNrcmR?= =?Windows-1252?Q?lm+ZDnGMsvvlr1/dlDsVMk9opXNSAvN/4Osf5BPLIGfSosoCN13U9jDQ?= =?Windows-1252?Q?42gVgoN9uAgjggOBFjhESA63SYzXWeYDcADdRdLHP8MSXpQ0AFVv9U5i?= =?Windows-1252?Q?vi6o1azIAWg9c8tbbVYFybO+lDvCPpeM9R+rYDNR92eIR9yE7NO8wkDQ?= =?Windows-1252?Q?xXTQXMMJ0721qFsLMWcZivZ8WZsHLUVvlIANH5Mp5febjczYbXxwSOCv?= =?Windows-1252?Q?6h5VhxdLeeLKvqMVxhYtXHW21kg9CHI43m/jKKG/wd3iQVyd3oZkTad+?= =?Windows-1252?Q?EcQN0h0l+5qJ3p3A86jBr3csLxlI+SefyNkHorTml3yJEDiXUtKVU2JG?= =?Windows-1252?Q?P+Z+T5jzzwk1q9lkd0I4PpsxG6HUPvqj+CBN1Grk93y/NuV1be16GYax?= =?Windows-1252?Q?9SsLlDqjwuHlrQ69I0ex4RJTKwnmDKc3tv2Vo1hhv4iatKrvV6X4mFQU?= =?Windows-1252?Q?Dw8LQU9np66Ba6+jVDD85XEDwBclxeBiKJ/1EDoZeCiTpUf9yNIONziE?= =?Windows-1252?Q?7sq5BFaLZd8zL8BajaUtJqrajITW94l5VCaaNu8PDShaJPHRisgcgMBA?= =?Windows-1252?Q?eNe39OcUnJaQeyev9FvJ3vVeTZ5CaKyccxpk4BmFZtY03lypgR23pMtU?= =?Windows-1252?Q?a1vSjPtgsPeAwK0paky23uTITj5xzd5SOmzeDYOQK4A5407AN0b2k64/?= =?Windows-1252?Q?GyS5sJVCXC5xKCGpjZF7oGH+dQ/CgWaG/yiO6JcC8QmLukV490weKTj4?= =?Windows-1252?Q?qhG69Pc+OFUhL9gu2lBca0pdRKRNopAWhCAGrkrEkaFBJljSXbhbm9x6?= =?Windows-1252?Q?3cuhR+y/37jiflUqAC0N4HxhWzIot0ivJQtPbMCuKEQBuL01LKWpI8EE?= =?Windows-1252?Q?MU63Ja6fgoyO1hMVjmc9+n8wuH7yTC49nZYxDP/GgH397LTpmJm1/M4I?= =?Windows-1252?Q?HdQF7lBRvP2LzvF8Stm6I1wk0pagTOv/ClLqvilmlk0MhklROKpg97Ux?= =?Windows-1252?Q?Cmt7Y+moK8Tb5dWcZVEkl94FTfoO8n/qQ54lWnJJpdQg9K17f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tN8nBhxZO2hRnHlMCGb/aBxQO0r00r/sAYWMNLCmr0DqhiFGkQZ/0MJZx8DUpMRZI48YRDgqg SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Aug 2016 11:59:56.1455 (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: DM5PR03MB2443 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: Tue, 30 Aug 2016 11:59:59 -0000 Hi Thomas, On Tuesday 30 August 2016 04:00 PM, Thomas Monjalon wrote: > 2016-08-30 09:57, Shreyansh Jain: >> On Monday 29 August 2016 10:13 PM, Ferruh Yigit wrote: >>> This gives compilation error for mlx5, because the libraries mlx depends >>> defines same macro: >>> ..../rte_common.h:338:9: error: 'container_of' macro redefined >>> /usr/include/infiniband/verbs.h:77:9: note: previous definition is here >> >> I thought testing with scripts/test-build.sh and default configuration >> would compile all drivers - I was wrong. I will retest the patches and >> release again. >> >> 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? 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? 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 > 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