Changeset View
Changeset View
Standalone View
Standalone View
head/share/man/man4/netmap.4
Show All 21 Lines | |||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" This document is derived in part from the enet man page (enet.4) | .\" This document is derived in part from the enet man page (enet.4) | ||||
.\" distributed with 4.3BSD Unix. | .\" distributed with 4.3BSD Unix. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd November 20, 2018 | .Dd October 26, 2019 | ||||
.Dt NETMAP 4 | .Dt NETMAP 4 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm netmap | .Nm netmap | ||||
.Nd a framework for fast packet I/O | .Nd a framework for fast packet I/O | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Cd device netmap | .Cd device netmap | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
▲ Show 20 Lines • Show All 1,043 Lines • ▼ Show 20 Lines | |||||
.Dl pkt-gen -i vale1:b -f tx # sender | .Dl pkt-gen -i vale1:b -f tx # sender | ||||
The same example can be used to test netmap pipes, by simply | The same example can be used to test netmap pipes, by simply | ||||
changing port names, e.g., | changing port names, e.g., | ||||
.Dl pkt-gen -i vale2:x{3 -f rx # receiver on the master side | .Dl pkt-gen -i vale2:x{3 -f rx # receiver on the master side | ||||
.Dl pkt-gen -i vale2:x}3 -f tx # sender on the slave side | .Dl pkt-gen -i vale2:x}3 -f tx # sender on the slave side | ||||
.Pp | .Pp | ||||
The following command attaches an interface and the host stack | The following command attaches an interface and the host stack | ||||
to a switch: | to a switch: | ||||
.Dl vale-ctl -h vale2:em0 | .Dl valectl -h vale2:em0 | ||||
Other | Other | ||||
.Nm | .Nm | ||||
clients attached to the same switch can now communicate | clients attached to the same switch can now communicate | ||||
with the network card or the host. | with the network card or the host. | ||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
.Xr vale 4 , | .Xr vale 4 , | ||||
.Xr vale-ctl 4 , | .Xr valectl 8 , | ||||
.Xr bridge 8 , | .Xr bridge 8 , | ||||
.Xr lb 8 , | .Xr lb 8 , | ||||
.Xr nmreplay 8 , | .Xr nmreplay 8 , | ||||
.Xr pkt-gen 8 | .Xr pkt-gen 8 | ||||
.Pp | .Pp | ||||
.Pa http://info.iet.unipi.it/~luigi/netmap/ | .Pa http://info.iet.unipi.it/~luigi/netmap/ | ||||
.Pp | .Pp | ||||
Luigi Rizzo, Revisiting network I/O APIs: the netmap framework, | Luigi Rizzo, Revisiting network I/O APIs: the netmap framework, | ||||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |