diff options
author | Lee Duncan <lduncan@suse.com> | 2015-04-01 10:23:56 -0700 |
---|---|---|
committer | Chris Leech <cleech@redhat.com> | 2016-04-12 13:02:12 -0700 |
commit | 83f9ebf3136e33c6530010574d90c4634f5b34fe (patch) | |
tree | 6c52e0e274da177722a4ccfd6d2b0510919e9777 | |
parent | 4c1f2d90ef1c73e33d9f1e4ae9c206ffe015a8f9 (diff) | |
download | open-iscsi-83f9ebf3136e33c6530010574d90c4634f5b34fe.tar.gz |
ARP table too small when switches involved.
The default uIP approach is to hae a super-small
memory foot print, but modern networks, with
switches, need more than 8 ARP entries, discovered
during IPv6 using, showing up as slow iscsiuio
response.
-rw-r--r-- | iscsiuio/src/uip/ipv6.h | 2 | ||||
-rw-r--r-- | iscsiuio/src/uip/uipopt.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/iscsiuio/src/uip/ipv6.h b/iscsiuio/src/uip/ipv6.h index bc63762..3586437 100644 --- a/iscsiuio/src/uip/ipv6.h +++ b/iscsiuio/src/uip/ipv6.h @@ -270,7 +270,7 @@ struct ipv6_context { struct ipv6_addr default_router; struct ipv6_prefix_entry *addr_list; u8_t hop_limit; -#define UIP_ARPTAB_SIZE 8 +#define UIP_ARPTAB_SIZE 16 struct uip_stack *ustack; #define MAX_MCADDR_TABLE 5 diff --git a/iscsiuio/src/uip/uipopt.h b/iscsiuio/src/uip/uipopt.h index 946fce2..bcc8949 100644 --- a/iscsiuio/src/uip/uipopt.h +++ b/iscsiuio/src/uip/uipopt.h @@ -341,7 +341,7 @@ #ifdef UIP_CONF_ARPTAB_SIZE #define UIP_ARPTAB_SIZE UIP_CONF_ARPTAB_SIZE #else -#define UIP_ARPTAB_SIZE 8 +#define UIP_ARPTAB_SIZE 16 #endif /** |