svn commit: r202121 - head/sys/dev/mxge
Andrew Gallatin
gallatin at FreeBSD.org
Mon Jan 11 22:28:41 UTC 2010
Author: gallatin
Date: Mon Jan 11 22:28:40 2010
New Revision: 202121
URL: http://svn.freebsd.org/changeset/base/202121
Log:
Use better default RSS hash (src + dst, rather than just src port)
MFC after:3 days
Modified:
head/sys/dev/mxge/if_mxge.c
Modified: head/sys/dev/mxge/if_mxge.c
==============================================================================
--- head/sys/dev/mxge/if_mxge.c Mon Jan 11 22:25:09 2010 (r202120)
+++ head/sys/dev/mxge/if_mxge.c Mon Jan 11 22:28:40 2010 (r202121)
@@ -104,7 +104,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;
@@ -4174,7 +4174,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)
More information about the svn-src-all
mailing list