]> xenbits.xensource.com Git - people/ssmith/nc2-2.6.27.git/commitdiff
commit 3102ab2445cce8821c076c96cd41ccde09486254
authorSteven Smith <ssmith@weybridge.uk.xensource.com>
Fri, 19 Jun 2009 14:35:14 +0000 (15:35 +0100)
committerSteven Smith <ssmith@weybridge.uk.xensource.com>
Tue, 30 Jun 2009 12:02:13 +0000 (13:02 +0100)
Author: Jose Renato Santos <jsantos@hpl.hp.com>
Date:   Wed Jun 17 10:30:32 2009 -0700

    Increase grant copy batch size.

Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
drivers/xen/netchannel2/netchannel2_core.h

index c8903295af536b5f62b4a6bce11152d8fec2130d..20c1a8b0eba4402dc441c5edacd3882769b0179e 100644 (file)
@@ -295,10 +295,11 @@ struct pending_finish_packets {
         RING_IDX cons;
 };
 
+#define RX_GRANT_COPY_BATCH 32 
 struct hypercall_batcher {
         unsigned nr_pending_gops;
-        gnttab_copy_t gops[16];
-        void *ctxt[16];
+        gnttab_copy_t gops[2*RX_GRANT_COPY_BATCH];
+        void *ctxt[2*RX_GRANT_COPY_BATCH];
 };
 
 struct netchannel2_ring_pair {