On Tue, May 19, 2015 at 03:39:27AM -0700, Jeff Kirsher wrote:
> On Tue, 2015-05-19 at 10:23 +0200, Arthur Gautier wrote:
> > 
> > Dear e1000 maintainers,
> > 
> > I had trouble compiling i40e for linux 4.0 branch, I couldn't find any
> > official git repository or "master" branch including fixes for linux
> > 4.0.
> > So I've made my own set of patches and I wanted to share them.
> > 
> > Please find attached a set of patches I used to port the i40e drivers
> > to linux 4.0.
> > 
> >  src/i40e/i40e_main.c | 2 +-
> >  src/i40e/i40e_txrx.c | 4 ++--
> >  src/i40e/kcompat.h   | 8 ++++++++
> >  3 files changed, 11 insertions(+), 3 deletions(-)
> 
> I have two git trees on kernel.org for any patches for the in-kernel
> driver changes, which i40e is already a part of the 4.0 kernel.  We do
> not have a "external" git tree for our out-of-tree driver which your
> patches seem to be against.
> 
> For reference here are my two trees on kernel.org:
> git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-queue.git
> git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git
> 
> The in-kernel driver for the 4.0 kernel is already up-to-date and is
> most likely "ahead" of the out-of-tree driver that you are trying to
> use, so you should be using the i40e driver that already exists in the
> 4.0 kernel.
> 
> Since the 4.0 kernel was released after our last driver release, it is
> expected to not have the necessary kcompat changes for 4.0 yet, but any
> future out-of-tree driver release should have the necessary kcompat
> changes to compile the out-of-tree driver.
> 
> So in short, you should be using the in-kernel driver currently until
> our next out-of-tree driver release.

It looks like the 4.0 kernel version of i40e doesn't support card flashing
using nvmupdate64e utility. As far as I understand, this tool needs the
out-of-tree driver.
The only purpose of my patches was to flash the i40e cards while running
linux 4.0.

-- 
\o/ Arthur
 G  Gandi.net

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to