Re: Locking issues in mmc: rtsx: add support for pre_req and post_req

2014-04-21 Thread micky
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

[PATCH net-next, v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-04-21 Thread Haiyang Zhang
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 +-

Re: [PATCH net-next,v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-04-21 Thread David Miller
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

[PATCH net-next,2/2] hyperv: Simplify the send_completion variables

2014-04-21 Thread Haiyang Zhang
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 +++

[PATCH net-next,1/2] hyperv: Remove recv_pkt_list and lock

2014-04-21 Thread Haiyang Zhang
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

Re: [PATCH net-next,1/2] hyperv: Remove recv_pkt_list and lock

2014-04-21 Thread David Miller
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); -

[PATCH net-next,v2,1/2] hyperv: Remove recv_pkt_list and lock

2014-04-21 Thread Haiyang Zhang
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

[PATCH net-next, v2, 2/2] hyperv: Simplify the send_completion variables

2014-04-21 Thread Haiyang Zhang
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 +++

RE: [PATCH net-next,1/2] hyperv: Remove recv_pkt_list and lock

2014-04-21 Thread Haiyang Zhang
-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: