diff options
author | Igor Russkikh <irusskikh@marvell.com> | 2020-08-23 14:19:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-24 18:01:32 -0700 |
commit | 755f982bb1ff469a181df3eaf8dd5d769267ab8e (patch) | |
tree | d8d9bc85ad55e9c2951bb84230794c1902d56c76 /drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c | |
parent | 52306dee5443d2a359c6c64649f8cd80024c542c (diff) | |
download | linux-755f982bb1ff469a181df3eaf8dd5d769267ab8e.tar.gz linux-755f982bb1ff469a181df3eaf8dd5d769267ab8e.tar.bz2 linux-755f982bb1ff469a181df3eaf8dd5d769267ab8e.zip |
qed/qede: make devlink survive recovery
Devlink instance lifecycle was linked to qed_dev object,
that caused devlink to be recreated on each recovery.
Changing it by making higher level driver (qede) responsible for its
life. This way devlink now survives recoveries.
qede now stores devlink structure pointer as a part of its device
object, devlink private data contains a linkage structure,
qed_devlink.
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Alexander Lobakin <alobakin@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c')
0 files changed, 0 insertions, 0 deletions