diff options
author | Carol L Soto <clsoto@linux.vnet.ibm.com> | 2016-07-12 17:04:07 -0500 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2017-07-18 14:53:28 +0930 |
commit | 5d7ff7bb141882bd42480dc895dbdbfc576cf181 (patch) | |
tree | bf81abad9c36eb65c26b38df26e62cfde762871f /net/lapb/lapb_in.c | |
parent | fd63a28f13244ea13c5349ca6588fc15f4b0ba20 (diff) | |
download | talos-op-linux-5d7ff7bb141882bd42480dc895dbdbfc576cf181.tar.gz talos-op-linux-5d7ff7bb141882bd42480dc895dbdbfc576cf181.zip |
net/mlx5: Add pci shutdown callback
Backport of commit 5fc7197d3a256 ("net/mlx5: Add pci shutdown callback")
so we can use for the OpenPower kernel.
This patch introduces kexec support for mlx5.
When switching kernels, kexec() calls shutdown, which unloads
the driver and cleans its resources.
In addition, remove unregister netdev from shutdown flow. This will
allow a clean shutdown, even if some netdev clients did not release their
reference from this netdev. Releasing The HW resources only is enough as
the kernel is shutting down
Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Haggai Abramovsky <hagaya@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Carol L Soto <clsoto@linux.vnet.ibm.com>
(cherry picked from commit 5fc7197d3a256d9c5de3134870304b24892a4908)
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions