/freebsd/sys/net/ |
H A D | netmap_legacy.h | d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks
|
H A D | netmap_user.h | d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks
|
H A D | netmap.h | d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks
|
/freebsd/sys/dev/netmap/ |
H A D | netmap_legacy.c | d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks
|
H A D | netmap_mem2.c | d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks
|
H A D | netmap.c | d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks d12354a5 Mon Mar 18 12:22:23 GMT 2019 Vincenzo Maffione <vmaffione@FreeBSD.org> 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.
MFC after: 2 weeks
|