Blame SOURCES/open-iscsi-0002-ARP-table-too-small-when-switches-involved.patch

d087b3
From d6fdb1478fbee4abb45df12868b1c91ad295971d Mon Sep 17 00:00:00 2001
d087b3
From: Lee Duncan <lduncan@suse.com>
d087b3
Date: Wed, 1 Apr 2015 10:23:56 -0700
d087b3
Subject: [PATCH v2 2/9] ARP table too small when switches involved.
d087b3
d087b3
The default uIP approach is to hae a super-small
d087b3
memory foot print, but modern networks, with
d087b3
switches, need more than 8 ARP entries, discovered
d087b3
during IPv6 using, showing up as slow iscsiuio
d087b3
response.
d087b3
---
d087b3
 iscsiuio/src/uip/ipv6.h   | 2 +-
d087b3
 iscsiuio/src/uip/uipopt.h | 2 +-
d087b3
 2 files changed, 2 insertions(+), 2 deletions(-)
d087b3
d087b3
diff --git a/iscsiuio/src/uip/ipv6.h b/iscsiuio/src/uip/ipv6.h
d087b3
index bc63762..3586437 100644
d087b3
--- a/iscsiuio/src/uip/ipv6.h
d087b3
+++ b/iscsiuio/src/uip/ipv6.h
d087b3
@@ -270,7 +270,7 @@ struct ipv6_context {
d087b3
 	struct ipv6_addr default_router;
d087b3
 	struct ipv6_prefix_entry *addr_list;
d087b3
 	u8_t hop_limit;
d087b3
-#define UIP_ARPTAB_SIZE 8
d087b3
+#define UIP_ARPTAB_SIZE 16
d087b3
 
d087b3
 	struct uip_stack *ustack;
d087b3
 #define MAX_MCADDR_TABLE 5
d087b3
diff --git a/iscsiuio/src/uip/uipopt.h b/iscsiuio/src/uip/uipopt.h
d087b3
index 946fce2..bcc8949 100644
d087b3
--- a/iscsiuio/src/uip/uipopt.h
d087b3
+++ b/iscsiuio/src/uip/uipopt.h
d087b3
@@ -341,7 +341,7 @@
d087b3
 #ifdef UIP_CONF_ARPTAB_SIZE
d087b3
 #define UIP_ARPTAB_SIZE UIP_CONF_ARPTAB_SIZE
d087b3
 #else
d087b3
-#define UIP_ARPTAB_SIZE 8
d087b3
+#define UIP_ARPTAB_SIZE 16
d087b3
 #endif
d087b3
 
d087b3
 /**
d087b3
-- 
d087b3
2.5.5
d087b3