]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r339639:
authorvmaffione <vmaffione@FreeBSD.org>
Tue, 30 Oct 2018 08:36:36 +0000 (08:36 +0000)
committervmaffione <vmaffione@FreeBSD.org>
Tue, 30 Oct 2018 08:36:36 +0000 (08:36 +0000)
commit09fe06f0502ccdcc4728952546a6c07eb1ccaff7
treed4cb4e46552a4adb29c293c7ce22e3c4b527250c
parent1e7a3a3775950a4bc0276805103679a6d2072177
MFC r339639:

netmap: align codebase to the current upstream (sha 8374e1a7e6941)

Changelist:
    - Move large parts of VALE code to a new file and header netmap_bdg.[ch].
      This is useful to reuse the code within upcoming projects.
    - Improvements and bug fixes to pipes and monitors.
    - Introduce nm_os_onattach(), nm_os_onenter() and nm_os_onexit() to
      handle differences between FreeBSD and Linux.
    - Introduce some new helper functions to handle more host rings and fake
      rings (netmap_all_rings(), netmap_real_rings(), ...)
    - Added new sysctl to enable/disable hw checksum in emulated netmap mode.
    - nm_inject: add support for NS_MOREFRAG

Approved by: re (gjb)
13 files changed:
sys/conf/files
sys/dev/netmap/netmap.c
sys/dev/netmap/netmap_bdg.c [new file with mode: 0644]
sys/dev/netmap/netmap_bdg.h [new file with mode: 0644]
sys/dev/netmap/netmap_freebsd.c
sys/dev/netmap/netmap_generic.c
sys/dev/netmap/netmap_kern.h
sys/dev/netmap/netmap_mem2.c
sys/dev/netmap/netmap_monitor.c
sys/dev/netmap/netmap_pipe.c
sys/dev/netmap/netmap_vale.c
sys/net/netmap.h
sys/net/netmap_user.h