Lines Matching full:1
9 * 1. Redistributions of source code must retain the above copyright
36 #define VIRTIO_NET_F_GUEST_CSUM 1 /* Guest handles pkts w/ partial csum */
78 #define VIRTIO_NET_S_LINK_UP 1 /* Link is up */
82 #define VIRTIO_NET_RSS_HASH_TYPE_IPv4 (1 << 0)
83 #define VIRTIO_NET_RSS_HASH_TYPE_TCPv4 (1 << 1)
84 #define VIRTIO_NET_RSS_HASH_TYPE_UDPv4 (1 << 2)
85 #define VIRTIO_NET_RSS_HASH_TYPE_IPv6 (1 << 3)
86 #define VIRTIO_NET_RSS_HASH_TYPE_TCPv6 (1 << 4)
87 #define VIRTIO_NET_RSS_HASH_TYPE_UDPv6 (1 << 5)
88 #define VIRTIO_NET_RSS_HASH_TYPE_IP_EX (1 << 6)
89 #define VIRTIO_NET_RSS_HASH_TYPE_TCP_EX (1 << 7)
90 #define VIRTIO_NET_RSS_HASH_TYPE_UDP_EX (1 << 8)
99 * Legal values are between 1 and 0x8000
105 * speed, in units of 1Mb. All values 0 to INT_MAX are legal.
131 #define VIRTIO_NET_HDR_F_NEEDS_CSUM 1 /* Use csum_start, csum_offset */
136 #define VIRTIO_NET_HDR_GSO_TCPV4 1 /* GSO frame, IPv4 TCP (TSO) */
171 #define VIRTIO_NET_HASH_REPORT_IPv4 1
223 #define VIRTIO_NET_ERR 1
227 * All commands require an "out" sg entry containing a 1 byte
229 * 0 and 1 are supported with the VIRTIO_NET_F_CTRL_RX feature.
234 #define VIRTIO_NET_CTRL_RX_ALLMULTI 1
264 #define VIRTIO_NET_CTRL_MAC 1
266 #define VIRTIO_NET_CTRL_MAC_ADDR_SET 1
279 #define VIRTIO_NET_CTRL_VLAN_DEL 1
310 #define VIRTIO_NET_CTRL_MQ_VQ_PAIRS_MIN 1
324 uint16_t indirection_table[1/* + indirection_table_mask */];
334 uint16_t indirection_table[/* 1 + indirection_table_mask */];
343 #define VIRTIO_NET_CTRL_MQ_RSS_CONFIG 1
408 #define VIRTIO_NET_CTRL_NOTF_COAL_RX_SET 1
428 #define VIRTIO_NET_CTRL_STATS_GET 1
432 #define VIRTIO_NET_STATS_TYPE_CVQ (1ULL << 32)
434 #define VIRTIO_NET_STATS_TYPE_RX_BASIC (1ULL << 0)
435 #define VIRTIO_NET_STATS_TYPE_RX_CSUM (1ULL << 1)
436 #define VIRTIO_NET_STATS_TYPE_RX_GSO (1ULL << 2)
437 #define VIRTIO_NET_STATS_TYPE_RX_SPEED (1ULL << 3)
439 #define VIRTIO_NET_STATS_TYPE_TX_BASIC (1ULL << 16)
440 #define VIRTIO_NET_STATS_TYPE_TX_CSUM (1ULL << 17)
441 #define VIRTIO_NET_STATS_TYPE_TX_GSO (1ULL << 18)
442 #define VIRTIO_NET_STATS_TYPE_TX_SPEED (1ULL << 19)
444 uint64_t supported_stats_types[1];
451 uint64_t types_bitmap[1];
452 } stats[1];
459 #define VIRTIO_NET_STATS_TYPE_REPLY_RX_CSUM 1