qed: implement devlink dump
authorIgor Russkikh <irusskikh@marvell.com>
Sun, 23 Aug 2020 11:19:32 +0000 (14:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Aug 2020 01:01:33 +0000 (18:01 -0700)
commit27fed78737aeb692efe525d74fcb54dbe9d67973
tree7e71faf6649607d37d03b81dccbbcd44bcda6189
parentb228cb1602ead97be5449cb87b68addea0e8243c
qed: implement devlink dump

Gather and push out full device dump to devlink.
Device dump is the same as with `ethtool -d`, but now its generated
exactly at the moment bad thing happens.

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>
drivers/net/ethernet/qlogic/qed/qed_devlink.c