summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2021-07-18 15:36:33 -0400
committerDavid S. Miller <davem@davemloft.net>2021-07-19 08:25:44 -0700
commitde5bf19414fec860168f05d00d574562bd9d86d1 (patch)
treef12e6aad89cbc21832143ed8a134473fe462ee81 /tools/perf/scripts/python/export-to-sqlite.py
parentd7859afb6880249039b178fdfb1bef94fd954cf2 (diff)
bnxt_en: Fix PTP capability discovery
The current PTP initialization logic does not account for firmware reset that may cause PTP capability to change. The valid pointer bp->ptp_cfg is used to indicate that the device is capable of PTP and that it has been initialized. So we must clean up bp->ptp_cfg and free it if the firmware after reset does not support PTP. Fixes: 93cb62d98e9c ("bnxt_en: Enable hardware PTP support") Cc: Richard Cochran <richardcochran@gmail.com> Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions