aboutsummaryrefslogtreecommitdiff
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorMajd Dibbiny2017-02-09 14:20:12 +0200
committerSaeed Mahameed2017-06-16 00:19:44 +0300
commit8812c24d28f4972c4f2b9998bf30b1f2a1b62adf (patch)
tree31d20563fba8998ad57027662299ccc41bc44a77 /drivers/infiniband
parent4525abeaae54560254a1bb8970b3d4c225d32ef4 (diff)
net/mlx5: Add fast unload support in shutdown flow
Adding a support to flush all HW resources with one FW command and skip all the heavy unload flows of the driver on kernel shutdown. There's no need to free all the SW context since a new fresh kernel will be loaded afterwards. Regarding the FW resources, they should be closed, otherwise we will have leakage in the FW. To accelerate this flow, we execute one command in the beginning that tells the FW that the driver isn't going to close any of the FW resources and asks the FW to clean up everything. Once the commands complete, it's safe to close the PCI resources and finish the routine. Signed-off-by: Majd Dibbiny <majd@mellanox.com> Signed-off-by: Maor Gottlieb <maorg@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions