X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Flnx_virtio_vnet.c;h=7b6d75c00a63aedddc02b300fc2bfbe2828e21e6;hb=0cfc0855d8a1fc9c6982ec2672c2bc4683eb4e2a;hp=87f158d3f4347e47b2bc8ebd29916064752bef8d;hpb=fdb16aa5e99a19a91264ae84beaf77d3036548d5;p=palacios.git diff --git a/palacios/src/devices/lnx_virtio_vnet.c b/palacios/src/devices/lnx_virtio_vnet.c index 87f158d..7b6d75c 100644 --- a/palacios/src/devices/lnx_virtio_vnet.c +++ b/palacios/src/devices/lnx_virtio_vnet.c @@ -23,12 +23,12 @@ #include #include #include -#include +#include #include #include -#ifndef CONFIG_DEBUG_LINUX_VIRTIO_VNET +#ifndef V3_CONFIG_DEBUG_LINUX_VIRTIO_VNET #undef PrintDebug #define PrintDebug(fmt, args...) #endif @@ -303,7 +303,7 @@ static int do_tx_pkts(struct guest_info * core, memcpy(pkt.header, virtio_pkt->pkt, ETHERNET_HEADER_LEN); pkt.data = virtio_pkt->pkt; - v3_vnet_send_pkt(&pkt, NULL, 1); + v3_vnet_send_pkt(&pkt, NULL); q->used->ring[q->used->index % q->queue_size].id = q->avail->ring[q->cur_avail_idx % q->queue_size]; q->used->ring[q->used->index % q->queue_size].length = pkt_desc->length; // What do we set this to????