Lines Matching full:rings

119  * + NIOCREGIF can attach to PIPE rings sharing the same memory
125 * + NIOCREGIF can also attach to 'monitor' rings that replicate
126 * the content of specific rings, also from the same memory space.
130 * netmap:foo all NIC rings pairs
131 * netmap:foo^ only host rings pairs
132 * netmap:foo^k the k-th host rings pair
133 * netmap:foo+ all NIC rings + host rings pairs
134 * netmap:foo-k the k-th NIC rings pair
135 * netmap:foo{k PIPE rings pair k, master side
136 * netmap:foo}k PIPE rings pair k, slave side
138 * Some notes about host rings:
140 * + The RX host rings are used to store those packets that the host network
145 * mbufs in the RX host rings; the netmap port should be registered with
155 * rings, and will be dropped as soon as the packet reaches another netmap
194 * (Only for physical ports, rx rings with NR_FORWARD set).
209 * (VALE tx rings only) data is in a userspace buffer,
236 * (VALE rx rings only) the high 8 bits
250 * In TX rings:
263 * In RX rings:
380 * The number of packet rings available in netmap mode.
381 * Physical NICs can have different numbers of tx and rx rings.
382 * Physical NICs also have at least a 'host' rings pair.
386 const uint32_t ni_tx_rings; /* number of HW tx rings */
387 const uint32_t ni_rx_rings; /* number of HW rx rings */
390 const uint32_t ni_host_tx_rings; /* number of SW tx rings */
391 const uint32_t ni_host_rx_rings; /* number of SW rx rings */
396 * - NIC tx rings (ni_tx_rings);
397 * - host tx rings (ni_host_tx_rings);
398 * - NIC rx rings (ni_rx_rings);
449 * Indicate what set of rings must be bound to the netmap
450 * device (e.g. all NIC rings, host rings only, NIC and
451 * host rings, ...). Values are in NR_REG_*.
455 * rings), indicate which NIC TX and/or RX ring is to be bound
462 * packets on tx rings only if POLLOUT is set.
466 * packets on rx rings also when POLLIN is NOT set.
548 /* Start an in-kernel loop that syncs the rings periodically or
578 * if the TX and/or RX rings are synced in the context of the VM exit.
584 * slots of the registered rings to be used as an offset field
601 uint32_t nr_tx_slots; /* slots in tx rings */
602 uint32_t nr_rx_slots; /* slots in rx rings */
603 uint16_t nr_tx_rings; /* number of tx rings */
604 uint16_t nr_rx_rings; /* number of rx rings */
605 uint16_t nr_host_tx_rings; /* number of host tx rings */
606 uint16_t nr_host_rx_rings; /* number of host rx rings */
614 /* monitors use nr_ringid and nr_mode to select the rings to monitor */
618 /* request exclusive access to the selected rings */
654 /* The ioctl commands to sync TX/RX netmap rings.
663 * Get information about a netmap port, including number of rings.
670 uint32_t nr_tx_slots; /* slots in tx rings */
671 uint32_t nr_rx_slots; /* slots in rx rings */
672 uint16_t nr_tx_rings; /* number of tx rings */
673 uint16_t nr_rx_rings; /* number of rx rings */
674 uint16_t nr_host_tx_rings; /* number of host tx rings */
675 uint16_t nr_host_rx_rings; /* number of host rx rings */
733 uint32_t nr_tx_slots; /* slots in tx rings */
734 uint32_t nr_rx_slots; /* slots in rx rings */
735 uint16_t nr_tx_rings; /* number of tx rings */
736 uint16_t nr_rx_rings; /* number of rx rings */
778 * Start an in-kernel loop that syncs the rings periodically or on