aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJulian Wiedmann <[email protected]>2018-07-19 12:43:49 +0200
committerDavid S. Miller <[email protected]>2018-07-21 10:12:29 -0700
commit70551dc46ffa3555a0b5f3545b0cd87ab67fd002 (patch)
tree07a791c55d815660b1231b967d06cb8098d57b62 /tools/perf/scripts/python
parenta702349a4099cd5a7bab0904689d8e0bf8dcd622 (diff)
s390/qeth: reset layer2 attribute on layer switch
After the subdriver's remove() routine has completed, the card's layer mode is undetermined again. Reflect this in the layer2 field. If qeth_dev_layer2_store() hits an error after remove() was called, the card _always_ requires a setup(), even if the previous layer mode is requested again. But qeth_dev_layer2_store() bails out early if the requested layer mode still matches the current one. So unless we reset the layer2 field, re-probing the card back to its previous mode is currently not possible. Signed-off-by: Julian Wiedmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions