Home
last modified time | relevance | path

Searched refs:nr_host_tx_rings (Results 1 – 6 of 6) sorted by relevance

/freebsd/tests/sys/netmap/
H A Dctrl-api-test.c155 uint16_t nr_host_tx_rings; /* number of host tx rings */ member
260 req.nr_host_tx_rings = ctx->nr_host_tx_rings; in port_register()
275 printf("nr_host_tx_rings %u\n", req.nr_host_tx_rings); in port_register()
291 ((!ctx->nr_host_tx_rings && req.nr_host_tx_rings) || in port_register()
292 (ctx->nr_host_tx_rings == req.nr_host_tx_rings)) && in port_register()
307 ctx->nr_host_tx_rings = req.nr_host_tx_rings; in port_register()
501 ctx->nr_host_tx_rings = 2; in port_register_single_host_pair()
511 ctx->nr_host_tx_rings = 5; in port_register_hostall_many()
/freebsd/sys/net/
H A Dnetmap.h605 uint16_t nr_host_tx_rings; /* number of host tx rings */ member
674 uint16_t nr_host_tx_rings; /* number of host tx rings */ member
/freebsd/sys/dev/netmap/
H A Dnetmap_legacy.c70 req->nr_host_tx_rings = 0; in nmreq_register_from_legacy()
253 req->nr_host_tx_rings = 0; in nmreq_from_legacy()
H A Dnetmap.c1648 if (req->nr_host_tx_rings) in netmap_get_na()
1649 (*na)->num_host_tx_rings = req->nr_host_tx_rings; in netmap_get_na()
2862 req->nr_host_tx_rings = na->num_host_tx_rings; in netmap_ioctl()
2931 regreq.nr_host_tx_rings = req->nr_host_tx_rings; in netmap_ioctl()
2971 req->nr_host_tx_rings = na->num_host_tx_rings; in netmap_ioctl()
/freebsd/lib/libnetmap/
H A Dnmport.c461 d->reg.nr_host_tx_rings = nr_rings; in NPOPT_PARSER()
476 d->reg.nr_host_tx_rings = atoi(nmport_key(p, conf, host_tx_rings)); in NPOPT_PARSER()
/freebsd/tools/tools/netmap/
H A Dpkt-gen.c3276 devqueues = g.nmd->reg.nr_tx_rings + g.nmd->reg.nr_host_tx_rings; in main()
3303 for (i = 0; i < req->nr_tx_rings + req->nr_host_tx_rings; i++) { in main()