qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] net: drop implicit peer from offload API
@ 2014-02-20 11:14 Stefan Hajnoczi
  2014-02-20 11:14 ` [Qemu-devel] [PATCH 1/3] net: remove " Stefan Hajnoczi
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Stefan Hajnoczi @ 2014-02-20 11:14 UTC (permalink / raw)
  To: qemu-devel; +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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-02-20 11:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-20 11:14 [Qemu-devel] [PATCH 0/3] net: drop implicit peer from offload API Stefan Hajnoczi
2014-02-20 11:14 ` [Qemu-devel] [PATCH 1/3] net: remove " Stefan Hajnoczi
2014-02-20 11:14 ` [Qemu-devel] [PATCH 2/3] vhost_net: use offload API instead of bypassing it Stefan Hajnoczi
2014-02-20 11:14 ` [Qemu-devel] [PATCH 3/3] virtio-net: use qemu_get_queue() where possible Stefan Hajnoczi
2014-02-20 11:58 ` [Qemu-devel] [PATCH 0/3] net: drop implicit peer from offload API Vincenzo Maffione

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).