Searched refs:regreq (Results 1 – 2 of 2) sorted by relevance
1328 struct nmreq_register regreq; in nm_vi_create() local1329 bzero(®req, 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)®req; 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 …]
2924 struct nmreq_register regreq; in netmap_ioctl() local2925 bzero(®req, 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 …]