From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id E03FD7D30 for ; Thu, 4 Jan 2018 09:49:51 +0100 (CET) Received: by mail-wm0-f66.google.com with SMTP id b141so2040538wme.1 for ; Thu, 04 Jan 2018 00:49:51 -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:content-transfer-encoding:in-reply-to :user-agent; bh=9Y5MuRXDiaPei1Hms1UHAau0/zVv0lsmFnkU3gEgM8Q=; b=0uuzhrfAVskl7zhIwA50dTCvV1jpvhZ4X7DTMKA+HaCiGJmZ8rf8KVUHlKwxGXRjm7 1W0PpaJO+M9h6XdMAjzE8N5NvAlnp/Z70n2ZfzOKGkHfLrzYoKgidfaiJBjPXFhknxlj TX2icXc+0k3ZPJiYhiPOiUKh4lGcDysdnOxt9DHVMs538QbHFvVAfj62AXI1NycQPhoO jYl7km+76pCIQGWY55WN/UQu/8KaopijFdj4b0MLTcBHOFWMKw7ccdb4jp/d0Kaspns8 ok66/IOGc0XVsKthbFClTuMu3zCNYYWB1ef3AMt583WX9G9CQ8YSET2BhdP7dUhR+Sh0 NsiQ== 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:content-transfer-encoding :in-reply-to:user-agent; bh=9Y5MuRXDiaPei1Hms1UHAau0/zVv0lsmFnkU3gEgM8Q=; b=f/3qbKeTQijvqNYdPhNcvUE3x5iRVD85skWtlKbQdOryIXo+oSauK8sEHIo7qrWlt/ f/kczZjFQ2qKKocWsRKXvfGxAVJ9HI094D2tIrS88M28vnsbCDDymfHt7ZwnYfX+Qd60 UrCjcgqaOB+McdI7IfDP5Y8uxG8M+R0e8nCA89SsTeCMdFHQUCOhERVLA6hfPAtnPA6x LwwRdDyeVzu0a9mFJO7qaXSplUoxNF7QMGXaI4KW++K5SO+0gN0VPbEwyW4i+XDmlDAC NRiTA/70LrItDLBEm5alzpPP5HcezSzJXpHo8xBx7vGs7zPaRi7uttUp1lX4QES024ra Wf3g== X-Gm-Message-State: AKGB3mLkTMI4BRTaV9w/zXrR89bx6fyhFgi3h5cMw8YYLvvlWbYokfdR oXzSZaql/3G5nHG6CR9cmz94 X-Google-Smtp-Source: ACJfBos7XIyzbYbg/soXiVB1qC1fTkXhyRRgf2K160CBq69yLPWanos5hurhgHtCi69lAsU/hf7krA== X-Received: by 10.80.181.49 with SMTP id y46mr6220954edd.29.1515055791560; Thu, 04 Jan 2018 00:49:51 -0800 (PST) Received: from laranjeiro-vm.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id w13sm1643138eda.63.2018.01.04.00.49.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Jan 2018 00:49:51 -0800 (PST) Date: Thu, 4 Jan 2018 09:49:06 +0100 From: Nelio Laranjeiro To: Stephen Hemminger Cc: adrien.mazarguil@6wind.com, yskoh@mellanox.com, dev@dpdk.org, Shahaf Shuler Message-ID: <20180104084906.f2vb4hkj4edfzk7w@laranjeiro-vm.dev.6wind.com> References: <20180102205310.3586-1-stephen@networkplumber.org> <20180103102553.e2pa5qxtxlqwchj2@laranjeiro-vm.dev.6wind.com> <20180103072111.14feebb4@xeon-e3> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180103072111.14feebb4@xeon-e3> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH 0/2] mlx5: remove dependency on kernel version 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, 04 Jan 2018 08:49:52 -0000 On Wed, Jan 03, 2018 at 07:21:11AM -0800, Stephen Hemminger wrote: > On Wed, 3 Jan 2018 11:25:53 +0100 > Nelio Laranjeiro wrote: > > > On Tue, Jan 02, 2018 at 12:53:08PM -0800, Stephen Hemminger wrote: > > > Trying to eliminate all runtime calls to look at kernel version > > > to determine API because they are source of portablity problems > > > in distributions. > > > > > > Stephen Hemminger (2): > > > mlx5: don't pass unused argument to sub-functions > > > mlx5: don't depend on kernel version > > > > > > drivers/net/mlx5/mlx5_ethdev.c | 118 +++++++++++++++++------------------------ > > > 1 file changed, 48 insertions(+), 70 deletions(-) > > > > > > -- > > > 2.15.1 > > > > Hi Stephen, > > > > Thinking about one point, this PMD is able to work on current > > distribution releases using large version of kernels. This code was > > handling two points: > > > > 1. Compiling against a kernel before v4.5 is possible. As this > > situation is supported by MLNX_OFED it should remain. > > > > 2. Between v4.5 up to v4.9 the new link status API is buggee causing a > > wrong status. This was the main reason why the kernel version was > > verified. > > The problem is that enterprise distributions backport without > changing kernel version. We don't have any guarantee that all patches have been backported, that's the main reason why we use the kernel version. -- Nélio Laranjeiro 6WIND