mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
- Fix bug where device would loose promisc setting when reset.
- Allow all rss hash modes to be chosen
This commit is contained in:
parent
8c0fec805f
commit
bb8ddc66ea
1 changed files with 2 additions and 2 deletions
|
|
@ -1310,7 +1310,7 @@ mxge_reset(mxge_softc_t *sc, int interrupts_setup)
|
|||
}
|
||||
sc->rdma_tags_available = 15;
|
||||
status = mxge_update_mac_address(sc);
|
||||
mxge_change_promisc(sc, 0);
|
||||
mxge_change_promisc(sc, sc->ifp->if_flags & IFF_PROMISC);
|
||||
mxge_change_pause(sc, sc->pause);
|
||||
mxge_set_multicast_list(sc);
|
||||
return status;
|
||||
|
|
@ -4020,7 +4020,7 @@ mxge_fetch_tunables(mxge_softc_t *sc)
|
|||
mxge_ticks = hz / 2;
|
||||
sc->pause = mxge_flow_control;
|
||||
if (mxge_rss_hash_type < MXGEFW_RSS_HASH_TYPE_IPV4
|
||||
|| mxge_rss_hash_type > MXGEFW_RSS_HASH_TYPE_SRC_PORT) {
|
||||
|| mxge_rss_hash_type > MXGEFW_RSS_HASH_TYPE_MAX) {
|
||||
mxge_rss_hash_type = MXGEFW_RSS_HASH_TYPE_SRC_PORT;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue