diff options
author | Brice Goglin <brice@myri.com> | 2009-12-08 23:24:35 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-08 23:24:35 -0500 |
commit | 4b860abf636fdd963731ae4ccafdd39ebcd5f962 (patch) | |
tree | 9b271124289a48a880f60d443e0abff7e9be0dc1 | |
parent | 2e302ebfeac04beb5a5d6af1ac583c6a1fb76d1a (diff) |
myri10ge: use src+dst for rss hashing
Use a more effective rss hash by default (src + dst, rather than just
src).
Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/myri10ge/myri10ge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c index d38921906bb7..3fcb1c356e0d 100644 --- a/drivers/net/myri10ge/myri10ge.c +++ b/drivers/net/myri10ge/myri10ge.c | |||
@@ -75,7 +75,7 @@ | |||
75 | #include "myri10ge_mcp.h" | 75 | #include "myri10ge_mcp.h" |
76 | #include "myri10ge_mcp_gen_header.h" | 76 | #include "myri10ge_mcp_gen_header.h" |
77 | 77 | ||
78 | #define MYRI10GE_VERSION_STR "1.5.1-1.451" | 78 | #define MYRI10GE_VERSION_STR "1.5.1-1.453" |
79 | 79 | ||
80 | MODULE_DESCRIPTION("Myricom 10G driver (10GbE)"); | 80 | MODULE_DESCRIPTION("Myricom 10G driver (10GbE)"); |
81 | MODULE_AUTHOR("Maintainer: help@myri.com"); | 81 | MODULE_AUTHOR("Maintainer: help@myri.com"); |
@@ -347,7 +347,7 @@ static int myri10ge_max_slices = 1; | |||
347 | module_param(myri10ge_max_slices, int, S_IRUGO); | 347 | module_param(myri10ge_max_slices, int, S_IRUGO); |
348 | MODULE_PARM_DESC(myri10ge_max_slices, "Max tx/rx queues"); | 348 | MODULE_PARM_DESC(myri10ge_max_slices, "Max tx/rx queues"); |
349 | 349 | ||
350 | static int myri10ge_rss_hash = MXGEFW_RSS_HASH_TYPE_SRC_PORT; | 350 | static int myri10ge_rss_hash = MXGEFW_RSS_HASH_TYPE_SRC_DST_PORT; |
351 | module_param(myri10ge_rss_hash, int, S_IRUGO); | 351 | module_param(myri10ge_rss_hash, int, S_IRUGO); |
352 | MODULE_PARM_DESC(myri10ge_rss_hash, "Type of RSS hashing to do"); | 352 | MODULE_PARM_DESC(myri10ge_rss_hash, "Type of RSS hashing to do"); |
353 | 353 | ||