[PATCH 3/6] Drivers: net: hyperv: Enable offloads on the host

2014-03-06 Thread K. Y. Srinivasan
Prior to enabling guest side offloads, enable the offloads on the host. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/hyperv_net.h | 55 drivers/net/hyperv/rndis_filter.c | 83

Re: [PATCH 3/6] Drivers: net: hyperv: Enable offloads on the host

2014-03-06 Thread David Miller
From: K. Y. Srinivasan k...@microsoft.com Date: Thu, 6 Mar 2014 03:13:07 -0800 + /* + * can't put_rndis_request, since we may still receive a + * send-completion. + */ Please fix the formatting of this comment. + /* + * Turn on

Re: [PATCH 3/6] Drivers: net: hyperv: Enable offloads on the host

2014-03-06 Thread Dan Carpenter
On Thu, Mar 06, 2014 at 03:13:07AM -0800, K. Y. Srinivasan wrote: + offload_params = (struct ndis_offload_params *)((ulong)set + + set-info_buf_offset); It's a bit simpler to do pointer math like this: offload_params = (void *)set + set-info_buf_offset;