summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAndrew Gallatin <gallatin@FreeBSD.org>2010-01-14 21:10:41 +0000
committerAndrew Gallatin <gallatin@FreeBSD.org>2010-01-14 21:10:41 +0000
commit23fe7fc6c3eb8d7f6bd056ba52a3d14a3f6151ca (patch)
treeb35563785218be70e9b32238faa8f84b6d2b1e60 /sys/dev
parent205adfcf0fa2866f99656096e28551ceb4586b91 (diff)
MFC r202121:
Use better default RSS hash (src + dst, rather than just src port)
Notes
svn path=/stable/7/; revision=202304
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/mxge/if_mxge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mxge/if_mxge.c b/sys/dev/mxge/if_mxge.c
index 8c198eb982d4..fe9374faa838 100644
--- a/sys/dev/mxge/if_mxge.c
+++ b/sys/dev/mxge/if_mxge.c
@@ -97,7 +97,7 @@ static int mxge_verbose = 0;
static int mxge_lro_cnt = 8;
static int mxge_ticks;
static int mxge_max_slices = 1;
-static int mxge_rss_hash_type = MXGEFW_RSS_HASH_TYPE_SRC_PORT;
+static int mxge_rss_hash_type = MXGEFW_RSS_HASH_TYPE_SRC_DST_PORT;
static int mxge_always_promisc = 0;
static int mxge_initial_mtu = ETHERMTU_JUMBO;
static int mxge_throttle = 0;
@@ -3907,7 +3907,7 @@ mxge_fetch_tunables(mxge_softc_t *sc)
sc->pause = mxge_flow_control;
if (mxge_rss_hash_type < MXGEFW_RSS_HASH_TYPE_IPV4
|| mxge_rss_hash_type > MXGEFW_RSS_HASH_TYPE_MAX) {
- mxge_rss_hash_type = MXGEFW_RSS_HASH_TYPE_SRC_PORT;
+ mxge_rss_hash_type = MXGEFW_RSS_HASH_TYPE_SRC_DST_PORT;
}
if (mxge_initial_mtu > ETHERMTU_JUMBO ||
mxge_initial_mtu < ETHER_MIN_LEN)