aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2020-04-26 23:36:56 +0200
committerDavid S. Miller <[email protected]>2020-04-27 11:48:47 -0700
commit10478283f210e64ac682083083437dd5f89b7c4a (patch)
tree5abeb25dcde655c95f0ead680dd9b7493830a22d /lib/memory-notifier-error-inject.c
parent975e8505e6701c77b43bcdd5acc48d3735063b68 (diff)
r8169: improve configuring RxConfig register
Two bits in RxConfig are controlled by the following dev->feature's: - NETIF_F_RXALL - NETIF_F_HW_VLAN_CTAG_RX (since RTL8125) We have to take care that RxConfig gets fully configured in rtl_hw_start() after e.g. resume from hibernation. Therefore: - Factor out setting the feature-controlled RxConfig bits to a new function rtl_set_rx_config_features() that is called from rtl8169_set_features() and rtl_hw_start(). - Don't deal with RX_VLAN_8125 in rtl_init_rxcfg(), it will be set by rtl_set_rx_config_features(). - Don't handle NETIF_F_RXALL in rtl_set_rx_mode(). Signed-off-by: Heiner Kallweit <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions