From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sonic303-22.consmr.mail.sg3.yahoo.com (sonic303-22.consmr.mail.sg3.yahoo.com [106.10.242.39]) by dpdk.org (Postfix) with ESMTP id 9D0701BAAC for ; Wed, 11 Apr 2018 08:54:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1523429673; bh=U6Zffl9Jme5VWMxd0phr53vODfk4vMG5EvbCPUT8QQk=; h=Date:From:To:In-Reply-To:References:Subject:From:Subject; b=Gq3el0QpEJ9y5FFzmM2scR7kqyhlHHoP/4X6s/puSNDnpV5GSMcKwruRtDN9dKO83wMvaJwdbCDSBaS6ly5GYQNMsErcApKpq9AC0PDtjvwamhNYVkQiXiY+8VPazlivZDlwT7CG4peYumrZmdNXh6tkNxwNv+3RxUHuIk8J2RFhu5sdwHVKZrlyA8iks6mjtTxSCZSmRfTVyrAHaq+TzkGkiUsbcfv3tOJNrEBrfFPC+MCe1ojOXbruG/xp/M0Jg467jyl51M3qSG0vNjR2aOJyPGeJxGWKg9TT1FETniQ+zFQ5BPatSKY77q9Xb8EFstM2WMIamtT9J+s6yv3QXg== X-YMail-OSG: wrso5ksVM1mApdtxlA.Vq6MBYswn7IpjdWmhfJbJxf9FF8lbZaDWlEF1y4qPfC6 Bo26_897rIqEhH7_ZwIM7YBKWw_Qi0yEv4VLne4rJDEjPznmBNt.K0z425aYVMaLuEUmyZ7MAxBS Mlchwj6dmLdtDhHfAitkCI1or5iT56eJ.7ieweCqRatFXk559rr_XOxvmStMVHr7t4mjWEpqnYgp yyOcoLtiiB4kFWGm8qcO7qcQS.R3OVz6m2OPoLE4M2Dluv4WMDlSVDVl8AAsN6aJDysSIxtING2R Jghb.uuFZ8ysB4On30FyefXUhJ2UmmMCoaLRczd_OF1AjQTKa9HPHSJjLK6LQ7QRFELW5UZrHNfD TYoPInmJdrUB6DJoBgzo_NKIctGP3skGJpTu8KZUEFWDbDGrIjmmpgE_cGKhJArc9nxVZnhV6SG5 EImG3eIQszQUcYAGnN1LLSOTSzm0Ap78cbOP5zfJxQBLQXVwualvGpqvJhSsIBtNzexK1QQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.sg3.yahoo.com with HTTP; Wed, 11 Apr 2018 06:54:33 +0000 Date: Wed, 11 Apr 2018 06:54:31 +0000 (UTC) From: Anand Prasad To: "users@dpdk.org" , "Rosen, Rami" Message-ID: <2020209594.128339.1523429671281@mail.yahoo.com> In-Reply-To: <9B0331B6EBBD0E4684FBFAEDA55776F9531A2776@HASMSX110.ger.corp.intel.com> References: <1465823149.1239131.1523362339494.ref@mail.yahoo.com> <1465823149.1239131.1523362339494@mail.yahoo.com> <9B0331B6EBBD0E4684FBFAEDA55776F9531A2776@HASMSX110.ger.corp.intel.com> MIME-Version: 1.0 X-Mailer: WebService/1.1.11745 YMailNorrin Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Running DPDK application in Linux init level 3 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2018 06:54:36 -0000 Thanks Rami Rosen I tried the steps you have suggested, and with that, I am able to boot in c= ommand line.But still I face the same packet drop issue. Any guess, what causing problem? Regards,Anand Prasad On Wednesday, 11 April, 2018, 1:02:47 AM IST, Rosen, Rami wrote: =20 =20 Hi Anan, You better use the same Grub kernel command line parameters both in=20 run level 5 and in run level 3. In order to be able to do so, keep the GRUB_CMDLINE_LINUX as what you had i= n init level 5, and assuming you are using one of the popular distros (like= Fedora or recent Ubuntus), which runs systemd, the recommended way to what= you call "disable the gui" is by a systemd command called systemctl. So, when the gui mode is enabled, you will get: systemctl get-default graphical.target And to disable the gui you can run: sudo systemctl enable multi-user.target --force sudo systemctl set-default multi-user.target After boot, both in run level 3 and in run level 5, you will be able to ver= ify that the kernel command line is as expected with: cat /proc/cmdline Regards, Rami Rosen -----Original Message----- From: users [mailto:users-bounces@dpdk.org] On Behalf Of Anand Prasad Sent: Tuesday, April 10, 2018 15:12 To: users@dpdk.org Subject: [dpdk-users] Running DPDK application in Linux init level 3 Hi DPDK Team, =C2=A0 I am trying to run DPDK application in Linux with init level 3 (no g= ui) and I am observing continuous packet drops on Rx side. But, If I boot L= inux in init level 5 (GUI), then I dont see drops. =C2=A0 I have provided linux command line arguments (for isolating the cpu = cores and hugepates etc in=C2=A0"GRUB_CMDLINE_LINUX_DEFAULT" variable, and = with those it's working fine in init level 5. But, not sureif these configu= ration are applicable when I boot in Init level 3? =C2=A0To boot in init level 3, I am setting GRUB_CMDLINE_LINUX=3D"3" , is i= t correct? If not please suggest what is theother method. Thanks in advance.Anand =20 >From shahafs@mellanox.com Wed Apr 11 10:50:17 2018 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00087.outbound.protection.outlook.com [40.107.0.87]) by dpdk.org (Postfix) with ESMTP id 7009C1BAAC for ; Wed, 11 Apr 2018 10:50:17 +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; bh=xiKLqbg4jt6LHMr7X6+hwQ0jG/WC019+TM87qutFg7c=; b=csxDXwOUE0P7o2spuMHI6Fjie/fPDrhZpzj2VKaXgPcSJaSzpoABwkFIKvt8WxTZlLGh7k+WXmD8fZetIVvIOdHuT/m4Jsmw9UN3G3/4sPM8XjfIzQhGNvJ0NNqzm/V4Nq1WEGMXivyD54ww1D8Vo7Up1OEaDeVi9b8CCdI3+H0= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4396.eurprd05.prod.outlook.com (52.134.108.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.675.9; Wed, 11 Apr 2018 08:50:16 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::808d:386e:26f3:859f]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::808d:386e:26f3:859f%13]) with mapi id 15.20.0653.014; Wed, 11 Apr 2018 08:50:16 +0000 From: Shahaf Shuler To: Iain Barker , "users@dpdk.org" Thread-Topic: [dpdk-users] Wrong OFED version for DPDK 17.11.1 ? Thread-Index: AQHT0P/P6IlBsvjB/UyWc5Rsy2xzxqP7P+eQ Date: Wed, 11 Apr 2018 08:50:16 +0000 Message-ID: References: <64897879-3872-445c-8179-4ea5852e4ecf@default> In-Reply-To: <64897879-3872-445c-8179-4ea5852e4ecf@default> 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=shahafs@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB4396; 7:dJ0dH7d9cItf3MXB/uc+fino3nj3nIqpZZi6NSu1lOs4i8e/9wNPU3G63cZXp7YcE2w0RoTkbQ68oN/4tOJJcadRA/bnUGQTi8P/sDZB2Me75HPiw7mUWsBIpWJnYA/3Nm99to20jEguhSC4ijZkhJfduiMJwnAeO0uZZuXSLntRxq5vhvcXky3A4GQ5ruvUnS6f7b0TmBZhl3W5vP7kSzsW72cMTV6W35zbuOohFMhyzrSsZyqSRucHO9v4LMUy x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB4396; x-ms-traffictypediagnostic: DB7PR05MB4396: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(189930954265078)(15185016700835)(45079756050767); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231221)(944501327)(52105095)(93006095)(93001095)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123558120)(20161123562045)(6072148)(201708071742011); SRVR:DB7PR05MB4396; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4396; x-forefront-prvs: 0639027A9E x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39380400002)(346002)(366004)(39860400002)(376002)(396003)(189003)(199004)(53754006)(105586002)(110136005)(3846002)(97736004)(6116002)(99286004)(3660700001)(966005)(2900100001)(3280700002)(5660300001)(86362001)(76176011)(106356001)(6506007)(14454004)(316002)(45080400002)(7696005)(478600001)(81156014)(229853002)(5250100002)(305945005)(7736002)(6436002)(74316002)(66066001)(9686003)(8936002)(6306002)(2906002)(2501003)(55016002)(26005)(81166006)(68736007)(102836004)(53936002)(11346002)(33656002)(446003)(6246003)(8676002)(186003)(25786009)(486006)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4396; H:DB7PR05MB4426.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: grvNc2p/JfczS4278NYZXV4mKH66YtrGBySzlN7nCXu+73oiixaEXMFbQZUnBNoOmjz65mG+TgpJEvMExng/5Ig4bcASM0gksgPWezxoB9na3IstoEr8d4IPicR7yy5UHrUljlTh7x3FBNeEFY5pnKU3E8BO3ETY7tVhS4a3KqzTzYWAQEtKqpmfy65RviayyYDkfjajPlYXKWf2bs4mjiVKTXEvP8soyjOmVUrF1I2SQB5WmIe5yf0HNMcSOq+x0gfijvtkTiJ1jyPdk7PRy0c/ivbFoUDlzXSjODZBAHNuNGL+mV+DepgoxFx5U4JJvQKqOvld7PCj6tOGQ1PkS/xVlUkuYZNo6VvTPr8QtcHGgcXEvukt9XUh0WtN5KZUyok6oNZRP9iM/+ysXbvxRMyHa/54f2DHXh9EtRXedXM= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 5025ba9c-5cef-49ce-1c38-08d59f893f16 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5025ba9c-5cef-49ce-1c38-08d59f893f16 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Apr 2018 08:50:16.0230 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4396 Subject: Re: [dpdk-users] Wrong OFED version for DPDK 17.11.1 ? X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2018 08:50:17 -0000 Hi Iain,=20 Tuesday, April 10, 2018 10:12 PM, Iain Barker: > Subject: [dpdk-users] Wrong OFED version for DPDK 17.11.1 ? >=20 > Hi all, >=20 > I'm trying to build 17.11.1 against libibverbs from OFED 4.2-1.0.0.0 but = having > some API compatibility issues. >=20 > According to the DPDK docs, that's the correct version for DPDK 17.11 > Ref: "Mellanox OFED version: 4.2" in > https://emea01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fdp > dk.org%2Fdoc%2Fguides- > 17.11%2Fnics%2Fmlx5.html&data=3D02%7C01%7Cshahafs%40mellanox.com%7 > C00e205bcc93b4ab687ce08d59f16ec56%7Ca652971c7d2e4d9ba6a4d149256f4 > 61b%7C0%7C0%7C636589843233074081&sdata=3DtRgQGtKP3WlalZ8XYVp6Qvq > pkStiVgdup6EmZSKEC3c%3D&reserved=3D0 >=20 > But I get multiple errors which suggest the API versions are incompatible= . For > example: >=20 > priv->hw_csum =3D > !!(device_attr_ex.device_cap_flags_ex & > IBV_DEVICE_RAW_IP_CSUM); >=20 > drivers/net/mlx5/mlx5.c:794:21: error: 'struct ibv_device_attr_ex' has no > member named 'device_cap_flags_ex' >=20 > MLNX_OFED_SRC-4.2-1.0.0.0 contains libibverbs-41mlnx1, and that has > include/infiniband/verbs.h with the following typedef: > struct ibv_device_attr_ex { > struct ibv_device_attr orig_attr; > uint32_t comp_mask; > struct ibv_odp_caps odp_caps; > }; >=20 > So the docs appear to be wrong. no way the OFED 4.2 version of mlx5.c is > going to compile against that header. >=20 > What version of libibverbs should I actually be using for DPDK 17.11.1 ? Starting from DPDK 17.11 MLX5 PMD uses rdma-core as the user space instead = of libibverbs/libmlx5. As you can see from the doc it will be installed whe= n calling mlnx ofed installation script using --usptream-libs.=20 You were installing the legacy ibverbs, hence the compilation errors. Try t= o install rdma-core instead.=20 >=20 > thanks, > Iain