summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVadim Pasternak <vadimp@mellanox.com>2016-11-16 17:20:45 +0300
committerDavid S. Miller <davem@davemloft.net>2016-11-17 07:29:04 +0300
commit4ebd00bc5ffc747f07fe23b1993adc9e6220ba2f (patch)
treea5bec95e14b2df8d69495c2af7901e06043d1511 /tools/perf/scripts/python
parent6882b0aee180f2797b8803bdf699aa45c2e5f2d6 (diff)
downloadlinux-4ebd00bc5ffc747f07fe23b1993adc9e6220ba2f.tar.xz
mlxsw: Invoke driver's init/fini methods only if defined
We are going to add a minimal driver on top of the mlxsw core infrastructure, which will be mainly used for hardware monitoring in Baseboard management controller (BMC) installations. Unlike the switch drivers (e.g., spectrum, switchx2), this driver does not initialize the ASIC and therefore doesn't need to implement the init() and fini() methods in its 'mlxsw_driver' struct. Signed-off-by: Vadim Pasternak <vadimp@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions