summaryrefslogtreecommitdiffstats
path: root/sys/dev/mxge/if_mxge.c
diff options
context:
space:
mode:
authorgallatin <gallatin@FreeBSD.org>2010-01-11 22:28:40 +0000
committergallatin <gallatin@FreeBSD.org>2010-01-11 22:28:40 +0000
commit1e3bc23fb52d8c37d433c95d58f57ce906326ae4 (patch)
treee069ab866941328a57318d7be653fc1e3e780e38 /sys/dev/mxge/if_mxge.c
parent513bf23735b4fcd8baf26680eb6f78b2d9c949ae (diff)
downloadFreeBSD-src-1e3bc23fb52d8c37d433c95d58f57ce906326ae4.zip
FreeBSD-src-1e3bc23fb52d8c37d433c95d58f57ce906326ae4.tar.gz
Use better default RSS hash (src + dst, rather than just src port)
MFC after:3 days
Diffstat (limited to 'sys/dev/mxge/if_mxge.c')
-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 a3b0cb9..219c506 100644
--- a/sys/dev/mxge/if_mxge.c
+++ b/sys/dev/mxge/if_mxge.c
@@ -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)
OpenPOWER on IntegriCloud