/freebsd/tools/tools/netmap/ |
H A D | lb.c | 111 struct netmap_slot *slots; 133 oq_enq(struct overflow_queue *q, const struct netmap_slot *s) in oq_enq() 146 static inline struct netmap_slot 149 struct netmap_slot s = q->slots[q->head]; in oq_deq() 367 struct netmap_slot s = oq_deq(q); in free_buffers() 512 forward_packet(struct group_des *g, struct netmap_slot *rs) in forward_packet() 528 struct netmap_slot *ts = &ring->slot[mf->shadow_head]; in forward_packet() 529 struct netmap_slot old_slot = *ts; in forward_packet() 557 struct netmap_slot *ts = &ring->slot[scan]; in forward_packet() 600 struct netmap_slot tmp = oq_deq(lp->oq); in forward_packet() [all …]
|
H A D | bridge.c | 88 struct netmap_slot *rs = &rxring->slot[j]; in rings_move() 89 struct netmap_slot *ts = &txring->slot[k]; in rings_move()
|
H A D | pkt-gen.c | 1266 struct netmap_slot *slot = &ring->slot[head]; in send_packets() 1272 struct netmap_slot *slot = &ring->slot[head]; in send_packets() 1423 struct netmap_slot *slot; in ping_body() 1625 struct netmap_slot *slot = &rxring->slot[head]; in pong_body() 1764 struct netmap_slot *slot; in sender_body() 1906 struct netmap_slot *slot = &ring->slot[head]; in receive_packets() 2149 struct netmap_slot *slot = &ring->slot[head]; in txseq_body() 2238 struct netmap_slot *slot = &ring->slot[head]; in multi_slot_to_string() 2347 struct netmap_slot *slot = &ring->slot[head]; in rxseq_body()
|
/freebsd/sys/dev/ena/ |
H A D | ena_netmap.c | 44 struct netmap_slot *slots; 62 static inline uint16_t ena_netmap_packet_len(struct netmap_slot *, u_int, 64 static int ena_netmap_copy_data(struct netmap_adapter *, struct netmap_slot *, 67 struct netmap_slot *, bus_dma_tag_t, bus_dmamap_t, void **, uint64_t *); 110 struct netmap_slot *slot; in ena_netmap_alloc_rx_slot() 174 struct netmap_slot *slot; in ena_netmap_free_rx_slot() 482 ena_netmap_packet_len(struct netmap_slot *slots, u_int slot_index, in ena_netmap_packet_len() 485 struct netmap_slot *nm_slot; in ena_netmap_packet_len() 498 ena_netmap_copy_data(struct netmap_adapter *na, struct netmap_slot *slots, in ena_netmap_copy_data() 501 struct netmap_slot *nm_slot; in ena_netmap_copy_data() [all …]
|
/freebsd/sys/dev/netmap/ |
H A D | if_re_netmap.h | 97 struct netmap_slot *slot = &ring->slot[nm_i]; in re_netmap_txsync() 238 struct netmap_slot *slot = &ring->slot[nm_i]; in re_netmap_rxsync() 291 struct netmap_slot *slot; in re_netmap_tx_init() 319 struct netmap_slot *slot = netmap_reset(na, NR_RX, 0, 0); in re_netmap_rx_init()
|
H A D | if_vtnet_netmap.h | 85 struct netmap_slot *slot = &ring->slot[nm_i]; in vtnet_netmap_txsync() 173 struct netmap_slot *slot = &ring->slot[nm_i]; in vtnet_netmap_kring_refill() 216 struct netmap_slot *slot; in vtnet_netmap_rxq_populate()
|
H A D | netmap_pipe.c | 211 struct netmap_slot *rs = &rxring->slot[k]; in netmap_pipe_txsync() 212 struct netmap_slot *ts = &txring->slot[k]; in netmap_pipe_txsync() 266 struct netmap_slot *rs = &rxring->slot[k]; in netmap_pipe_rxsync() 267 struct netmap_slot *ts = &txring->slot[k]; in netmap_pipe_rxsync() 436 sizeof(struct netmap_slot) * in netmap_pipe_reg_both()
|
H A D | netmap_monitor.c | 653 struct netmap_slot *s = &ring->slot[beg]; in netmap_zmon_parent_sync() 654 struct netmap_slot *ms = &mring->slot[i]; in netmap_zmon_parent_sync() 770 struct netmap_slot *s = &ring->slot[beg]; in netmap_monitor_parent_sync() 771 struct netmap_slot *ms = &mring->slot[i]; in netmap_monitor_parent_sync()
|
H A D | netmap_kern.h | 1350 struct netmap_slot *netmap_reset(struct netmap_adapter *na, 1972 NMB(struct netmap_adapter *na, struct netmap_slot *slot) in NMB() 1981 PNMB(struct netmap_adapter *na, struct netmap_slot *slot, uint64_t *pp) in PNMB() 1998 struct netmap_slot *slot, uint64_t offset) in nm_write_offset() 2005 nm_get_offset(struct netmap_kring *kring, struct netmap_slot *slot) in nm_get_offset() 2014 NMB_O(struct netmap_kring *kring, struct netmap_slot *slot) in NMB_O() 2021 PNMB_O(struct netmap_kring *kring, struct netmap_slot *slot, uint64_t *pp) in PNMB_O()
|
H A D | netmap_generic.c | 736 struct netmap_slot *slot = &ring->slot[nm_i]; in generic_netmap_txsync() 956 struct netmap_slot *slot = &ring->slot[nm_i]; in generic_netmap_rxsync()
|
H A D | netmap_offloadings.c | 158 struct netmap_slot *dst_slot = NULL; in bdg_mismatch_datapath()
|
H A D | netmap.c | 1239 struct netmap_slot *slot = &kring->ring->slot[n]; in netmap_grab_packets() 1296 struct netmap_slot *rxslot = kring->ring->slot; in netmap_sw_to_nic() 1311 struct netmap_slot *src, *dst, tmp; in netmap_sw_to_nic() 1403 struct netmap_slot *slot = &ring->slot[nm_i]; in netmap_rxsync_from_host() 2392 struct netmap_slot *slot = ring->slot + j; in netmap_offsets_init() 4373 struct netmap_slot *
|
H A D | netmap_mem2.c | 1196 netmap_new_bufs(struct netmap_mem_d *nmd, struct netmap_slot *slot, u_int n) in netmap_new_bufs() 1228 netmap_mem_set_ring(struct netmap_mem_d *nmd, struct netmap_slot *slot, u_int n, uint32_t index) in netmap_mem_set_ring() 1255 netmap_free_bufs(struct netmap_mem_d *nmd, struct netmap_slot *slot, u_int n) in netmap_free_bufs() 1788 v = sizeof(struct netmap_ring) + sizeof(struct netmap_slot) * maxd; in netmap_mem_private_new() 2011 ndesc * sizeof(struct netmap_slot); in netmap_mem2_rings_create()
|
H A D | if_ptnet.c | 1382 struct netmap_slot *slot; in ptnet_drain_transmit_queue() 1619 struct netmap_slot *slot = ring->slot + head; in ptnet_rx_discard() 1699 struct netmap_slot *slot; in ptnet_rx_eof()
|
H A D | netmap_vale.c | 507 struct netmap_slot *slot = &ring->slot[j]; in nm_vale_preflush() 946 struct netmap_slot *slot; in nm_vale_flush()
|
H A D | netmap_bdg.c | 1118 struct netmap_slot *slot = &ring->slot[nm_i]; in netmap_vp_rxsync_locked()
|
/freebsd/sys/net/ |
H A D | netmap.h | 162 struct netmap_slot { struct 325 struct netmap_slot slot[0]; /* array of slots. */
|
H A D | netmap_user.h | 252 struct netmap_slot *slot; 1112 struct netmap_slot *slot; in nm_dispatch()
|
H A D | iflib.c | 922 struct netmap_slot *slot = &ring->slot[nm_i]; in netmap_fl_refill() 1049 struct netmap_slot *slot = &ring->slot[nm_i]; in iflib_netmap_txsync() 1337 struct netmap_slot *slot; in iflib_netmap_txq_init() 1362 struct netmap_slot *slot; in iflib_netmap_rxq_init()
|
/freebsd/usr.sbin/bhyve/ |
H A D | net_backend_netmap.c | 260 struct netmap_slot *slot = ring->slot + head; in netmap_peek_recvlen() 275 struct netmap_slot *slot = NULL; in netmap_recv()
|
/freebsd/sys/dev/cxgbe/ |
H A D | t4_netmap.c | 690 struct netmap_slot *slot; in cxgbe_netmap_on() 970 struct netmap_slot *slot; in cxgbe_nm_tx() 1200 struct netmap_slot *slot = &ring->slot[fl_pidx]; in cxgbe_netmap_rxsync()
|