Re: [PATCH net-next 1/1] hyperv: Enable sendbuf mechanism on the send path

2014-04-23 Thread David Miller
From: K. Y. Srinivasan k...@microsoft.com Date: Tue, 22 Apr 2014 11:03:32 -0700 + skb = (struct sk_buff *) + packet-send_completion_tid; As in netvsc_xmit_completion() this must be coded as: skb = (struct sk_buff *) (unsigned

[PATCH net-next 1/1] hyperv: Enable sendbuf mechanism on the send path

2014-04-22 Thread K. Y. Srinivasan
We send packets using a copy-free mechanism (this is the Guest to Host transport via VMBUS). While this is obviously optimal for large packets, it may not be optimal for small packets. Hyper-V host supports a second mechanism for sending packets that is copy based. We implement that mechanism in