VALECTL(8) | MidnightBSD System Manager's Manual | VALECTL(8) |
valectl
— manage
VALE switches provided by netmap
valectl
-g
valeSSS:PPP]
[-a
valeSSS:interface]
[-h
valeSSS:interface]
[-d
valeSSS:interface]
[-n
interface]
[-r
interface]
[-l
valeSSS:PPP]
[-l
]
[-p
valeSSS:PPP]
[-P
valeSSS:PPP]
[-C
spec]
[-m
memid]valectl
manages and inspects
vale(4) switches, for
instance attaching and detaching interfaces, creating and deleting
persistent VALE ports, or listing the existing switches and their ports. In
the following, valeSSS is the name of a VALE switch,
while valeSSS:PPP is the name of a VALE port of
valeSSS.
When issued without options it lists all the existing switch ports together with their internal bridge number and port number.
-g
valeSSS:PPP-a
valeSSS:interface-h
valeSSS:interface-d
valeSSS:interface-n
interface-r
interface-l
valeSSS:PPP-p
valeSSS:PPP-P
valeSSS:PPP-C
x | x,y |
x,y,z | x,y,z,w-n
it supplies the
number of tx and rx rings and slots. The full format with four numbers
gives, in order, number of tx slots, number of rx slots, number of tx
rings and number of rx rings. The form with three numbers uses
z for both the number of tx and the number of rx
rings. The forms with less than two numbers use the default values for the
number of rings. The form with two numbers supplies the numbers of tx and
rx slots. The form with only one number uses x for
both the number of tx and the number of rx slots.
When used in conjunction with -p
only
the first three forms are used. The first number may be either 0 or 1.
If 0, then all interface rings will be polled by a single thread,
running on the core id given by the second number (the third number, if
present, must be 1). If the first number is 1, then the ring identified
by the second number will be polled by the core with the same id. If a
third number is given, then this is repeated for as many consecutive
rings and cores.
-m
memid-n
supplies the netmap
memory region identifier to use together with the newly created persistent
VALE port. These ports use a private memory region by default. Using this
option you can let them share memory with other ports. Pass 1 as
memid to use the global memory region already shared
by all harware netmap ports.valectl
was written by
Michio Honda at NetApp.
March 31, 2020 | midnightbsd-3.1 |