aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorMichael Chan <[email protected]>2021-07-28 14:11:40 -0400
committerDavid S. Miller <[email protected]>2021-07-28 20:23:33 +0100
commita521c8a01d267bc1732ee83fdbf3ad2e02240d63 (patch)
treee001a4207a4540facb629a7d06b75ccf29e480bd /tools/perf/scripts/python/flamegraph.py
parent63caca1e3ef6e5ff53f97b41f03ec2805cca1e2b (diff)
bnxt_en: Move bnxt_ptp_init() from bnxt_open() back to bnxt_init_one()
It was pointed out by Richard Cochran that registering the PHC during probe is better than during ifup, so move bnxt_ptp_init() back to bnxt_init_one(). In order to work correctly after firmware reset which may result in PTP config. changes, we modify bnxt_ptp_init() to return if the PHC has been registered earlier. If PTP is no longer supported by the new firmware, we will unregister the PHC and clean up. This partially reverts: d7859afb6880 ("bnxt_en: Move bnxt_ptp_init() to bnxt_open()") Reviewed-by: Pavan Chebbi <[email protected]> Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions