1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys/dev/netmap
Luigi Rizzo 85233a7d39 - fix a bug in the previous commit that was dropping the last packet
from each batch flowing on the VALE switch

- feature: add glue for 'indirect' buffers on the sender side:
  if a slot has NS_INDIRECT set, the netmap buffer contains pointer(s)
  to the actual userspace buffers, which are accessed with copyin().
     The feature is not finalised yet, as it will likely need to deal
  with some iovec variant for proper scatter/gather support.
  This will save one copy for clients (e.g. qemu) that cannot
  use the netmap buffer directly.

A curiosity: on amd64 copyin() appears to be 10-15% faster than pkt_copy()
or bcopy() at least for sizes of 256 and greater.
2013-06-05 17:27:59 +00:00
..
if_em_netmap.h remove trailing whitespace 2013-05-02 16:01:04 +00:00
if_igb_netmap.h whitespace changes: 2013-04-29 18:00:53 +00:00
if_lem_netmap.h whitespace changes: 2013-04-29 18:00:53 +00:00
if_re_netmap.h remove trailing whitespace 2013-05-02 16:01:04 +00:00
ixgbe_netmap.h whitespace changes: 2013-04-29 18:00:53 +00:00
netmap_kern.h Bring in a number of new features, mostly implemented by Michio Honda: 2013-05-30 14:07:14 +00:00
netmap_mem2.c another minor bugfix in the memory allocator, this time in the free routine. 2013-05-10 08:46:10 +00:00
netmap.c - fix a bug in the previous commit that was dropping the last packet 2013-06-05 17:27:59 +00:00