From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGRa7-0005uC-US for qemu-devel@nongnu.org; Thu, 20 Feb 2014 06:14:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGRa1-0003RV-N2 for qemu-devel@nongnu.org; Thu, 20 Feb 2014 06:14:19 -0500 Received: from mx1.redhat.com ([209.132.183.28]:9958) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGRa1-0003RJ-Ed for qemu-devel@nongnu.org; Thu, 20 Feb 2014 06:14:13 -0500 From: Stefan Hajnoczi Date: Thu, 20 Feb 2014 12:14:06 +0100 Message-Id: <1392894849-7907-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] net: drop implicit peer from offload API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Vincenzo Maffione This series is based on my net tree, which already has Vincenzo's "Add netmap backend offloadings support" patch series merged. After merging the series I realized we were bypassing the net.h API and directly accessing nc->info->... in some cases. This series cleans that up, at the cost of moving ->peer back up to offload API callers. I think that's the right thing to do to make net.h APIs consistent (the other functions don't have implicit ->peer) and avoid bypassing the API. Stefan Hajnoczi (3): net: remove implicit peer from offload API vhost_net: use offload API instead of bypassing it virtio-net: use qemu_get_queue() where possible hw/net/vhost_net.c | 6 +++--- hw/net/virtio-net.c | 12 ++++++------ hw/net/vmxnet3.c | 18 +++++++++--------- include/net/net.h | 14 +++++++------- net/net.c | 36 ++++++++++++++++++------------------ 5 files changed, 43 insertions(+), 43 deletions(-) -- 1.8.5.3