mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-05-27 00:36:12 +02:00
Add netmap install manual
This commit is contained in:
parent
8c089ecc0b
commit
60ca15ce6c
|
@ -0,0 +1,40 @@
|
|||
Build netmap on Debian 7 Wheezy with ixgbe 10GE NIC (82599):
|
||||
|
||||
Get kernel sources:
|
||||
```bash
|
||||
cd /usr/src
|
||||
apt-get source linux-image-3.2.0-4-amd64
|
||||
```
|
||||
|
||||
Download netmap kernel module code:
|
||||
```bash
|
||||
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
|
||||
```
|
||||
|
||||
Add to /etc/rc.local:
|
||||
```bash
|
||||
rmmod ixgbe
|
||||
insmod /usr/src/netmap/LINUX/netmap.ko
|
||||
modprobe mdio
|
||||
modprobe ptp
|
||||
modprobe dca
|
||||
insmod /usr/src/netmap/LINUX/ixgbe/ixgbe.ko
|
||||
```
|
Loading…
Reference in New Issue