]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_vhost/vhost.h
vhost: optimize broadcast RARP sync with C11 atomic
[dpdk.git] / lib / librte_vhost / vhost.h
index 507dbf2147adeb4c4e11332b5a3f7dab200dbd57..d2b5dc4fb323ddad626b251a12d8db9e2ab57269 100644 (file)
@@ -350,7 +350,7 @@ struct virtio_net {
        uint32_t                flags;
        uint16_t                vhost_hlen;
        /* to tell if we need broadcast rarp packet */
-       rte_atomic16_t          broadcast_rarp;
+       int16_t                 broadcast_rarp;
        uint32_t                nr_vring;
        int                     dequeue_zero_copy;
        int                     extbuf;