aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-11-10 14:07:14 +0000
committerDavid S. Miller <davem@davemloft.net>2019-11-11 16:17:01 -0800
commit6b0da5c9c1a39eeead9c75eef3a0f2f62c375b2f (patch)
tree5ac4169ce85dc0faac0b5c2c650b1938fea9258d /tools/perf/scripts/python/export-to-postgresql.py
parentd23751a094012f7d0d7b6fb694f3c1ecb19e4a41 (diff)
net: sfp: track upstream's attachment state in state machine
Track the upstream's attachment state in the state machine rather than maintaining a boolean, which ensures that we have a strict order of ATTACH followed by an UP event - we can never believe that a newly attached upstream will be anything but down. Rearrange the order of state machines so we run the module state machine after the upstream device's state machine, so the module state machine can check the current state of the device and take action to e.g. reset back to empty state when the upstream is detached. This is to allow the module detection to run independently of the network device becoming available. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions