summaryrefslogtreecommitdiffstats
path: root/sys/dev/virtio/virtqueue.h
diff options
context:
space:
mode:
authorbryanv <bryanv@FreeBSD.org>2014-06-29 00:37:59 +0000
committerbryanv <bryanv@FreeBSD.org>2014-06-29 00:37:59 +0000
commita672dfd83f7fd03be3300440ee58815eb6427161 (patch)
treeffbd817301281a871c52dc9c4eaa78ef0d972b24 /sys/dev/virtio/virtqueue.h
parent7a51d5500789f348ee8a2418972c6b0780236682 (diff)
downloadFreeBSD-src-a672dfd83f7fd03be3300440ee58815eb6427161.zip
FreeBSD-src-a672dfd83f7fd03be3300440ee58815eb6427161.tar.gz
MFC r267520, r267521, r267522, r267523, r267524:
- Remove two write-only local variables - Remove unused element in the vtnet_rxq structure - Remove kernel specific macro out of the VirtIO PCI header file - Move the VIRTIO_RING_F_* defines out of virtqueue.h into virtio_config.h - Make the feature negotiation code easier to follow - Force two byte alignment for all control message headers
Diffstat (limited to 'sys/dev/virtio/virtqueue.h')
-rw-r--r--sys/dev/virtio/virtqueue.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/virtio/virtqueue.h b/sys/dev/virtio/virtqueue.h
index 0d4ed94..3f507a8 100644
--- a/sys/dev/virtio/virtqueue.h
+++ b/sys/dev/virtio/virtqueue.h
@@ -32,12 +32,6 @@
struct virtqueue;
struct sglist;
-/* Support for indirect buffer descriptors. */
-#define VIRTIO_RING_F_INDIRECT_DESC (1 << 28)
-
-/* Support to suppress interrupt until specific index is reached. */
-#define VIRTIO_RING_F_EVENT_IDX (1 << 29)
-
/* Device callback for a virtqueue interrupt. */
typedef void virtqueue_intr_t(void *);
OpenPOWER on IntegriCloud