Changeset View
Changeset View
Standalone View
Standalone View
share/man/man4/netmap.4
Show First 20 Lines • Show All 649 Lines • ▼ Show 20 Lines | |||||
.Nm nm_open | .Nm nm_open | ||||
indicated below) can use to indicate the specific set of rings. | indicated below) can use to indicate the specific set of rings. | ||||
In the example below, "netmap:foo" is any valid netmap port name. | In the example below, "netmap:foo" is any valid netmap port name. | ||||
.Bl -tag -width XXXXX | .Bl -tag -width XXXXX | ||||
.It NR_REG_ALL_NIC "netmap:foo" | .It NR_REG_ALL_NIC "netmap:foo" | ||||
(default) all hardware ring pairs | (default) all hardware ring pairs | ||||
.It NR_REG_SW "netmap:foo^" | .It NR_REG_SW "netmap:foo^" | ||||
the ``host rings'', connecting to the host stack. | the ``host rings'', connecting to the host stack. | ||||
.It NR_REG_NIC_SW "netmap:foo+" | .It NR_REG_NIC_SW "netmap:foo*" | ||||
all hardware rings and the host rings | all hardware rings and the host rings | ||||
.It NR_REG_ONE_NIC "netmap:foo-i" | .It NR_REG_ONE_NIC "netmap:foo-i" | ||||
only the i-th hardware ring pair, where the number is in | only the i-th hardware ring pair, where the number is in | ||||
.Pa nr_ringid ; | .Pa nr_ringid ; | ||||
.It NR_REG_PIPE_MASTER "netmap:foo{i" | .It NR_REG_PIPE_MASTER "netmap:foo{i" | ||||
the master side of the netmap pipe whose identifier (i) is in | the master side of the netmap pipe whose identifier (i) is in | ||||
.Pa nr_ringid ; | .Pa nr_ringid ; | ||||
.It NR_REG_PIPE_SLAVE "netmap:foo}i" | .It NR_REG_PIPE_SLAVE "netmap:foo}i" | ||||
▲ Show 20 Lines • Show All 521 Lines • Show Last 20 Lines |