From patchwork Tue Mar 13 07:05:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: bugzilla-daemon@bugs.linaro.org X-Patchwork-Id: 131410 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp381992ljb; Tue, 13 Mar 2018 00:05:19 -0700 (PDT) X-Google-Smtp-Source: AG47ELtthv4KlFjmI/OvjwahVCFpPN4POel3FAt1J/o2CBU6rmSrsZq8e/5CfYx91CKuzqGMdPHU X-Received: by 10.200.8.117 with SMTP id x50mr2653197qth.240.1520924719230; Tue, 13 Mar 2018 00:05:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520924719; cv=none; d=google.com; s=arc-20160816; b=L9vMlvRo0vNql7gvbSuVYJGdXyR/H7TYRLKYoN1gM7UniOyPC8w5TUpxDeSszXHJQa qnMO7mmAyvRB3WBk0XnFe1LkDXoiJkLsogHhvGs655JQhBePTDkKK4gae8rvXzOdNZuf waFgup3XdiGyXitT5zlHOAZCxMeCfMo1AmftMtZVMA5f9H+/9XR38U6a/aY1y/H5/qlu e0vEtm6uB3ZcMkQosz99PFw2e4QAKIIH8z6f17Xmx2H5sC+6O2tzbLIM+Tbwhqycc215 4prIXCVX2UNfJV1+ICM8DVxu5v9mnsa5+4hTicquwhG0mtTvbTCXgF3L52gXm7cFwSww UpDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:feedback-id:mime-version:auto-submitted :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=ST/7ugI7sufBE5+qoyeMu9SnPJ1Ie7zszs0MCX1O0Do=; b=PV+/aI/tGOLexXS3JHkO6WLJZtSOTktEXFQqDR0+QIOvmJwbRor90vJIQs6w346BCD DgeF8YxGBblxuUCcYMFfEMnAqP9zVMvlsbtZTpAqY0vQE3P1MZ4VoI5/r9vHvnXJxQNt pIdxjyvFlzDkZlI0VPayxHso0O/ZMtIcOPdgMEzxFUizHUyYZaC2SaLJrXKcN1U803VP VtbWe37+Q/Jz661sGPP5rBJsSgVonySNG/H3GJ93L5BtcTSv4UKg/BM6ur356SGHJMzQ r6KTyAfJRh7HnEAP/TzJ+THcd+++C18fDJhcwQNsmFwoEFwXu64y/9fI6GjaqENS1XeA 8Q2w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id q15si624566qtg.158.2018.03.13.00.05.18; Tue, 13 Mar 2018 00:05:19 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id DB46664037; Tue, 13 Mar 2018 07:05:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 2E43D64030; Tue, 13 Mar 2018 07:05:14 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 3028D64032; Tue, 13 Mar 2018 07:05:12 +0000 (UTC) Received: from a8-28.smtp-out.amazonses.com (a8-28.smtp-out.amazonses.com [54.240.8.28]) by lists.linaro.org (Postfix) with ESMTPS id 2276D6402A for ; Tue, 13 Mar 2018 07:05:11 +0000 (UTC) From: bugzilla-daemon@bugs.linaro.org To: lng-odp@lists.linaro.org Date: Tue, 13 Mar 2018 07:05:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: OpenDataPlane - linux- generic reference X-Bugzilla-Component: Packet IO X-Bugzilla-Version: master X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: matias.elo@linaro.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: High X-Bugzilla-Assigned-To: matias.elo@linaro.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <010001621e2d570a-9dbbd3f1-0755-42a1-90cf-a70d852eb079-000000@email.amazonses.com> In-Reply-To: References: X-Bugzilla-URL: https://bugs.linaro.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SES-Outgoing: 2018.03.13-54.240.8.28 Feedback-ID: 1.us-east-1.Y2eXJruXwxqfBntQfC4/6O4zDrCY0XKEghZ/yI2DADM=:AmazonSES X-Content-Filtered-By: Mailman/MimeDel 2.1.16 Subject: [lng-odp] [Bug 3657] PktIO does not work with Mellanox Interfaces X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" https://bugs.linaro.org/show_bug.cgi?id=3657 --- Comment #4 from Matias Elo --- Hi, The Mellanox PMD drivers (mlx5) have received quite a few fixes since DPDK v17.08. I would suggest trying DPDK v17.11 as we are moving to that version soon anyway. I tested some Mellanox NICs in our lab (ConnectX-4 Lx) and they work properly with odp-linux using DPDK v17.11 and Mellanox OFED 4.2 (MLNX_OFED_LINUX-4.2-1.2.0.0-ubuntu17.10-x86_64). The following patch was required to add the necessary libraries. Regards, Matias -- You are receiving this mail because: You are on the CC list for the bug. diff --git a/m4/odp_dpdk.m4 b/m4/odp_dpdk.m4 index 0050fc4b..b144b23d 100644 --- a/m4/odp_dpdk.m4 +++ b/m4/odp_dpdk.m4 @@ -9,6 +9,7 @@ cur_driver=`basename "$filename" .a | sed -e 's/^lib//'` AS_VAR_APPEND([DPDK_PMDS], [-l$cur_driver,]) AS_CASE([$cur_driver], [rte_pmd_nfp], [AS_VAR_APPEND([DPDK_LIBS], [" -lm"])], + [rte_pmd_mlx5], [AS_VAR_APPEND([DPDK_LIBS], [" -libverbs -lmlx5"])], [rte_pmd_pcap], [AS_VAR_APPEND([DPDK_LIBS], [" -lpcap"])], [rte_pmd_openssl], [AS_VAR_APPEND([DPDK_LIBS], [" -lcrypto"])]) done