Searched refs:nifp (Results 1 - 9 of 9) sorted by relevance

/freebsd-11-stable/tools/tools/netmap/
H A Dbridge.c41 tot += nm_ring_space(NETMAP_TXRING(d->nifp, i));
45 tot += nm_ring_space(NETMAP_RXRING(d->nifp, i));
126 rxring = NETMAP_RXRING(src->nifp, si);
127 txring = NETMAP_TXRING(dst->nifp, di);
323 NETMAP_RXRING(pa->nifp, pa->cur_rx_ring)->cur,
328 NETMAP_RXRING(pb->nifp, pb->cur_rx_ring)->cur,
334 struct netmap_ring *rx = NETMAP_RXRING(pa->nifp, pa->cur_rx_ring);
339 struct netmap_ring *rx = NETMAP_RXRING(pb->nifp, pb->cur_rx_ring);
H A Dlb.c370 *b = rxport->nmd->nifp->ni_bufs_head;
371 rxport->nmd->nifp->ni_bufs_head = s.buf_idx;
708 rxport->ring = NETMAP_RXRING(rxport->nmd->nifp, 0);
741 for (scan = rxport->nmd->nifp->ni_bufs_head;
759 rxport->nmd->nifp->ni_bufs_head = 0;
790 p->ring = NETMAP_TXRING(p->nmd->nifp, 0);
948 struct netmap_ring *rxring = NETMAP_RXRING(rxport->nmd->nifp, i);
H A Dpkt-gen.c1285 struct netmap_if *nifp = targ->nmd->nifp; local
1316 struct netmap_ring *ring = NETMAP_TXRING(nifp, targ->nmd->first_tx_ring);
1378 ring = NETMAP_RXRING(nifp, i);
1476 struct netmap_if *nifp = targ->nmd->nifp; local
1501 txring = NETMAP_TXRING(nifp, targ->nmd->first_tx_ring);
1506 rxring = NETMAP_RXRING(nifp, i);
1559 struct netmap_if *nifp; local
1626 nifp
1796 struct netmap_if *nifp; local
3152 struct netmap_if *nifp = g.nmd->nifp; local
[all...]
/freebsd-11-stable/sys/net/
H A Dnetmap_user.h34 * The address of the struct netmap_if, say nifp, is computed from the
38 * nifp = NETMAP_IF(mem, req.nr_nifp);
42 * struct netmap_ring *NETMAP_TXRING(nifp, index)
43 * struct netmap_ring *NETMAP_RXRING(nifp, index)
108 #define NETMAP_TXRING(nifp, index) _NETMAP_OFFSET(struct netmap_ring *, \
109 nifp, (nifp)->ring_ofs[index] )
111 #define NETMAP_RXRING(nifp, index) _NETMAP_OFFSET(struct netmap_ring *, \
112 nifp, (nifp)
228 struct netmap_if * const nifp; member in struct:nm_desc
999 struct netmap_if *nifp = NETMAP_IF(d->mem, d->req.nr_offset); local
[all...]
H A Dif.c482 struct ifnet *ifp, *nifp; local
485 TAILQ_FOREACH_SAFE(ifp, &V_ifnet, if_link, nifp) {
/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap_mem2.c263 struct netmap_if *nifp; local
267 nifp = nmd->ops->nmd_if_new(na, priv);
270 return nifp;
1079 * objects (rings, nifp)
1431 * to native interfaces. In all other cases (nifp, netmap rings
1988 struct netmap_if *nifp; local
1989 ssize_t base; /* handy for relative offsets between rings and nifp */
2005 nifp = netmap_if_malloc(na->nm_mem, len);
2006 if (nifp == NULL) {
2012 *(u_int *)(uintptr_t)&nifp
2051 netmap_mem2_if_delete(struct netmap_adapter *na, struct netmap_if *nifp) argument
2631 struct netmap_if *nifp = NULL; local
2646 netmap_mem_pt_guest_if_delete(struct netmap_adapter *na, struct netmap_if *nifp) argument
2661 struct netmap_if *nifp; local
[all...]
H A Dnetmap.c1043 /* delete the nifp */
2251 struct netmap_if *nifp = NULL; local
2326 nifp = netmap_mem_if_new(na, priv);
2327 if (nifp == NULL) {
2349 priv->np_nifp = nifp;
2354 netmap_mem_if_delete(na, nifp);
2459 struct netmap_if *nifp; local
2543 nifp = priv->np_nifp;
2557 *(uint32_t *)(uintptr_t)&nifp->ni_flags |= NI_PRIV_MEM;
2569 &nifp
[all...]
/freebsd-11-stable/usr.sbin/bhyve/
H A Dpci_virtio_net.c374 struct netmap_ring *ring = NETMAP_TXRING(nmd->nifp, r);
414 struct netmap_ring *ring = NETMAP_RXRING(nmd->nifp, r);
/freebsd-11-stable/usr.sbin/ifmcstat/
H A Difmcstat.c332 struct ifnet *ifp, *nifp, ifnet; local
350 nifp = ifnet.if_link.tqe_next;
364 ifp = nifp;

Completed in 141 milliseconds