{"push_id":904469300,"size":1,"distinct_size":1,"ref":"refs/heads/dataplane","head":"b617d6459902773d9f4ab843bfaca764f5af8eda","before":"3d062ec54e9a7bf9fb325c1fd693564951f2b319","commits":[{"sha":"b617d6459902773d9f4ab843bfaca764f5af8eda","author":{"email":"9c61b7c5ebb3b288da4fe59954d7c41958e8c3d4@gmail.com","name":"Vincenzo Maffione"},"message":"virtio: read avail_idx from VQ only when necessary\n\nThe virtqueue_pop() implementation needs to check if the avail ring\ncontains some pending buffers. To perform this check, it is not\nalways necessary to fetch the avail_idx in the VQ memory, which is\nexpensive. This patch introduces a shadow variable tracking avail_idx\nand modifies virtio_queue_empty() to access avail_idx in physical\nmemory only when necessary.\n\nSigned-off-by: Vincenzo Maffione <v.maffione@gmail.com>","distinct":true,"url":"https://api.github.com/repos/vmaffione/qemu/commits/b617d6459902773d9f4ab843bfaca764f5af8eda"}]}