diff options
author | 2016-09-09 17:35:20 +0300 | |
---|---|---|
committer | 2016-09-10 21:21:49 -0700 | |
commit | 59211bd3b6329c3e5f4a90ac3d7f87ffa7867073 (patch) | |
tree | 782750f06a1da5eb35fff85d15f0d6c232f1894b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net/mlx5: Introduce attach/detach to interface API (diff) | |
download | linux-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