net: drop implicit peer from offload API
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | net: remove implicit peer from offload APIhw/ hw/ include/ +1 more | +40 | 0 replies | |
| 2/3 | vhost_net: use offload API instead of bypassing ithw/ | +3 | 0 replies | |
| 3/3 | virtio-net: use qemu_get_queue() where possiblehw/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/3] net: drop implicit peer from offload API
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(-)
Signature · 1 line
1.8.5.3