From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id DE920FA40; Thu, 9 Feb 2017 15:45:31 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP; 09 Feb 2017 06:45:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,349,1484035200"; d="scan'208";a="223274090" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.137]) ([10.237.220.137]) by fmsmga004.fm.intel.com with ESMTP; 09 Feb 2017 06:45:29 -0800 To: Shahaf Shuler , adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com References: <1485863129-6326-1-git-send-email-shahafs@mellanox.com> <1486643394-41913-1-git-send-email-shahafs@mellanox.com> Cc: dev@dpdk.org, stable@dpdk.org From: Ferruh Yigit Message-ID: <1be8289f-f659-ff71-f987-d249b8ebe691@intel.com> Date: Thu, 9 Feb 2017 14:45:28 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <1486643394-41913-1-git-send-email-shahafs@mellanox.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v3] net/mlx5: fix link status query 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: , X-List-Received-Date: Thu, 09 Feb 2017 14:45:32 -0000 On 2/9/2017 12:29 PM, Shahaf Shuler wrote: > Trying to query the link status through the new ETHTOOL_GLINKSETTINGS > ioctl available since Linux 4.5 was always failing due to a kernel bug > fixed since version 4.9. > > This commit also addresses a common issue where the headers version used > at compile time differs from that of the kernel on the target system, by > always defining missing symbols and moving the kernel version check at run > time. > > Fixes: 188408719888 ("net/mlx5: fix support for newer link speeds") > CC: stable@dpdk.org > > Signed-off-by: Shahaf Shuler > Acked-by: Adrien Mazarguil Applied to dpdk-next-net/master, thanks.