]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/virtio/virtio.h
mbuf: add namespace to offload flags
[dpdk.git] / drivers / net / virtio / virtio.h
index 2c987d19abcb9bc063fa6c45cb1143ef2afe9412..e78b2e429e09b5971f7552a459789dcf9a7b58fe 100644 (file)
@@ -167,6 +167,7 @@ struct virtio_hw {
        uint8_t started;
        uint8_t weak_barriers;
        uint8_t vlan_strip;
+       bool rx_ol_scatter;
        uint8_t has_tx_offload;
        uint8_t has_rx_offload;
        uint8_t use_vec_rx;
@@ -180,6 +181,7 @@ struct virtio_hw {
        uint8_t duplex;
        uint8_t intr_lsc;
        uint16_t max_mtu;
+       size_t max_rx_pkt_len;
        /*
         * App management thread and virtio interrupt handler thread
         * both can change device state, this lock is meant to avoid
@@ -190,6 +192,7 @@ struct virtio_hw {
        uint16_t max_queue_pairs;
        uint64_t req_guest_features;
        struct virtnet_ctl *cvq;
+       bool use_va;
 };
 
 struct virtio_ops {