On 2017年05月16日 15:12, Wei Wang wrote:
Hi:
Care to post the driver codes too?
OK. It may take some time to clean up the driver code before post it
out. You can first
have a check of the draft at the repo here:
https://github.com/wei-w-wang/vhost-pci-driver
Best,
Wei
Interesting, looks like there's one copy on tx side. We used to have
zerocopy support for tun for VM2VM traffic. Could you please try to
compare it with your vhost-pci-net by:
- make sure zerocopy is enabled for vhost_net
- comment skb_orphan_frags() in tun_net_xmit()
Thanks