Home
last modified time | relevance | path

Searched refs:regreq (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/netmap/
H A Dnetmap_vale.c1328 struct nmreq_register regreq; in nm_vi_create() local
1329 bzero(&regreq, sizeof(regreq)); in nm_vi_create()
1330 regreq.nr_tx_slots = req->nr_tx_slots; in nm_vi_create()
1331 regreq.nr_rx_slots = req->nr_rx_slots; in nm_vi_create()
1332 regreq.nr_tx_rings = req->nr_tx_rings; in nm_vi_create()
1333 regreq.nr_rx_rings = req->nr_rx_rings; in nm_vi_create()
1334 regreq.nr_mem_id = req->nr_mem_id; in nm_vi_create()
1336 hdr->nr_body = (uintptr_t)&regreq; in nm_vi_create()
1341 req->nr_tx_slots = regreq.nr_tx_slots; in nm_vi_create()
1342 req->nr_rx_slots = regreq.nr_rx_slots; in nm_vi_create()
[all …]
H A Dnetmap.c2924 struct nmreq_register regreq; in netmap_ioctl() local
2925 bzero(&regreq, sizeof(regreq)); in netmap_ioctl()
2926 regreq.nr_mode = NR_REG_ALL_NIC; in netmap_ioctl()
2927 regreq.nr_tx_slots = req->nr_tx_slots; in netmap_ioctl()
2928 regreq.nr_rx_slots = req->nr_rx_slots; in netmap_ioctl()
2929 regreq.nr_tx_rings = req->nr_tx_rings; in netmap_ioctl()
2930 regreq.nr_rx_rings = req->nr_rx_rings; in netmap_ioctl()
2931 regreq.nr_host_tx_rings = req->nr_host_tx_rings; in netmap_ioctl()
2932 regreq.nr_host_rx_rings = req->nr_host_rx_rings; in netmap_ioctl()
2933 regreq.nr_mem_id = req->nr_mem_id; in netmap_ioctl()
[all …]