10Gbit driver (ixgbe) with NAPI support

chris_lee

Active Member
Dec 18, 2012
38
2
28
I was wondering wether someone managed to build ixgbe drivers for the current Proxmox 4.4.
When I try to build the driver, I get an error:

Code:
make[1]: Entering directory '/usr/src/linux-headers-4.4.62-1-pve'
  CC [M]  /root/ixgbe/ixgbe-5.1.3/src/ixgbe_main.o
In file included from /root/ixgbe/ixgbe-5.1.3/src/ixgbe_osdep.h:38:0,
                 from /root/ixgbe/ixgbe-5.1.3/src/ixgbe_type.h:66,
                 from /root/ixgbe/ixgbe-5.1.3/src/ixgbe_dcb.h:28,
                 from /root/ixgbe/ixgbe-5.1.3/src/ixgbe.h:45,
                 from /root/ixgbe/ixgbe-5.1.3/src/ixgbe_main.c:52:
/root/ixgbe/ixgbe-5.1.3/src/kcompat.h:5386:20: error: static declaration of ‘napi_consume_skb’ follows non-static declaration
 static inline void napi_consume_skb(struct sk_buff *skb,
                    ^
In file included from include/linux/if_ether.h:23:0,
                 from include/uapi/linux/ethtool.h:17,
                 from include/linux/ethtool.h:17,
                 from include/linux/netdevice.h:42,
                 from /root/ixgbe/ixgbe-5.1.3/src/ixgbe_main.c:31:
include/linux/skbuff.h:2343:6: note: previous declaration of ‘napi_consume_skb’ was here
 void napi_consume_skb(struct sk_buff *skb, int budget);
      ^
scripts/Makefile.build:258: recipe for target '/root/ixgbe/ixgbe-5.1.3/src/ixgbe_main.o' failed
make[2]: *** [/root/ixgbe/ixgbe-5.1.3/src/ixgbe_main.o] Error 1
Makefile:1420: recipe for target '_module_/root/ixgbe/ixgbe-5.1.3/src' failed
make[1]: *** [_module_/root/ixgbe/ixgbe-5.1.3/src] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.62-1-pve'
Makefile:107: recipe for target 'default' failed
make: *** [default] Error 2

I was using ixgbe-5.1.3 on proxmox 4.4.62-1.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!