Home
last modified time | relevance | path

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

/freebsd/tests/sys/netmap/
H A Dctrl-api-test.c156 uint16_t nr_host_rx_rings; /* number of host rx rings */ member
261 req.nr_host_rx_rings = ctx->nr_host_rx_rings; in port_register()
276 printf("nr_host_rx_rings %u\n", req.nr_host_rx_rings); in port_register()
293 ((!ctx->nr_host_rx_rings && req.nr_host_rx_rings) || in port_register()
294 (ctx->nr_host_rx_rings == req.nr_host_rx_rings)) && in port_register()
308 ctx->nr_host_rx_rings = req.nr_host_rx_rings; in port_register()
502 ctx->nr_host_rx_rings = 2; in port_register_single_host_pair()
512 ctx->nr_host_rx_rings = 4; in port_register_hostall_many()
/freebsd/sys/net/
H A Dnetmap.h606 uint16_t nr_host_rx_rings; /* number of host rx rings */ member
675 uint16_t nr_host_rx_rings; /* number of host rx rings */ member
/freebsd/sys/dev/netmap/
H A Dnetmap_legacy.c71 req->nr_host_rx_rings = 0; in nmreq_register_from_legacy()
254 req->nr_host_rx_rings = 0; in nmreq_from_legacy()
H A Dnetmap.c1650 if (req->nr_host_rx_rings) in netmap_get_na()
1651 (*na)->num_host_rx_rings = req->nr_host_rx_rings; in netmap_get_na()
2863 req->nr_host_rx_rings = na->num_host_rx_rings; in netmap_ioctl()
2932 regreq.nr_host_rx_rings = req->nr_host_rx_rings; in netmap_ioctl()
2972 req->nr_host_rx_rings = na->num_host_rx_rings; in netmap_ioctl()
/freebsd/lib/libnetmap/
H A Dnmport.c462 d->reg.nr_host_rx_rings = nr_rings; in NPOPT_PARSER()
479 d->reg.nr_host_rx_rings = atoi(nmport_key(p, conf, host_rx_rings)); in NPOPT_PARSER()
/freebsd/tools/tools/netmap/
H A Dpkt-gen.c3278 devqueues = g.nmd->reg.nr_rx_rings + g.nmd->reg.nr_host_rx_rings; in main()
3308 for (i = 0; i < req->nr_rx_rings + req->nr_host_rx_rings; i++) { in main()