Lines Matching +full:rx +full:- +full:shared
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (C) 2011-2014 Matteo Landi, Luigi Rizzo. All rights reserved.
36 * NIOCTXSYNC, NIOCRXSYNC synchronize tx or rx queues,
50 * can pass it down to other NIC-related ioctls.
65 * On input, non-zero values may be used to reconfigure the port
80 * NETMAP_SW_RING binds only the host tx/rx rings
82 * NETMAP_NO_TX_POLL can be OR-ed to make select()/poll() push
86 * NETMAP_DO_RX_POLL can be OR-ed to make select()/poll() release
87 * packets on rx rings also when POLLIN is NOT set.
88 * The default is to touch the rx ring only with POLLIN.
107 * Region '1' is the global allocator, normally shared
109 * If two ports the same region zero-copy is possible.
115 * nr_cmd (in) if non-zero indicates a special command:
118 * which rings to use. Used by valectl -a ...
120 * as in valectl -h ...
124 * Used by valectl -d ...
130 * Set the virtio-net header length used by the client
135 * Used by valectl -n ...
138 * delete a persistent VALE port. Used by valectl -d ...
153 uint32_t nr_offset; /* nifp offset in the shared region */
154 uint32_t nr_memsize; /* size of the shared region */
156 uint32_t nr_rx_slots; /* slots in rx rings */
158 uint16_t nr_rx_rings; /* number of rx rings */
175 #define NETMAP_BDG_VNET_HDR 5 /* set the port virtio-net-hdr length */
182 #define NETMAP_VNET_HDR_GET 12 /* get the port virtio-net-hdr length */
237 * module via ioctl(fd, NIOCCONFIG, req) for a user-owned