]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Bring in a number of new features, mostly implemented by Michio Honda:
authorluigi <luigi@FreeBSD.org>
Thu, 30 May 2013 14:07:14 +0000 (14:07 +0000)
committerluigi <luigi@FreeBSD.org>
Thu, 30 May 2013 14:07:14 +0000 (14:07 +0000)
commitf8c8cdb1f0ad6e4ded054e34e583cd6c7ae38e99
treee0f45e5fcd2bc6f7fab3d4c32912971d7a02c5b6
parent93cb261dd8dc721ae8ea515803443a2a18122021
Bring in a number of new features, mostly implemented by Michio Honda:

- the VALE switch now support up to 254 destinations per switch,
  unicast or broadcast (multicast goes to all ports).

- we can attach hw interfaces and the host stack to a VALE switch,
  which means we will be able to use it more or less as a native bridge
  (minor tweaks still necessary).
  A 'vale-ctl' program is supplied in tools/tools/netmap
  to attach/detach ports the switch, and list current configuration.

- the lookup function in the VALE switch can be reassigned to
  something else, similar to the pf hooks. This will enable
  attaching the firewall, or other processing functions (e.g. in-kernel
  openvswitch) directly on the netmap port.

The internal API used by device drivers does not change.

Userspace applications should be recompiled because we
bump NETMAP_API as we now use some fields in the struct nmreq
that were previously ignored -- otherwise, data structures
are the same.

Manpages will be committed separately.
sys/dev/netmap/netmap.c
sys/dev/netmap/netmap_kern.h
sys/net/netmap.h
tools/tools/netmap/Makefile
tools/tools/netmap/vale-ctl.c [new file with mode: 0644]