#
f933b737 |
| 25-May-2019 |
Sascha Wildner <saw@online.de> |
kernel/netmap: Move headers into <net/netmap/...>.
Note that netmap isn't hooked into the build right now, and because of that, this commit results in removing them from their current location.
Som
kernel/netmap: Move headers into <net/netmap/...>.
Note that netmap isn't hooked into the build right now, and because of that, this commit results in removing them from their current location.
Some dports like net/libpcap started breaking after 2c68437386f4be2ed45a4 because configure found a building netmap_user.h and decided that we have a current and usable netmap.
Reported-by: zrj
show more ...
|
#
b5523eac |
| 19-Feb-2015 |
Sascha Wildner <saw@online.de> |
kernel: Move us to using M_NOWAIT and M_WAITOK for mbuf functions.
The main reason is that our having to use the MB_WAIT and MB_DONTWAIT flags was a recurring issue when porting drivers from FreeBSD
kernel: Move us to using M_NOWAIT and M_WAITOK for mbuf functions.
The main reason is that our having to use the MB_WAIT and MB_DONTWAIT flags was a recurring issue when porting drivers from FreeBSD because it tended to get forgotten and the code would compile anyway with the wrong constants. And since MB_WAIT and MB_DONTWAIT ended up as ocflags for an objcache_get() or objcache_reclaimlist call (which use M_WAITOK and M_NOWAIT), it was just one big converting back and forth with some sanitization in between.
This commit allows M_* again for the mbuf functions and keeps the sanitizing as it was before: when M_WAITOK is among the passed flags, objcache functions will be called with M_WAITOK and when it is absent, they will be called with M_NOWAIT. All other flags are scrubbed by the MB_OCFLAG() macro which does the same as the former MBTOM().
Approved-by: dillon
show more ...
|
#
92ff3983 |
| 22-Dec-2014 |
Sascha Wildner <saw@online.de> |
kernel: Don't confuse kmalloc() and mbuf flags.
|
#
73029d08 |
| 29-Jun-2014 |
Franco Fichtner <franco@lastsummer.de> |
kernel: make pktinfo and cpuid native to ip_input()
In order to remove ether_input_pkt(), switch the prototype of if_input() and adjust all callers. While there, consolidate the style of the invoke
kernel: make pktinfo and cpuid native to ip_input()
In order to remove ether_input_pkt(), switch the prototype of if_input() and adjust all callers. While there, consolidate the style of the invoke.
Suggested and reviewed by: sephe
show more ...
|
#
b888bdb6 |
| 26-Jan-2014 |
Franco Fichtner <franco@lastsummer.de> |
netmap: remove bogus NULL check
Reported-by: swildner
|
#
785c7ee6 |
| 03-Jan-2014 |
Franco Fichtner <franco@lastsummer.de> |
netmap: reduce upstream diff output; bring back __FBSDIDs
|
#
b3f97fad |
| 02-Jan-2014 |
Franco Fichtner <franco@lastsummer.de> |
netmap: change header includes
Suggested-by: sephe
FWIW, kqfilter() port is not really going well as poll() is doing a bunch of loosely related drive-by actions that somehow form the API. The best
netmap: change header includes
Suggested-by: sephe
FWIW, kqfilter() port is not really going well as poll() is doing a bunch of loosely related drive-by actions that somehow form the API. The best approach would be to thin out the implementation to at least get the bare core functionality working. That'll also include writing new userland glue. Feels more like a fork than a port that way. :(
show more ...
|
#
13431b3e |
| 01-Jan-2014 |
Franco Fichtner <franco@lastsummer.de> |
netmap: fix all the cdev prototypes
While there, reduce diff noise against vanilla sources.
|
#
bf9f7c16 |
| 01-Jan-2014 |
Franco Fichtner <franco@lastsummer.de> |
netmap: more porting; undo some mistakes
Probably adds new issues, too. There's some VM magic, cdev_t adaption and a couple of network internals left.
|
#
ed9bd855 |
| 28-Dec-2013 |
Franco Fichtner <franco@lastsummer.de> |
netmap: lock(9), k*() foo, no ifdefs
The ifdef glue is a bit hard to see through. Remove it now to bring it back later with appropriate ifdefs for DragonFly.
|
#
fb578518 |
| 24-Dec-2013 |
Franco Fichtner <franco@lastsummer.de> |
netmap: initial import of netmap core
Vanilla sources; not hooked up to the build.
Taken-from: https://code.google.com/p/netmap/ (3b385fe7854d)
|