Package Details: netmap r3882.88ad54aa-3

Git Clone URL: https://aur.archlinux.org/netmap.git (read-only, click to copy)
Package Base: netmap
Description: A framework for high speed network packet I/O, using kernel bypass
Upstream URL: http://info.iet.unipi.it/~luigi/netmap
Licenses: BSD
Submitter: vmaffione
Maintainer: vmaffione
Last Packager: vmaffione
Votes: 7
Popularity: 0.000000
First Submitted: 2013-10-29 15:00 (UTC)
Last Updated: 2018-11-27 15:28 (UTC)

Dependencies (10)

Required by (0)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

vmaffione commented on 2015-09-29 08:50 (UTC)

Hi emctoo, Yes, we have switched to github and I forgot to update the PKGBUILD. Will do it before the end of the day. Thanks for the patch. Vincenzo

emctoo commented on 2015-09-29 08:47 (UTC)

It compiles with 4.2 kernel, with following patch: diff --git a/PKGBUILD b/PKGBUILD index e5ffeb6..214f035 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ # Maintainer: Vincenzo Maffione <v.maffione@gmail.com> pkgname=netmap -pkgver=3.18 +pkgver=4.2 pkgrel=1 pkgdesc="Netmap is a framework for high speed network packet I/O." arch=('any') @@ -22,7 +22,7 @@ source=("netmap.install") noextract=() md5sums=("047aa5adec4c52ddbf86d12dbf300f71") -_gitroot="https://v.maffione@code.google.com/p/netmap/" +_gitroot="https://github.com/luigirizzo/netmap" _gitname="netmap" build() { @@ -35,8 +35,6 @@ build() { else git clone "$_gitroot" "$_gitname" cd "$srcdir/$_gitname" - git branch next origin/next - git checkout next fi msg "GIT checkout done or server timeout"

vmaffione commented on 2015-01-22 20:31 (UTC)

Updated to work with 3.18 kernels. Unfortunately the upstream is still outdated, so it was not possible to compile the e1000 netmap adapter (as well as the virtio-net one). Please check if the makepkg process completes succesfully.

mrmonday commented on 2015-01-12 19:02 (UTC)

Seems to work now, thanks!

vmaffione commented on 2015-01-12 18:41 (UTC)

Yes, That problem has already been fixed but the fix is still to be pushed to the public netmap repository. Therefore I've modified the PKGBUILD to build netmap without virtio-net support, waiting for the public repository to be synchronized. Moreover, the PKGBUILD has been updated to make use of the new build infrastructure. I've released the 3-17 versionl, which should work fine. Can you please give it a try? Thanks, Vincenzo

mrmonday commented on 2015-01-12 16:08 (UTC)

This seems to be broken currently - it seems to fail while patching get-virtio_net.c. ---- ==> Sources are ready. ==> Kernel sources are ready ==> Starting to build netmap make -C /lib/modules/3.17.6-1-ARCH/build M=/home/robert/build/netmap/src/netmap/LINUX EXTRA_CFLAGS='-I/home/robert/build/netmap/src/netmap/LINUX -I/home/robert/build/netmap/src/netmap/LINUX -I/home/robert/build/netmap/src/netmap/LINUX/../sys -I/home/robert/build/netmap/src/netmap/LINUX/../sys/dev -DCONFIG_NETMAP -Wno-unused-but-set-variable -DCONFIG_NETMAP_GENERIC -DCONFIG_NETMAP_MONITOR -DCONFIG_NETMAP_PIPE -DCONFIG_NETMAP_VALE' modules CONFIG_NETMAP=m make[1]: Entering directory '/usr/lib/modules/3.17.6-1-ARCH/build' Building modules, stage 2. MODPOST 1 modules make[1]: Leaving directory '/usr/lib/modules/3.17.6-1-ARCH/build' cp -Rp /home/robert/build/netmap/src/abs/core/linux/src/linux-3.17/drivers/net/virtio_net.c . if [ -f patches/diff--virtio_net.c--30b00--99999 ]; then patch --posix --quiet --force -p1 < patches/diff--virtio_net.c--30b00--99999; fi 1 out of 7 hunks FAILED -- saving rejects to file virtio_net.c.rej drivers.mak:54: recipe for target 'get-virtio_net.c' failed make: *** [get-virtio_net.c] Error 1 ==> ERROR: A failure occurred in build(). Aborting... ----

vmaffione commented on 2014-08-22 10:09 (UTC)

Hello, You can do it, but pay attention to (manually) select the right patch version range for each NIC driver. The netmap build system does this choice automatically, so you can look at the makepkg output to grab hints on the right patch versions for your running kernel. Consider that the point of this AUR package is to spare the user the compilation of a custom kernel, while still benefiting from the netmap-enabled drivers - e.g. the full power of netmap. Of course if you want the netmap-enabled drivers statically built in the kernel image you need to compile a custom kernel. By the way, you can use your custom kernel while still having the netmap AUR package installed, without any conflicts, since when running your custom kernel the modules installed by the netmap package will not be seen by modprobe. To compile netmap without building modules, just replace make SRC=$(KERNEL_SOURCE_DIRECTORIES) with make NODRIVERS=1 in the PKGBUILD. Cheers, Vincenzo

Baggio commented on 2014-08-22 09:11 (UTC)

Hello, It worked now, great thanks! One more Question, Can I just take the patches from git and apply them myself when I compile my own kernel, and remove the module building part from PKGBUILD file of this package, so that the kernel module with netmap enabled can live in the kernel statically? Cheers, /Baggio/

vmaffione commented on 2014-08-21 17:54 (UTC)

Hello, New version available, now tracking the kernel versions used by the official linux package. As a big enhancement, the new PKGBUILD also builds and install the netmap-enabled NIC drivers, which are necessary to fully take advantage of netmap - namely to reach 14.88 Mpps with 10Gbit NICs and one processor core. The compilation problems reported for linux-3.16 should now be gone.