aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorEdwin Peer <edwin.peer@broadcom.com>2021-10-29 03:47:38 -0400
committerDavid S. Miller <davem@davemloft.net>2021-10-29 12:13:04 +0100
commitc7dd4a5b0a155c4db0ff9758668235651c2ebf22 (patch)
treefed6f37cecb386c2f5b9911f4319e136c29ffa38 /tools/perf/scripts/python/export-to-postgresql.py
parentMerge branch 'code-movement-to-br_switchdev-c' (diff)
downloadwireguard-linux-c7dd4a5b0a155c4db0ff9758668235651c2ebf22.tar.xz
wireguard-linux-c7dd4a5b0a155c4db0ff9758668235651c2ebf22.zip
bnxt_en: refactor printing of device info
The device info logged during probe will be reused by the devlink driver_reinit code in a following patch. Extract this logic into the new bnxt_print_device_info() function. The board index needs to be saved in the driver context so that the board information can be retrieved at a later time, outside of the probe function. Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com> Signed-off-by: Edwin Peer <edwin.peer@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions