From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by dpdk.org (Postfix) with ESMTP id 6D69DDED for ; Mon, 30 Apr 2018 16:08:05 +0200 (CEST) Received: by mail-wr0-f196.google.com with SMTP id o4-v6so8172266wrm.0 for ; Mon, 30 Apr 2018 07:08:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=orQiMR+EAdn72LycYbAQUWuTFa8eOuzHfsDzW92meNg=; b=A4nKnHy/x0QNYLBz0FuojV8ZpTGNilPwp6Fkefk3NV/yJqhjiyuIjrES+lgEngH+rv szdLvRF5WzEveNozDi3ncixSPXVt/28ElZDnos+qIuwI/Uxs9LAKEDB9qJXQ2vpw/zHs 1A7QHh/sIZX89uRXJ2mhEDXVEkM9WK7SaRR5CqeDn1o/xFIWinZBqv5tzr6dLJRJ170D 6019VSdgqJ3dHxDBVETjsHQOen9XnxSExK9UdYjD3GqkuOuro/WfiJIdgmUBC5PHSjXg D6mc3QN60yjD9/xz2Nw8ToIcFWxcmnHVoG9LoLItcP2pbpfi1g2UGfqsZ10GNTRYrKVk Ifcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=orQiMR+EAdn72LycYbAQUWuTFa8eOuzHfsDzW92meNg=; b=A363sTPYP1iZdkjjQ8mX8ZPFyjDKwUidL6wf57oNGpd6h0u6YRou1VK+W5NRFUsqE6 kra72wzQ2ABsaEXy6sJdBSqFkw7CBmzgZVNeZ7qyfevBfEuO3PvvqtuEw9u9eW0NfIhL usyYEmeXWuory3Khd5UNlKLFHSi6opF0MXxUCaEua8zjlWCZuZIqThCQQTsbDFzbFgOq 8A61FPLJIGHeJbQCz/X86B5lDGL7K2s75i+k9VPmugE7qpJ61cZVCd6YvYSo/zTBPaCl ARzoTblbByd13r3zmM5ZUNWak7JXQ5AJ5u+qLMRRQE4NDkDKCWlFA/9jsib/A8iL4prY jT1g== X-Gm-Message-State: ALQs6tCgvHAo4UUDBJvm3L4o+++Iyu2t1KuZZMCrF/GLLBjwExOxQ0Vk KUlFxhD9k8V2HQ5onY4Usfw= X-Google-Smtp-Source: AB8JxZr7qXz6N+mdcm1/mHJ3Uy3Rdws+JM2FDwBPSOlgu/eYfIPxSit7v9wyRVx7+IUxyg04yJoOJA== X-Received: by 2002:adf:b685:: with SMTP id j5-v6mr9399329wre.10.1525097285186; Mon, 30 Apr 2018 07:08:05 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id e7-v6sm7753003wrn.88.2018.04.30.07.08.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:08:04 -0700 (PDT) From: luca.boccassi@gmail.com To: Yongseok Koh Cc: Adrien Mazarguil , dpdk stable Date: Mon, 30 Apr 2018 15:03:42 +0100 Message-Id: <20180430140606.4615-64-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430140606.4615-1-luca.boccassi@gmail.com> References: <20180430140606.4615-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/mlx5: fix ARM build' has been queued to stable release 18.02.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2018 14:08:05 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From bd62e9b6ef7612dcb75120baa344b78f2b5cddc0 Mon Sep 17 00:00:00 2001 From: Yongseok Koh Date: Wed, 14 Mar 2018 10:51:48 -0700 Subject: [PATCH] net/mlx5: fix ARM build [ upstream commit 264713ba1025e18436433a00fb14da8fc3f27101 ] rdma-core v16 has a bug. The following compilation error occurs on ARM hosts. In file included from drivers/net/mlx5/mlx5_glue.h:16:0, from drivers/net/mlx5/mlx5_glue.c:11: /usr/include/infiniband/mlx5dv.h:144:2: error: unknown type name 'off_t' off_t uar_mmap_offset; ^ As a temporary fix, sys/types.h is included in PMD. This has been fixed in rdma-core v17. This can be removed when all the Linux distros are shipped with rdma-core v17 or back-ported fix. As of now, RedHat 7.5 is known to have rdma-core v16. Signed-off-by: Yongseok Koh Acked-by: Adrien Mazarguil --- drivers/net/mlx5/mlx5_glue.c | 6 ++++++ drivers/net/mlx5/mlx5_vlan.c | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/drivers/net/mlx5/mlx5_glue.c b/drivers/net/mlx5/mlx5_glue.c index 1c4396ada..be684d378 100644 --- a/drivers/net/mlx5/mlx5_glue.c +++ b/drivers/net/mlx5/mlx5_glue.c @@ -7,6 +7,12 @@ #include #include +/* + * Not needed by this file; included to work around the lack of off_t + * definition for mlx5dv.h with unpatched rdma-core versions. + */ +#include + /* Verbs headers do not support -pedantic. */ #ifdef PEDANTIC #pragma GCC diagnostic ignored "-Wpedantic" diff --git a/drivers/net/mlx5/mlx5_vlan.c b/drivers/net/mlx5/mlx5_vlan.c index 75c345626..20a70e30f 100644 --- a/drivers/net/mlx5/mlx5_vlan.c +++ b/drivers/net/mlx5/mlx5_vlan.c @@ -8,6 +8,12 @@ #include #include +/* + * Not needed by this file; included to work around the lack of off_t + * definition for mlx5dv.h with unpatched rdma-core versions. + */ +#include + /* Verbs headers do not support -pedantic. */ #ifdef PEDANTIC #pragma GCC diagnostic ignored "-Wpedantic" -- 2.14.2