diff options
author | Haiyang Zhang <haiyangz@microsoft.com> | 2015-03-26 17:03:37 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-29 21:49:55 +0200 |
commit | 7c3877f275ee6b479fa828947811c76d431501ca (patch) | |
tree | c4eb557ff31ea579d0a52aa5e4623b8fabf4a688 /drivers/net/hyperv/netvsc_drv.c | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next (diff) | |
download | linux-7c3877f275ee6b479fa828947811c76d431501ca.tar.xz linux-7c3877f275ee6b479fa828947811c76d431501ca.zip |
hv_netvsc: Implement batching in send buffer
With this patch, we can send out multiple RNDIS data packets in one send buffer
slot and one VMBus message. It reduces the overhead associated with VMBus messages.
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/netvsc_drv.c')
-rw-r--r-- | drivers/net/hyperv/netvsc_drv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c index a06bd6614007..0c998186039e 100644 --- a/drivers/net/hyperv/netvsc_drv.c +++ b/drivers/net/hyperv/netvsc_drv.c @@ -413,6 +413,8 @@ static int netvsc_start_xmit(struct sk_buff *skb, struct net_device *net) return NETDEV_TX_OK; } + packet->xmit_more = skb->xmit_more; + packet->vlan_tci = skb->vlan_tci; packet->q_idx = skb_get_queue_mapping(skb); |