OSDN Git Service

net/mlx5: Fix crdump chunks print
authorMoshe Shemesh <moshe@mellanox.com>
Sun, 14 Jul 2019 11:06:40 +0000 (14:06 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 22 Aug 2019 20:38:47 +0000 (13:38 -0700)
commit8465df4025dd4ab84fc24dad6a91cc2b9ec1604d
treec69cfa2453f82b68c639253aafd23860d35caa0e
parentcc07db5a5b100bc8eaab5097a23d72f858979750
net/mlx5: Fix crdump chunks print

Crdump repeats itself every chunk of 256bytes.
That is due to bug of missing progressing offset while copying the data
from buffer to devlink_fmsg.

Fixes: 9b1f29823605 ("net/mlx5: Add support for FW fatal reporter dump")
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/health.c