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. |
||
---|---|---|
.. | ||
if_em_netmap.h | ||
if_igb_netmap.h | ||
if_lem_netmap.h | ||
if_re_netmap.h | ||
ixgbe_netmap.h | ||
netmap_kern.h | ||
netmap_mem2.c | ||
netmap.c |