HomeFreeBSD

MFC r345269, r345323

Description

MFC r345269, r345323

netmap: add support for multiple host rings

Some applications forward from/to host rings most or all the
traffic received or sent on a physical interface. In this
cases it is desirable to have more than a pair of RX/TX host
rings, and use multiple threads to speed up forwarding.
This change adds support for multiple host rings. On registering
a netmap port, the user can specify the number of desired receive
and transmit host rings in the nr_host_tx_rings and nr_host_rx_rings
fields of the nmreq_register structure.

Details

Provenance
vmaffioneAuthored on
Parents
rS345761: MFC r345252:
Branches
Unknown
Tags
Unknown