From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 659DB2BF3 for ; Tue, 30 Aug 2016 15:42:27 +0200 (CEST) Received: by mail-wm0-f45.google.com with SMTP id q128so121650477wma.1 for ; Tue, 30 Aug 2016 06:42:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=yM3OK6F2qkKa17z49PHjVgNpJhWqIUN8Ifr25xC7SAE=; b=PhhxztD2/CWYpmoQ/9/Pf3PDZDshjIl226QReg9BjJ19AmRDIGybXSeepu0EWu8NCg ya3+j1av/prBGnQxB0F3H7ExWT8DVQuReG4BFS6CP8OxSpur14591/bAKudQjrZ1Gpz+ 49KGm3NnlSUrdilYXGSs7OlzMMUZ8FGvJI9tCaOhQxPkUKSsVZFs3mkNLeZcSlB27jrE XR5EoDhYcx8THVt+h1BYuYF/EUr9kijKFfaQpChqFMKZTQZ0Dqot794C62xHoDHjiiXP yOvNA+PRKt9UeKFEO4yDDbmO8kZVjq5F8mJ5aNT5EZgueOR3ECJv8lz4cJJk/l0x6s0w QszQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=yM3OK6F2qkKa17z49PHjVgNpJhWqIUN8Ifr25xC7SAE=; b=f7kqWLhWUqxyT7RUz7GH2m6pW6pdgnjd4jBqpJXtYd11hfunAxGgl3PHACrOv1KtIv /l27FOckEKgJg7J+PM089+5t0l3hwcXPlxZYdZ/D//+NtGdj6vO4eKiHTjWNgacnsYgC VuqBwMG5n32fANZZmgmXZ7id4kFCq5pUR7dUDp9fyOsrYaE+EHqFCLz0dGGDhw8rBp+6 dDP9q++dLPfwTiBhd5Otg+pOoSaJPNCsXjeZcB/kB/6jlDNqg456zfuNqibgOMUIKKYv yjgb7XPC8qREhXW85EaKYoANi0nDRJx6JOZmFvvwNjp746RkKpHb6y8g9Hh9VZQF7fWf Rqbw== X-Gm-Message-State: AE9vXwPrRTZbaOub0dHzPGeOPhFI3QwxVh5XMVecXixN9Rd/sR7ecB2VdsPVyThjBZo8ida9 X-Received: by 10.194.53.234 with SMTP id e10mr3274223wjp.85.1472564547082; Tue, 30 Aug 2016 06:42:27 -0700 (PDT) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id v189sm18755794wmv.12.2016.08.30.06.42.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Aug 2016 06:42:26 -0700 (PDT) From: Thomas Monjalon To: Shreyansh Jain Cc: Ferruh Yigit , dev@dpdk.org, viktorin@rehivetech.com, david.marchand@6wind.com, hemant.agrawal@nxp.com Date: Tue, 30 Aug 2016 15:42:24 +0200 Message-ID: <1675221.3VhMGpQm5a@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1466510566-9240-1-git-send-email-shreyansh.jain@nxp.com> <2199965.TtOmKzW9OO@xps13> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 13:42:27 -0000 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. > 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. > 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). > > 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.