Searched refs:nr_rx_slots (Results 1 – 13 of 13) sorted by relevance
/freebsd/sys/dev/netmap/ |
H A D | netmap_legacy.c | 67 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 D | netmap_vale.c | 1173 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 D | netmap_null.c | 152 nna->up.num_rx_desc = req->nr_rx_slots; in netmap_get_null_na()
|
H A D | netmap.c | 2860 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 D | netmap_pipe.c | 785 mna->up.num_rx_desc = req->nr_rx_slots; in netmap_get_pipe_na()
|
H A D | netmap_monitor.c | 992 mna->up.num_rx_desc = req->nr_rx_slots; in netmap_get_monitor_na()
|
/freebsd/usr.sbin/valectl/ |
H A D | valectl.c | 59 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 D | ctrl-api-test.c | 152 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 D | netmap.h | 602 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 D | netmap_legacy.h | 156 uint32_t nr_rx_slots; /* slots in rx rings */ member
|
H A D | netmap_user.h | 885 d->req.nr_rx_slots = parent->req.nr_rx_slots; in nm_open()
|
/freebsd/lib/libnetmap/ |
H A D | nmport.c | 467 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 D | pkt-gen.c | 643 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()
|