aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMohamad Haj Yahia <mohamad@mellanox.com>2016-09-09 17:35:20 +0300
committerDavid S. Miller <davem@davemloft.net>2016-09-10 21:21:49 -0700
commit59211bd3b6329c3e5f4a90ac3d7f87ffa7867073 (patch)
tree782750f06a1da5eb35fff85d15f0d6c232f1894b /tools/perf/scripts/python/export-to-postgresql.py
parentnet/mlx5: Introduce attach/detach to interface API (diff)
downloadlinux-dev-59211bd3b6329c3e5f4a90ac3d7f87ffa7867073.tar.xz
linux-dev-59211bd3b6329c3e5f4a90ac3d7f87ffa7867073.zip
net/mlx5: Split the load/unload flow into hardware and software flows
Gather all software context creating/destroying in one function and call it once in the first load and in the last unload. load/unload functions will now receive indication if we need to create/destroy the software contexts. In internal/pci error do the unload/load flows without releasing the software objects. In this way we perserve the sw core state and it help us restoring old driver state after PCI error/shutdown. Signed-off-by: Mohamad Haj Yahia <mohamad@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> 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