[Trusty][SRU][PATCH 1/2] Drivers: hv: vmbus: Increase the limit on the number of pfns we can handle

Joseph Salisbury joseph.salisbury at canonical.com
Mon Oct 26 19:28:35 UTC 2015


From: "K. Y. Srinivasan" <kys at microsoft.com>

BugLink: http://bugs.launchpad.net/bugs/1495983

Increase the number of PFNs we can handle in a single vmbus packet.
Some network packets may have more PFNs than the current limit we have.
This is not a bug and this patch can be applied to the *next tree.

Signed-off-by: K. Y. Srinivasan <kys at microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
(cherry picked from commit 7e5ec36834a5752304dc0751dfab42ba6ad64a85)
Signed-off-by: Joseph Salisbury <joseph.salisbury at canonical.com>
---
 include/linux/hyperv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
index 4c17d5e..8fc50f8 100644
--- a/include/linux/hyperv.h
+++ b/include/linux/hyperv.h
@@ -37,7 +37,7 @@
 #include <linux/mod_devicetable.h>
 
 
-#define MAX_PAGE_BUFFER_COUNT				19
+#define MAX_PAGE_BUFFER_COUNT				32
 #define MAX_MULTIPAGE_BUFFER_COUNT			32 /* 128K */
 
 #pragma pack(push, 1)
-- 
2.1.0





More information about the kernel-team mailing list