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)

Latest Comments

« First ‹ Previous 1 2 3 4 5

vmaffione commented on 2014-08-18 18:05 (UTC)

Hello, Thanks for that, your fix is ok with (relatively) older kernels. The problem you are having had already been reported and fixed, but we have not published it yet to the public repository - at least not in the master branch. I'll be posting a message here when the fix will land into the master branch, so that if you reinstall the AUR package you will get it. Cheers, Vincenzo

Baggio commented on 2014-08-18 09:44 (UTC)

This seems fixed the problem I discovered earlier, but not sure if it is compatable with older kernel, HTH. --- sys/dev/netmap/netmap_kern.h.bak 2014-08-18 17:40:02.072733330 +0800 +++ sys/dev/netmap/netmap_kern.h 2014-08-18 17:40:46.040731481 +0800 @@ -789,7 +789,7 @@ nm_set_native_flags(struct netmap_adapte na->if_transmit = (void *)ifp->netdev_ops; ifp->netdev_ops = &((struct netmap_hw_adapter *)na)->nm_ndo; ((struct netmap_hw_adapter *)na)->save_ethtool = ifp->ethtool_ops; - SET_ETHTOOL_OPS(ifp, &((struct netmap_hw_adapter*)na)->nm_eto); + ifp->ethtool_ops = &((struct netmap_hw_adapter*)na)->nm_eto; #endif } @@ -803,7 +803,7 @@ nm_clear_native_flags(struct netmap_adap ifp->if_transmit = na->if_transmit; #else ifp->netdev_ops = (void *)na->if_transmit; - SET_ETHTOOL_OPS(ifp, ((struct netmap_hw_adapter*)na)->save_ethtool); + ifp->ethtool_ops = ((struct netmap_hw_adapter*)na)->save_ethtool; #endif na->na_flags &= ~(NAF_NATIVE_ON | NAF_NETMAP_ON); #ifdef IFCAP_NETMAP /* or FreeBSD ? */

Baggio commented on 2014-08-18 03:26 (UTC)

Sorry it's me again, I've recently upgraded to linux kernel 3.16 but it seems that SET_ETHTOOL_OPS (used in sys/dev/netmap/netmap_kern.h) have been removed in linux 3.16, How can I report it to the maintainers?

vmaffione commented on 2014-08-01 19:23 (UTC)

Hello Baggio, It's even greater to have netmap users from the Archlinux community. I hope this package will help the dissemination of netmap. I forgot to include the netmap headers, thanks for highlighting it. You can find a new release of the package (netmap 2.0-2) which contains the headers. Once installed you should be able to include them from a C program with the following directives: #include <net/netmap_user.h> #include <net/netmap.h> Thanks

Baggio commented on 2014-08-01 09:05 (UTC)

Hello, It's great to have the netmap framework ported to linux but I am not able to find the installed header files here is my output of "pacman -Qil netmap" netmap /lib/ netmap /lib/modules/ netmap /lib/modules/extramodules-3.15-ck/ netmap /lib/modules/extramodules-3.15-ck/netmap_lin.ko netmap /usr/ netmap /usr/bin/ netmap /usr/bin/pkt-gen netmap /usr/bin/vale-ctl netmap /usr/share/ netmap /usr/share/man/ netmap /usr/share/man/man4/ netmap /usr/share/man/man4/netmap.4.gz It seems that they are not installed, is there any way to get them installed as well? thanks