Home
last modified time | relevance | path

Searched refs:netmap_kring (Results 1 – 20 of 20) sorted by relevance

/freebsd-13-stable/sys/dev/netmap/
HDnetmap_monitor.c141 netmap_monitor_txsync(struct netmap_kring *kring, int flags) in netmap_monitor_txsync()
154 netmap_monitor_rxsync(struct netmap_kring *kring, int flags) in netmap_monitor_rxsync()
183 struct netmap_kring *kring = NMR(na, t)[first + i]; in netmap_monitor_krings_create()
207 nm_monitor_alloc(struct netmap_kring *kring, u_int n) in nm_monitor_alloc()
210 struct netmap_kring **nm; in nm_monitor_alloc()
216 old_len = sizeof(struct netmap_kring *)*kring->max_monitors; in nm_monitor_alloc()
217 len = sizeof(struct netmap_kring *) * n; in nm_monitor_alloc()
230 nm_monitor_dealloc(struct netmap_kring *kring) in nm_monitor_dealloc()
246 nm_monitor_none(struct netmap_kring *kring) in nm_monitor_none()
257 static int netmap_zmon_parent_txsync(struct netmap_kring *, int);
[all …]
HDnetmap_kern.h353 struct netmap_kring *next;
354 struct netmap_kring *prev;
411 struct netmap_kring { struct
516 int (*nm_sync)(struct netmap_kring *kring, int flags); argument
517 int (*nm_notify)(struct netmap_kring *kring, int flags); argument
520 struct netmap_kring *pipe; /* if this is a pipe ring, argument
526 int (*save_notify)(struct netmap_kring *kring, int flags); argument
530 struct netmap_kring **monitors; argument
544 int (*mon_sync)(struct netmap_kring *kring, int flags); argument
545 int (*mon_notify)(struct netmap_kring *kring, int flags); argument
[all …]
HDnetmap_pipe.c184 netmap_pipe_txsync(struct netmap_kring *txkring, int flags) in netmap_pipe_txsync()
186 struct netmap_kring *rxkring = txkring->pipe; in netmap_pipe_txsync()
237 netmap_pipe_rxsync(struct netmap_kring *rxkring, int flags) in netmap_pipe_rxsync()
239 struct netmap_kring *txkring = rxkring->pipe; in netmap_pipe_rxsync()
336 struct netmap_kring *k1 = NMR(na, t)[i], in netmap_pipe_krings_create_both()
394 struct netmap_kring *kring = NMR(na, t)[i]; in netmap_pipe_reg_both()
414 struct netmap_kring *kring = NMR(na, t)[i]; in netmap_pipe_reg_both()
416 struct netmap_kring *sring, *dring; in netmap_pipe_reg_both()
555 struct netmap_kring *kring = NMR(sna, t)[i]; in netmap_pipe_krings_delete_both()
HDnetmap.c591 netmap_disable_ring(struct netmap_kring *kr, int stopped) in netmap_disable_ring()
808 static int netmap_txsync_to_host(struct netmap_kring *kring, int flags);
809 static int netmap_rxsync_from_host(struct netmap_kring *kring, int flags);
840 struct netmap_kring *kring; in netmap_krings_create()
856 (sizeof(struct netmap_kring) + sizeof(struct netmap_kring *)) in netmap_krings_create()
868 kring = (struct netmap_kring *)((char *)na->tailroom + tailroom); in netmap_krings_create()
932 struct netmap_kring **kring = na->tx_rings; in netmap_krings_delete()
1191 netmap_grab_packets(struct netmap_kring *kring, struct mbq *q, int force) in netmap_grab_packets()
1219 _nm_may_forward(struct netmap_kring *kring) in _nm_may_forward()
1227 nm_may_forward_up(struct netmap_kring *kring) in nm_may_forward_up()
[all …]
HDnetmap_generic.c225 struct netmap_kring *kring = NULL; in generic_netmap_unregister()
304 struct netmap_kring *kring = NULL; in generic_netmap_register()
434 struct netmap_kring *kring; in generic_mbuf_destructor()
493 generic_netmap_tx_clean(struct netmap_kring *kring, int txqdisc) in generic_netmap_tx_clean()
579 generic_set_tx_event(struct netmap_kring *kring, u_int hwcur) in generic_set_tx_event()
644 generic_netmap_txsync(struct netmap_kring *kring, int flags) in generic_netmap_txsync()
816 struct netmap_kring *kring; in generic_rx_handler()
872 generic_netmap_rxsync(struct netmap_kring *kring, int flags) in generic_netmap_rxsync()
HDif_vtnet_netmap.h58 vtnet_netmap_txsync(struct netmap_kring *kring, int flags) in vtnet_netmap_txsync()
152 vtnet_netmap_kring_refill(struct netmap_kring *kring, u_int num) in vtnet_netmap_kring_refill()
212 struct netmap_kring *kring; in vtnet_netmap_rxq_populate()
241 vtnet_netmap_rxsync(struct netmap_kring *kring, int flags) in vtnet_netmap_rxsync()
HDnetmap_bdg.h180 int netmap_vp_rxsync(struct netmap_kring *kring, int flags);
181 int netmap_bwrap_notify(struct netmap_kring *kring, int flags);
HDnetmap_kloop.c134 sync_kloop_kring_dump(const char *title, const struct netmap_kring *kring) in sync_kloop_kring_dump()
146 struct netmap_kring *kring;
161 struct netmap_kring *kring = a->kring; in netmap_sync_kloop_tx_ring()
303 sync_kloop_norxslots(struct netmap_kring *kring, uint32_t g_head) in sync_kloop_norxslots()
313 struct netmap_kring *kring = a->kring; in netmap_sync_kloop_rx_ring()
965 struct netmap_kring *kring, int flags) in netmap_pt_guest_txsync()
1033 struct netmap_kring *kring, int flags) in netmap_pt_guest_rxsync()
HDnetmap_bdg.c576 struct netmap_kring **kring0, *kring; in netmap_bwrap_polling()
949 netmap_vp_rxsync_locked(struct netmap_kring *kring, int flags) in netmap_vp_rxsync_locked()
997 netmap_vp_rxsync(struct netmap_kring *kring, int flags) in netmap_vp_rxsync()
1094 netmap_bwrap_intr_notify(struct netmap_kring *kring, int flags) in netmap_bwrap_intr_notify()
1098 struct netmap_kring *bkring; in netmap_bwrap_intr_notify()
1203 struct netmap_kring *kring = NMR(hwna, nm_txrx_swap(t))[i]; in netmap_bwrap_reg()
1389 netmap_bwrap_notify(struct netmap_kring *kring, int flags) in netmap_bwrap_notify()
1396 struct netmap_kring *hw_kring; in netmap_bwrap_notify()
HDif_ptnet.c211 static int ptnet_nm_txsync(struct netmap_kring *kring, int flags);
212 static int ptnet_nm_rxsync(struct netmap_kring *kring, int flags);
218 static unsigned ptnet_rx_discard(struct netmap_kring *kring,
1125 struct netmap_kring *kring; in ptnet_sync_from_csb()
1239 ptnet_nm_txsync(struct netmap_kring *kring, int flags) in ptnet_nm_txsync()
1254 ptnet_nm_rxsync(struct netmap_kring *kring, int flags) in ptnet_nm_rxsync()
1340 ptnet_ring_update(struct ptnet_queue *pq, struct netmap_kring *kring, in ptnet_ring_update()
1381 struct netmap_kring *kring; in ptnet_drain_transmit_queue()
1617 ptnet_rx_discard(struct netmap_kring *kring, unsigned int head) in ptnet_rx_discard()
1679 struct netmap_kring *kring = na->rx_rings[pq->kring_id]; in ptnet_rx_eof()
HDnetmap_vale.c191 struct netmap_kring **kring; in nm_free_bdgfwd()
212 struct netmap_kring **kring; in nm_alloc_bdgfwd()
618 nm_vale_preflush(struct netmap_kring *kring, u_int end) in nm_vale_preflush()
799 nm_kr_space(struct netmap_kring *k, int is_rx) in nm_kr_space()
837 nm_kr_lease(struct netmap_kring *k, u_int n, int is_rx) in nm_kr_lease()
967 struct netmap_kring *kring; in nm_vale_flush()
1224 netmap_vale_vp_txsync(struct netmap_kring *kring, int flags) in netmap_vale_vp_txsync()
HDnetmap_null.c76 netmap_null_sync(struct netmap_kring *kring, int flags) in netmap_null_sync()
HDif_re_netmap.h69 re_netmap_txsync(struct netmap_kring *kring, int flags) in re_netmap_txsync()
171 re_netmap_rxsync(struct netmap_kring *kring, int flags) in re_netmap_rxsync()
HDnetmap_mem2.c1861 struct netmap_kring *kring = NMR(na, t)[i]; in netmap_free_rings()
1900 struct netmap_kring *kring = NMR(na, t)[i]; in netmap_mem2_rings_create()
2678 struct netmap_kring *kring = na->tx_rings[i]; in netmap_mem_pt_guest_rings_create()
2685 struct netmap_kring *kring = na->rx_rings[i]; in netmap_mem_pt_guest_rings_create()
2707 struct netmap_kring *kring = &NMR(na, t)[i]; in netmap_mem_pt_guest_rings_delete()
/freebsd-13-stable/sys/dev/ena/
HDena_netmap.c41 struct netmap_kring *kring;
55 static int ena_netmap_txsync(struct netmap_kring *, int);
56 static int ena_netmap_rxsync(struct netmap_kring *, int);
78 static void ena_netmap_fill_ctx(struct netmap_kring *, struct ena_netmap_ctx *,
108 struct netmap_kring *kring; in ena_netmap_alloc_rx_slot()
173 struct netmap_kring *kring; in ena_netmap_free_rx_slot()
222 struct netmap_kring *kring; in ena_ring_in_netmap()
274 struct netmap_kring *kring; in ena_netmap_reg()
321 ena_netmap_txsync(struct netmap_kring *kring, int flags) in ena_netmap_txsync()
867 ena_netmap_rxsync(struct netmap_kring *kring, int flags) in ena_netmap_rxsync()
[all …]
/freebsd-13-stable/sys/dev/cxgbe/
HDt4_netmap.c516 struct netmap_kring *kring; in cxgbe_netmap_simple_rss()
584 struct netmap_kring *kring; in cxgbe_netmap_split_rss()
691 struct netmap_kring *kring; in cxgbe_netmap_on()
780 struct netmap_kring *kring; in cxgbe_netmap_off()
967 struct netmap_kring *kring, int npkt, int npkt_remaining) in cxgbe_nm_tx()
1104 cxgbe_netmap_txsync(struct netmap_kring *kring, int flags) in cxgbe_netmap_txsync()
1167 cxgbe_netmap_rxsync(struct netmap_kring *kring, int flags) in cxgbe_netmap_rxsync()
1333 struct netmap_kring *kring = na->rx_rings[nm_rxq->nid]; in service_nm_rxq()
/freebsd-13-stable/sys/net/
HDiflib.c776 static int netmap_fl_refill(iflib_rxq_t rxq, struct netmap_kring *kring, bool init);
866 netmap_fl_refill(iflib_rxq_t rxq, struct netmap_kring *kring, bool init) in netmap_fl_refill()
993 iflib_netmap_txsync(struct netmap_kring *kring, int flags) in iflib_netmap_txsync()
1170 iflib_netmap_rxsync(struct netmap_kring *kring, int flags) in iflib_netmap_rxsync()
1364 struct netmap_kring *kring; in iflib_netmap_rxq_init()
/freebsd-13-stable/sys/dev/ixgbe/
HDif_ixv.c1496 struct netmap_kring *kring = na->rx_rings[j]; in ixv_initialize_receive_units()
/freebsd-13-stable/sys/dev/virtio/network/
HDif_vtnet.c1512 struct netmap_kring *kring = netmap_kring_on(NA(rxq->vtnrx_sc->vtnet_ifp), in vtnet_rxq_free_mbufs()
2342 struct netmap_kring *kring = netmap_kring_on(NA(txq->vtntx_sc->vtnet_ifp), in vtnet_txq_free_mbufs()
/freebsd-13-stable/sys/dev/re/
HDif_re.c2949 struct netmap_kring *kring = NA(ifp)->tx_rings[0]; in re_start_locked()