replace packed attributes
[dpdk.git] / drivers / net / virtio / virtio_pci.h
index a38cb45..302d6c3 100644 (file)
@@ -135,6 +135,12 @@ struct virtnet_ctl;
  */
 #define VIRTIO_F_ORDER_PLATFORM 36
 
+/*
+ * This feature indicates that the driver passes extra data (besides
+ * identifying the virtqueue) in its device notifications.
+ */
+#define VIRTIO_F_NOTIFICATION_DATA 38
+
 /* The Guest publishes the used index for which it expects an interrupt
  * at the end of the avail ring. Host should ignore the avail->flags field. */
 /* The Host publishes the avail index for which it expects a kick
@@ -299,7 +305,7 @@ struct virtio_net_config {
        uint16_t   status;
        uint16_t   max_virtqueue_pairs;
        uint16_t   mtu;
-} __attribute__((packed));
+} __rte_packed;
 
 /*
  * How many bits to shift physical queue address written to QUEUE_PFN.