Skip to content

Latest commit

 

History

History
53 lines (44 loc) · 1.07 KB

NETMAP_INSTALL.md

File metadata and controls

53 lines (44 loc) · 1.07 KB

Build netmap on Debian 7 Wheezy with ixgbe 10GE NIC (82599):

If you want stable driver with all modern features, please use this reference instead here

Get kernel sources:

cd /usr/src
apt-get source  linux-image-3.2.0-4-amd64

Download netmap kernel module code:

cd /usr/src
git clone https://code.google.com/p/netmap/ 
cd netmap/LINUX/

Build netmap with drivers:

./configure --kernel-sources=/usr/src/linux-3.2.65 --drivers=ixgbe
make
make install

Load modules:

insmod ./netmap.ko
modprobe mdio
modprobe ptp
modprobe dca 
insmod ixgbe/ixgbe.ko

Enable interfaces:

ifconfig eth0 up
ifconfig eth0 promisc

Add to /etc/rc.local:

rmmod ixgbe
insmod /usr/src/netmap/LINUX/netmap.ko
modprobe mdio
modprobe ptp
modprobe dca 
insmod /usr/src/netmap/LINUX/ixgbe/ixgbe.ko
ifconfig eth0 up
ifconfig eth0 promisc

You could use this script for automatic install netmap with all required drivers: https://gist.github.com/pavel-odintsov/6353bfd3bfd7dba2d99a