Hi!
==
It defines a NETVSC_RECEIVE_BUFFER_SIZE_LEGACY of 15MB instead of 16MB
used on newer versions of this Hypervisor.
Technically this also affects Jessie when running as guest on Windows Server
2008 R2.
==
Not id=af9893a3dc790ae0c4d3e68adde12bc3cb9c63fa but
id=99d3016de4f2a29635f5382b0e9bd0e5f2151487:
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/drivers/net/hyperv?id=99d3016de4f2a29635f5382b0e9bd0e5f2151487
==
. . .
#define NETVSC_RECEIVE_BUFFER_SIZE (1024*1024*16) /* 16MB */
+#define NETVSC_RECEIVE_BUFFER_SIZE_LEGACY (1024*1024*15) /* 15MB */
. . .
+ if (net_device->nvsp_version <= NVSP_PROTOCOL_VERSION_2)
+ net_device->recv_buf_size = NETVSC_RECEIVE_BUFFER_SIZE_LEGACY;
+ else
+ net_device->recv_buf_size = NETVSC_RECEIVE_BUFFER_SIZE;
+
ret = netvsc_init_recv_buf(device);
cleanup:
@@ -898,7 +903,6 @@ int netvsc_device_add(struct hv_device *device, void
*additional_info)
ndev = net_device->ndev;
/* Initialize the NetVSC channel extension */
- net_device->recv_buf_size = NETVSC_RECEIVE_BUFFER_SIZE;
. . .
==
Best regards, Victor Miasnikov
Blog: http://vvm.blog.tut.by/
P.S.
and see:
----- Original Message -----
From: "Victor Miasnikov"
To: <linux-ker...@vger.kernel.org>; "David S. Miller"; "Greg KH"; "Haiyang
Zhang"
Cc: . . .
Sent: Thursday, June 26, 2014 11:19 AM
Subject: Non-FIXed in Linux Kernel v3.14.8 2014-06-16 Fw: hyperv: Change the
receive buffer size for legacy hosts Re:
Regression in hyperv network driver in 3.14 Fw: Debian Bug#748609: ( 3.14-0 :
Hyper-V netvsc no networking)
Hi!
2014-03-09
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/drivers/net/hyperv?id=99d3016de4f2a29635f5382b0e9bd0e5f2151487
hyperv: Change the receive buffer size for legacy hosts
+
Haiyang Zhang write on May 27, 2014 6:22 PM:
I ( Haiyang Zhang) will ask the maintainer
( for backport id=99d3016de4f2a29635f5382b0e9bd0e5f2151487 ), see if it will
be in next 3.14 update as well.
+
Haiyang Zhang on June 25, 2014 19:14 ( UTC+3) :
I ( Haiyang Zhang) have requested that patch for stable branch, but . . . (
VVM: skipped by me)
V.V.M.:
Problem Non-FIXed in Linux Kernel v3.14.8 2014-06-16 :-(
Reason? Roadmap?
(
Without this patch ( i.e. in kernel v3.14 ) LANCard driver/.ko is simply not
start in case VM with OS Linux on Hyper-V
host with Win 2008 R2 ( Win 2012 R2 not affected)
)
Best regards, Victor Miasnikov
Blog: http://vvm.blog.tut.by/
P.S.
About "rules":
IMHO,
In fact _all_ patch equal 16-1 = 15 :-) i.e.
-#define NETVSC_RECEIVE_BUFFER_SIZE (1024*1024*16) /* 16MB */
+#define NETVSC_RECEIVE_BUFFER_SIZE (1024*1024*15) /* 15MB */
----- Original Message -----
From: Victor Miasnikov
To: Haiyang Zhang; Abhishek Gupta (LIS)
Cc: KY Srinivasan; Кулешов Андрей Анатольевич; Mathieu Simon; Bernhard Walle
Sent: Wednesday, June 25, 2014 1:19 PM
Subject: Non-FIXed in Linux Kernel v3.14.8 2014-06-16 Fw: hyperv: Change the
receive buffer size for legacy hosts Re:
Regression in hyperv network driver in 3.14 Fw: Debian Bug#748609:
(linux-image-3.14-0.bpo.1-amd64: Hyper-V netvsc no
networking)
Hi!
Problem Non-FIXed in Linux Kernel v3.14.8 2014-06-16 :-(
Reason? Roadmap?
. . .
==
cat /var/log/syslog
hv_netvsc vmbus_0_9 (unregistered net_device): Unable to complete receive
buffer initialization with NetVsp - status 2
hv_netvsc vmbus_0_9 (unregistered net_device): unable to connect to NetVSP - -22
hv_netvsc vmbus_0_9 (unregistered net_device): unable to add netvsc device (ret
-22)
hv_vmbus: probe failed for device vmbus_0_9 (-22)
hv_netvsc: probe of vmbus_0_9 failed with error -22
==
==
It defines a NETVSC_RECEIVE_BUFFER_SIZE_LEGACY of 15MB instead of 16MB
used on newer versions of this Hypervisor.
Technically this also affects Jessie when running as guest on Windows Server
2008 R2.
==
==
Yes, this commit is in stable tree:
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/drivers/net/hyperv?id=99d3016de4f2a29635f5382b0e9bd0e5f2151487
hyperv: Change the receive buffer size for legacy hosts
I will ask the maintainer, see if it will be in next 3.14 update as well.
Thanks,
- Haiyang
==
Best regards, Victor Miasnikov
Blog: http://vvm.blog.tut.by/
--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/9f909ecfdd7e4592bae75b4c4f56d...@local.st.by