mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 09:02:44 +00:00
Use better default RSS hash (src + dst, rather than just src port)
MFC after:3 days
This commit is contained in:
parent
669f23dee5
commit
5769c5efb0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=202121
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user