Home
last modified time | relevance | path

Searched refs:nr_rx_slots (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/dev/netmap/
H A Dnetmap_legacy.c67 req->nr_rx_slots = nmr->nr_rx_slots; in nmreq_register_from_legacy()
192 req->nr_rx_slots = nmr->nr_rx_slots; in nmreq_from_legacy()
250 req->nr_rx_slots = nmr->nr_rx_slots; in nmreq_from_legacy()
280 nmr->nr_rx_slots = req->nr_rx_slots; in nmreq_register_to_legacy()
309 nmr->nr_rx_slots = req->nr_rx_slots; in nmreq_to_legacy()
343 nmr->nr_rx_slots = req->nr_rx_slots; in nmreq_to_legacy()
H A Dnetmap_vale.c1173 nm_bound_var(&req->nr_rx_slots, NM_BRIDGE_RINGSIZE, in netmap_vale_vp_create()
1185 na->num_rx_desc = req->nr_rx_slots; in netmap_vale_vp_create()
1331 regreq.nr_rx_slots = req->nr_rx_slots; in nm_vi_create()
1342 req->nr_rx_slots = regreq.nr_rx_slots; in nm_vi_create()
1405 req->nr_rx_slots = na->num_rx_desc; in nm_update_info()
H A Dnetmap_null.c152 nna->up.num_rx_desc = req->nr_rx_slots; in netmap_get_null_na()
H A Dnetmap.c2860 req->nr_rx_slots = na->num_rx_desc; in netmap_ioctl()
2928 regreq.nr_rx_slots = req->nr_rx_slots; in netmap_ioctl()
2969 req->nr_rx_slots = na->num_rx_desc; in netmap_ioctl()
H A Dnetmap_pipe.c785 mna->up.num_rx_desc = req->nr_rx_slots; in netmap_get_pipe_na()
H A Dnetmap_monitor.c992 mna->up.num_rx_desc = req->nr_rx_slots; in netmap_get_monitor_na()
/freebsd/usr.sbin/valectl/
H A Dvalectl.c59 printf("rx_slots: %"PRIu32"\n", v->nr_rx_slots); in dump_port_info()
69 printf("rx_slots: %"PRIu32"\n", v->nr_rx_slots); in dump_newif()
86 uint32_t *nr_rx_slots, in parse_ring_config() argument
94 *nr_tx_slots = *nr_rx_slots = 0; in parse_ring_config()
102 *nr_tx_slots = *nr_rx_slots = v; in parse_ring_config()
105 *nr_rx_slots = v; in parse_ring_config()
120 *nr_rx_rings, *nr_rx_slots); in parse_ring_config()
242 &vale_newif.nr_rx_slots, in bdg_ctl()
258 &vale_attach.reg.nr_rx_slots, in bdg_ctl()
/freebsd/tests/sys/netmap/
H A Dctrl-api-test.c152 uint32_t nr_rx_slots; /* slots in rx rings */ member
213 printf("nr_rx_slots %u\n", req.nr_rx_slots); in port_info_get()
218 success = req.nr_memsize && req.nr_tx_slots && req.nr_rx_slots && in port_info_get()
226 ctx->nr_rx_slots = req.nr_rx_slots; in port_info_get()
258 req.nr_rx_slots = ctx->nr_rx_slots; in port_register()
272 printf("nr_rx_slots %u\n", req.nr_rx_slots); in port_register()
285 ((!ctx->nr_rx_slots && req.nr_rx_slots) || in port_register()
286 (ctx->nr_rx_slots == req.nr_rx_slots)) && in port_register()
304 ctx->nr_rx_slots = req.nr_rx_slots; in port_register()
331 req.nr_rx_slots = ctx->nr_rx_slots; in niocregif()
[all …]
/freebsd/sys/net/
H A Dnetmap.h602 uint32_t nr_rx_slots; /* slots in rx rings */ member
671 uint32_t nr_rx_slots; /* slots in rx rings */ member
734 uint32_t nr_rx_slots; /* slots in rx rings */ member
H A Dnetmap_legacy.h156 uint32_t nr_rx_slots; /* slots in rx rings */ member
H A Dnetmap_user.h885 d->req.nr_rx_slots = parent->req.nr_rx_slots; in nm_open()
/freebsd/lib/libnetmap/
H A Dnmport.c467 d->reg.nr_rx_slots = nr_slots; in NPOPT_PARSER()
485 d->reg.nr_rx_slots = atoi(nmport_key(p, conf, rx_slots)); in NPOPT_PARSER()
/freebsd/tools/tools/netmap/
H A Dpkt-gen.c643 nmr->nr_tx_slots = nmr->nr_rx_slots = 0; in parse_nmr_config()
649 nmr->nr_tx_slots = nmr->nr_rx_slots = v; in parse_nmr_config()
652 nmr->nr_rx_slots = v; in parse_nmr_config()
667 nmr->nr_rx_rings, nmr->nr_rx_slots); in parse_nmr_config()