From: KY Srinivasan
Date: Sat, 8 Mar 2014 10:27:54 +
> "len" would have gotten decremented prior to the check and in the
> case we are talking about, "len" would be zero and so j would not
> get incremented.
You are correct, this is the part of the logic in this case which I
missed.
; jasow...@redhat.com
> Subject: Re: [PATCH V2 1/6] Drivers: net: hyperv: Enable scatter gather I/O
>
> From: KY Srinivasan
> Date: Sat, 8 Mar 2014 04:12:01 +
>
> >
> >
> >> -Original Message-
> >> From: David Miller [mailto:da...@davemloft.net]
: [PATCH V2 1/6] Drivers: net: hyperv: Enable scatter gather I/O
From: KY Srinivasan k...@microsoft.com
Date: Sat, 8 Mar 2014 04:12:01 +
-Original Message-
From: David Miller [mailto:da...@davemloft.net]
Sent: Saturday, March 8, 2014 3:18 AM
To: KY Srinivasan
Cc: net
From: KY Srinivasan k...@microsoft.com
Date: Sat, 8 Mar 2014 10:27:54 +
len would have gotten decremented prior to the check and in the
case we are talking about, len would be zero and so j would not
get incremented.
You are correct, this is the part of the logic in this case which I
linux-kernel@vger.kernel.org;
>> de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com;
>> jasow...@redhat.com
>> Subject: Re: [PATCH V2 1/6] Drivers: net: hyperv: Enable scatter gather I/O
>>
>> From: "K. Y. Srinivasan"
>> Date: Thu, 6 Mar 2014 21:3
; jasow...@redhat.com
> Subject: Re: [PATCH V2 1/6] Drivers: net: hyperv: Enable scatter gather I/O
>
> From: "K. Y. Srinivasan"
> Date: Thu, 6 Mar 2014 21:32:36 -0800
>
> > +static u32 fill_pg_buf(struct page *page, u32 offset, u32 len,
> > +
From: "K. Y. Srinivasan"
Date: Thu, 6 Mar 2014 21:32:36 -0800
> +static u32 fill_pg_buf(struct page *page, u32 offset, u32 len,
> + struct hv_page_buffer *pb)
> +{
> + int j = 0;
> +
> + /* Deal with compund pages by ignoring unused part
> + * of the page.
> +
From: K. Y. Srinivasan k...@microsoft.com
Date: Thu, 6 Mar 2014 21:32:36 -0800
+static u32 fill_pg_buf(struct page *page, u32 offset, u32 len,
+ struct hv_page_buffer *pb)
+{
+ int j = 0;
+
+ /* Deal with compund pages by ignoring unused part
+ * of the
: [PATCH V2 1/6] Drivers: net: hyperv: Enable scatter gather I/O
From: K. Y. Srinivasan k...@microsoft.com
Date: Thu, 6 Mar 2014 21:32:36 -0800
+static u32 fill_pg_buf(struct page *page, u32 offset, u32 len,
+ struct hv_page_buffer *pb)
+{
+ int j = 0
...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com;
jasow...@redhat.com
Subject: Re: [PATCH V2 1/6] Drivers: net: hyperv: Enable scatter gather I/O
From: K. Y. Srinivasan k...@microsoft.com
Date: Thu, 6 Mar 2014 21:32:36 -0800
+static u32 fill_pg_buf(struct page *page, u32 offset, u32 len
Cleanup the code and enable scatter gather I/O.
Signed-off-by: K. Y. Srinivasan
Reviewed-by: Haiyang Zhang
---
drivers/net/hyperv/netvsc_drv.c | 153 +--
1 files changed, 114 insertions(+), 39 deletions(-)
diff --git a/drivers/net/hyperv/netvsc_drv.c
Cleanup the code and enable scatter gather I/O.
Signed-off-by: K. Y. Srinivasan k...@microsoft.com
Reviewed-by: Haiyang Zhang haiya...@microsoft.com
---
drivers/net/hyperv/netvsc_drv.c | 153 +--
1 files changed, 114 insertions(+), 39 deletions(-)
diff --git
12 matches
Mail list logo