DPDK usage discussions
 help / color / mirror / Atom feed
From: Anand Prasad <anandnprasad@yahoo.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: [dpdk-users] Running DPDK application in Linux init level 3
Date: Tue, 10 Apr 2018 12:12:19 +0000 (UTC)	[thread overview]
Message-ID: <1465823149.1239131.1523362339494@mail.yahoo.com> (raw)
In-Reply-To: <1465823149.1239131.1523362339494.ref@mail.yahoo.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 4961 bytes --]

Hi DPDK Team,
  I am trying to run DPDK application in Linux with init level 3 (no gui) and I am observing continuous packet drops on Rx side. But, If I boot Linux in init level 5 (GUI), then I dont see drops.
  I have provided linux command line arguments (for isolating the cpu cores and hugepates etc in "GRUB_CMDLINE_LINUX_DEFAULT" variable, and with those it's working fine in init level 5. But, not sureif these configuration are applicable when I boot in Init level 3?
 To boot in init level 3, I am setting GRUB_CMDLINE_LINUX="3" , is it correct? If not please suggest what is theother method.
Thanks in advance.Anand
From iain.barker@oracle.com  Tue Apr 10 21:11:51 2018
Return-Path: <iain.barker@oracle.com>
Received: from userp2130.oracle.com (userp2130.oracle.com [156.151.31.86])
 by dpdk.org (Postfix) with ESMTP id 86F541BA93
 for <users@dpdk.org>; Tue, 10 Apr 2018 21:11:51 +0200 (CEST)
Received: from pps.filterd (userp2130.oracle.com [127.0.0.1])
 by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w3AJAeMm081650
 for <users@dpdk.org>; Tue, 10 Apr 2018 19:11:50 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : subject : content-type :
 content-transfer-encoding; s=corp-2017-10-26;
 bh=o2N+ivnkL+n0HRmVycrSrN5od3XW6BmM6zkFBRSRe7E=;
 b=WASuOj+JI6Sn40LDytKI+74B/qlpADsPvviBAd9oogILf1cpvGz/qBEEi4rSQ1C1US5d
 gdDwIZNOXfeNYibGI9xyCLY7T3ajhj3jyE70u81T+QldBSb2VVVyNvHyTPj502rDwL6g
 y50JZyVScCJ+b9UTEXQcNCMyWhonyTX2funr9suZgCx4su5EaZFb8TjZBGlydDhm4aBU
 C91M+QW3mLv5YLLIQfqMGOc7/QDhwe1byuDwhnzKzB7ot1YOjD9lE9VpWpb5f3iiZoO6
 n/GK67SsY2uqmR2SoAqDHIWHiUrk+RIvzzi3tGiBANBUtbdrw5DAyM8FO6iBDr1S5Ahz hA=Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71])
 by userp2130.oracle.com with ESMTP id 2h6ne7bwfm-1
 (version=TLSv1.2 cipherìDHE-RSA-AES256-GCM-SHA384 bits%6 verify=OK)
 for <users@dpdk.org>; Tue, 10 Apr 2018 19:11:50 +0000
Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72])
 by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w3AJBoi4017581
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits%6 verify=OK)
 for <users@dpdk.org>; Tue, 10 Apr 2018 19:11:50 GMT
Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15])
 by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w3AJBnvU016325
 for <users@dpdk.org>; Tue, 10 Apr 2018 19:11:50 GMT
MIME-Version: 1.0
Message-ID: <64897879-3872-445c-8179-4ea5852e4ecf@default>
Date: Tue, 10 Apr 2018 12:11:49 -0700 (PDT)
From: Iain Barker <iain.barker@oracle.com>
Sender: Iain Barker <iain.barker@oracle.com>
To: users@dpdk.org
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 15.0.5023.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engineY00 definitionsˆ59
 signaturesf8698
X-Proofpoint-Spam-Details: rule=notspam policyÞfault score=0 suspectscore=1
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore™9
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1711220000 definitions=main-1804100182
Subject: [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 <users.dpdk.org>
List-Unsubscribe: <https://dpdk.org/ml/options/users>,
 <mailto:users-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/users/>
List-Post: <mailto:users@dpdk.org>
List-Help: <mailto:users-request@dpdk.org?subject=help>
List-Subscribe: <https://dpdk.org/ml/listinfo/users>,
 <mailto:users-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Apr 2018 19:11:51 -0000

Hi all,

I'm trying to build 17.11.1 against libibverbs from OFED 4.2-1.0.0.0 but having some API compatibility issues.

According to the DPDK docs, that's the correct version for DPDK 17.11  
Ref: "Mellanox OFED version: 4.2" in https://dpdk.org/doc/guides-17.11/nics/mlx5.html

But I get multiple errors which suggest the API versions are incompatible.  For example:

           priv->hw_csum =
                  !!(device_attr_ex.device_cap_flags_ex &
                     IBV_DEVICE_RAW_IP_CSUM);

drivers/net/mlx5/mlx5.c:794:21: error: 'struct ibv_device_attr_ex' has no member named 'device_cap_flags_ex'

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;
};

So the docs appear to be wrong. no way the OFED 4.2 version of mlx5.c is going to compile against that header.

What version of libibverbs should I actually be using for DPDK 17.11.1 ?

thanks,
Iain

       reply	other threads:[~2018-04-10 12:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1465823149.1239131.1523362339494.ref@mail.yahoo.com>
2018-04-10 12:12 ` Anand Prasad [this message]
2018-04-10 19:32   ` Rosen, Rami
2018-04-11  6:54     ` Anand Prasad
2018-04-11 10:18       ` Rosen, Rami

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1465823149.1239131.1523362339494@mail.yahoo.com \
    --to=anandnprasad@yahoo.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).