]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
netmap: upgrade sync-kloop support
authorvmaffione <vmaffione@FreeBSD.org>
Sat, 2 Feb 2019 22:39:29 +0000 (22:39 +0000)
committervmaffione <vmaffione@FreeBSD.org>
Sat, 2 Feb 2019 22:39:29 +0000 (22:39 +0000)
commit2b47cf4fb9dfb67b54392f83bd39a5ac852668f2
tree5e2550d3df987aa498d1fe373d6d99bf2a2968cf
parentc6c14d49ff4783fd8f8f1aa1573ad40a79c7e5b0
netmap: upgrade sync-kloop support

Add SYNC_KLOOP_MODE option, and add support for direct mode, where application
executes the TXSYNC and RXSYNC in the context of the ioeventfd wake up callback.

MFC after: 5 days
sys/dev/netmap/netmap.c
sys/dev/netmap/netmap_kern.h
sys/dev/netmap/netmap_kloop.c
sys/net/netmap.h