From patchwork Fri Feb 2 15:16:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrien Mazarguil X-Patchwork-Id: 34893 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2CB431B196; Fri, 2 Feb 2018 16:16:52 +0100 (CET) Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id 9193D1B161 for ; Fri, 2 Feb 2018 16:16:50 +0100 (CET) Received: by mail-wm0-f66.google.com with SMTP id f3so13121966wmc.1 for ; Fri, 02 Feb 2018 07:16:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ZfhtuHOD8Ge0OBZwayUcnLGik2TA5/z+JBPr3rvNmMg=; b=QxULqJazQu+q++Q7YuXApxlpOKKkXKMYtMTrwbHhsrbl8e+0gF8+8Fr4qc6Rx5soJ+ cj9uWsP3lBVlktSjCZpVf8SAmU09smFHHj5JONprIaIHIFsGq+Xr/mQEjHtPqEt1vkTY N6TKOH4tJzh9ltjLol8Q5unGEtaQGiirJQMqHq5OBW/sbBGXUNb339xFAAGFQXykfHxP Fl757tk+2WacDP+pAGpacRhnkery867XhqOB5tvFPlc2HthFuB6NjC5bCBSSagQp5p1c qCDKUsTAqOyOGMbIacyOl6YaNX1UX15eMb51i5Pim1jNB0Sgy0RUmLp455mvkSKv/ZuM ZMVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ZfhtuHOD8Ge0OBZwayUcnLGik2TA5/z+JBPr3rvNmMg=; b=N8Lv5MEd8VzxqCyvr8yma7R7IpB6QTtoyrnPy8iOviasB2aoN38I2Uxmpbq6HMdGWy Y+Lcf+eSr8mokVu2yRi2/mfsg9RF+GKYAk6Ifp3AxJhySir5YMBPDBNMLktX+UGEQGWZ NUslefzRiWcWr1NE0Y+MfLYZRK3DyYsIkVUeN44dCeo5wCF1gHAyjyhWlvNYONupkl1M vzZIqVeQiAuUVYZDoMiP6778E7w6iCk14Bo3o+5URZothenRKjEk1o6laWNKqVcUT2kb kXCa8eiKg5FO5JrP678LouKDWw3vw0x+jxTOl751poq9TCN0J/cgZFAdcwOs1TDinmo4 G+0g== X-Gm-Message-State: AKwxytdnAcuQQ5atfO1mVhT6GCLaGwRDpz/P7khsPKH3HM7jMFwegs+E Juvx6B9LuSEUBQIxuo/sEybiuQ== X-Google-Smtp-Source: AH8x226mnKPns4IFltMVAB/7+3ODtGqaLlb6iNLlK/cknzLA+E9td0/L/WJBStCfjhE9eixfGTjKAg== X-Received: by 10.80.244.154 with SMTP id s26mr67873358edm.17.1517584610316; Fri, 02 Feb 2018 07:16:50 -0800 (PST) Received: from 6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id e40sm2281210ede.21.2018.02.02.07.16.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Feb 2018 07:16:49 -0800 (PST) Date: Fri, 2 Feb 2018 16:16:37 +0100 From: Adrien Mazarguil To: Shahaf Shuler Cc: Nelio Laranjeiro , dev@dpdk.org, Marcelo Ricardo Leitner Message-ID: <20180202144736.8239-3-adrien.mazarguil@6wind.com> References: <20180202144736.8239-1-adrien.mazarguil@6wind.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180202144736.8239-1-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH v1 2/4] net/mlx: fix missing includes for rdma-core glue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" For consistency since these includes are already pulled by others. Fixes: 6aca97d310 ("net/mlx4: move rdma-core calls to separate file") Fixes: 7202118686 ("net/mlx5: move rdma-core calls to separate file") Signed-off-by: Adrien Mazarguil --- drivers/net/mlx4/mlx4_glue.c | 3 +++ drivers/net/mlx4/mlx4_glue.h | 3 +++ drivers/net/mlx5/mlx5_glue.h | 1 + 3 files changed, 7 insertions(+) diff --git a/drivers/net/mlx4/mlx4_glue.c b/drivers/net/mlx4/mlx4_glue.c index 30797bd2b..47ae7ad0f 100644 --- a/drivers/net/mlx4/mlx4_glue.c +++ b/drivers/net/mlx4/mlx4_glue.c @@ -3,6 +3,9 @@ * Copyright 2018 Mellanox */ +#include +#include + /* Verbs headers do not support -pedantic. */ #ifdef PEDANTIC #pragma GCC diagnostic ignored "-Wpedantic" diff --git a/drivers/net/mlx4/mlx4_glue.h b/drivers/net/mlx4/mlx4_glue.h index 0623511f2..de251c622 100644 --- a/drivers/net/mlx4/mlx4_glue.h +++ b/drivers/net/mlx4/mlx4_glue.h @@ -6,6 +6,9 @@ #ifndef MLX4_GLUE_H_ #define MLX4_GLUE_H_ +#include +#include + /* Verbs headers do not support -pedantic. */ #ifdef PEDANTIC #pragma GCC diagnostic ignored "-Wpedantic" diff --git a/drivers/net/mlx5/mlx5_glue.h b/drivers/net/mlx5/mlx5_glue.h index 6afb629ff..7fed302ba 100644 --- a/drivers/net/mlx5/mlx5_glue.h +++ b/drivers/net/mlx5/mlx5_glue.h @@ -6,6 +6,7 @@ #ifndef MLX5_GLUE_H_ #define MLX5_GLUE_H_ +#include #include /* Verbs headers do not support -pedantic. */