Hi Peter,
I'm considering not using spinlock to get it work and will resend the
patch later.
Thank you.
Best Regards.
micky
On 04/19/2014 07:13 AM, Peter Wu wrote:
So, I reverted c42deffd5b53c9e583d83c7964854ede2f12410d (mmc: rtsx: add
support for pre_req and post_req) on top of
This feature allows multiple channels to be used by each virtual NIC.
It is available on Hyper-V host 2012 R2.
Signed-off-by: Haiyang Zhang haiya...@microsoft.com
Reviewed-by: K. Y. Srinivasan k...@microsoft.com
---
drivers/net/hyperv/hyperv_net.h | 110 +-
From: Haiyang Zhang haiya...@microsoft.com
Date: Mon, 21 Apr 2014 10:20:28 -0700
This feature allows multiple channels to be used by each virtual NIC.
It is available on Hyper-V host 2012 R2.
Signed-off-by: Haiyang Zhang haiya...@microsoft.com
Reviewed-by: K. Y. Srinivasan
The union contains only one member now, so we use the variables in it directly.
Signed-off-by: Haiyang Zhang haiya...@microsoft.com
Reviewed-by: K. Y. Srinivasan k...@microsoft.com
---
drivers/net/hyperv/hyperv_net.h | 10 +++---
drivers/net/hyperv/netvsc.c |7 +++
Removed recv_pkt_list and lock, and updated related code, so that
the locking overhead is reduced especially when multiple channels
are in use.
The recv_pkt_list isn't actually necessary because the packets are
processed sequentially in each channel. It has been replaced by a
local variable, and
From: Haiyang Zhang haiya...@microsoft.com
Date: Mon, 21 Apr 2014 12:26:15 -0700
@@ -401,8 +401,6 @@ static void rndis_filter_receive_data(struct rndis_device
*dev,
pkt-total_data_buflen = rndis_pkt-data_len;
pkt-data = (void *)((unsigned long)pkt-data + data_offset);
-
Removed recv_pkt_list and lock, and updated related code, so that
the locking overhead is reduced especially when multiple channels
are in use.
The recv_pkt_list isn't actually necessary because the packets are
processed sequentially in each channel. It has been replaced by a
local variable, and
The union contains only one member now, so we use the variables in it directly.
Signed-off-by: Haiyang Zhang haiya...@microsoft.com
Reviewed-by: K. Y. Srinivasan k...@microsoft.com
---
drivers/net/hyperv/hyperv_net.h | 10 +++---
drivers/net/hyperv/netvsc.c |7 +++
-Original Message-
From: David Miller [mailto:da...@davemloft.net]
Sent: Monday, April 21, 2014 2:57 PM
To: Haiyang Zhang
Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de;
jasow...@redhat.com; linux-ker...@vger.kernel.org; driverdev-
de...@linuxdriverproject.org
Subject: