From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 23AEEA04FA; Mon, 3 Feb 2020 12:42:23 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5B4A01BFC1; Mon, 3 Feb 2020 12:42:22 +0100 (CET) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50069.outbound.protection.outlook.com [40.107.5.69]) by dpdk.org (Postfix) with ESMTP id A99AA1BFB6 for ; Mon, 3 Feb 2020 12:42:20 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mz+ycbPK+s4MBpMBPZ9FPJ7wZc67KpWXvrKw+MJAuJzsBsi1l4Vrr3ID+Tn8Lcm5EJqLvWGjiGYcm8i9qd1Dt9GGYi3TfiJ0BewYZQ+fjiNzLsLDhoLdSMxupYPZC6QbVzAo51sbv5atV7NKinzkFbo/orFIbwvfdqVJF5zoJxeLLei1j0g6MTBym1wVyuKzLbvqwoxYX91WQPBu0bpaLX8WP3onjDajXQwvSSzW3VgRp75GhYkDBTcvQ/bhsAa8yxVwJTwLK+bwl6EbyY2bJAmA0pOf22GVxYTGHj3WLMsgIUh6bIuX+bm3VCUksfMrRdFycDUK48OpdpRxEz4rgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=38v4ymR5uXCWUMbLK7eJVPpVacHJJyyEQm0DP9pj40Y=; b=dRNUGtFLjt6k62EB6s4/4JMIzxp1UyR3jC6tvVZhBg+D+6eu7indRUFdzI9SifHCEuAjG2LXTLmn7wcmgf0bSNYUAqamybQ6EddL3arnMgMrosvOaQP97PnSs3Edxuzr92OnNB/bE1ZJ/YUu7apd3CZAMW7daU+f7s8ffA8iwzJGk46Uu7xoeJCiYVmbU01bYzc032a3dLBH9xHzjKVvLWU5zMZ8Qh2NdlWYt3n2RNmeEkgXrWY1ywER4ulmQVGtxh3SQFbkBSVYeXAMp1bXFOytuRHOlyf5QKhbox6bXzTaXQIzonkGS6UVlvBG9WmxiUuNOVI9h1wI1bDWYNwHDg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none 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:X-MS-Exchange-SenderADCheck; bh=38v4ymR5uXCWUMbLK7eJVPpVacHJJyyEQm0DP9pj40Y=; b=QHffnQyQN4fAYTgZ0s8eBxLQaAfCpkHq3L6emLk/yagmxRdwPdbceb9LVtvfTgYOT5tGM4e3q4kv5qBOBpakwsLM4LPNaCwWaTcE1yP4G3YSnYnL0OUeX+u/E/r8zt741jDwXxdqOzhhzddmbKJGYXQqrVG2rdTNxIIRr+Dt22c= Received: from AM4PR05MB3265.eurprd05.prod.outlook.com (10.171.188.154) by AM4PR05MB3233.eurprd05.prod.outlook.com (10.171.188.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2686.30; Mon, 3 Feb 2020 11:42:17 +0000 Received: from AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::68eb:ad79:71f4:110f]) by AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::68eb:ad79:71f4:110f%3]) with mapi id 15.20.2686.031; Mon, 3 Feb 2020 11:42:17 +0000 From: Slava Ovsiienko To: Matan Azrad CC: "dev@dpdk.org" Thread-Topic: [PATCH] common/mlx5: redefine Netlink include Thread-Index: AQHV2eG6l3sVGU1cVU2mJmo+baavh6gJWhyQ Date: Mon, 3 Feb 2020 11:42:17 +0000 Message-ID: References: <1580659153-25436-1-git-send-email-matan@mellanox.com> In-Reply-To: <1580659153-25436-1-git-send-email-matan@mellanox.com> 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=viacheslavo@mellanox.com; x-originating-ip: [95.164.10.10] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: f025f380-c4a4-4db8-717a-08d7a89e1f2d x-ms-traffictypediagnostic: AM4PR05MB3233:|AM4PR05MB3233: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0302D4F392 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(136003)(366004)(396003)(376002)(39860400002)(189003)(199004)(7696005)(5660300002)(76116006)(86362001)(2906002)(6506007)(186003)(53546011)(52536014)(26005)(4326008)(6862004)(64756008)(66556008)(66476007)(66446008)(8676002)(81156014)(66946007)(8936002)(81166006)(6636002)(316002)(33656002)(55016002)(71200400001)(9686003)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR05MB3233; H:AM4PR05MB3265.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:3; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: fa1TwdOvKLQ4klML2W37mfKxp/yXkYPEXLD77eRmJc3qPIxsLqHIJLHHKsUsK/JQbjF5M3pHnwMvVDQIbWGG+1KyBqy8ZUYK046QOjuKQpXdknUrZz2jxdwPxiac2XLmEpXZ/xThkxJZwuwWaviL5EgOqCHuQP+TN9Nzi6qF4xgM1K/lTbF6EEyXtWlpukotT97GE3nF8e1DfWYPmtK/0RrY0q7EfxTPGWe0yK+wDvL87zSkWg+/v2przKMtznwNL9oyOUc4b260S3KFMmZOXQfNoCD/fWCdxzMT/oC8sRQh/upTic4WG17YweXHDa2e38NO0fY5hmTzTsN8/Hg/9mS8n9EoKrACBYWW5dtRoQ4JfRi4BfxZegyYAkHVsYHdRFRgmjCSQ/o0UHC4SRsgxY5wIRWZlvYciIdkwVsdPmE9FI94KMz+JlAwRaQD7/iR x-ms-exchange-antispam-messagedata: Fmoe0LLK4H4sxZUIse/9kwdUCF5T+hFTFRvm5nlRPCihVSdg1ESkuJ9ZGJxuKG7AIro/pdrVgJ0Mvy8cn1J/wPWthMTZgifaJzhHhYhBB49eeSBfyaEnJQ52aAaRHs2WuKQDKdMc9i7f2JbHqpRKGQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: f025f380-c4a4-4db8-717a-08d7a89e1f2d X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Feb 2020 11:42:17.6426 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 3RmurvrAhesjL2p30HuK7PbScmrBScjRctMIatBHfKeOwMu4ziRDAh9Nyu1+blj+EFzQKKkqKugmC0wj/uIvZYwiE1pNrW+6tNGX1c/6uTM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB3233 Subject: Re: [dpdk-dev] [PATCH] common/mlx5: redefine Netlink include 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" > -----Original Message----- > From: Matan Azrad > Sent: Sunday, February 2, 2020 17:59 > To: Slava Ovsiienko > Cc: dev@dpdk.org > Subject: [PATCH] common/mlx5: redefine Netlink include >=20 > The new RDMA-CORE versions may have the same sub-path to include the > linux Netlink header file. >=20 > It uses the pre-proccessor command #include_next what breaks the PMD gcc > compilation of common/mlx5_netlink.h file in debug mode. >=20 > Use specific include for linux/netlink.h to be taken from /usr/include/li= nux. >=20 > Signed-off-by: Matan Azrad Acked-by: Viacheslav Ovsiienko > --- > drivers/common/mlx5/mlx5_nl.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/common/mlx5/mlx5_nl.h > b/drivers/common/mlx5/mlx5_nl.h index 2c3f837..ebaa655 100644 > --- a/drivers/common/mlx5/mlx5_nl.h > +++ b/drivers/common/mlx5/mlx5_nl.h > @@ -5,7 +5,7 @@ > #ifndef RTE_PMD_MLX5_NL_H_ > #define RTE_PMD_MLX5_NL_H_ >=20 > -#include > +#include "/usr/include/linux/netlink.h" >=20 > #include >=20 > -- > 1.8.3.1