]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Update pci error handler entries and command translation
authorEdward Srouji <edwards@mellanox.com>
Thu, 23 May 2019 16:45:38 +0000 (19:45 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 7 Jun 2019 21:40:36 +0000 (14:40 -0700)
commit5d4d4744a2a87010a0f092e2386438f45cdb9b88
treea590a20de03e4428ca1e5f88f1a3b9948192484e
parent31750888ad4ce9d2a30f744c4c2ab30aee07f569
net/mlx5: Update pci error handler entries and command translation

Add missing entries for create/destroy UCTX and UMEM commands.
This could get us wrong "unknown FW command" error in flows
where we unbind the device or reset the driver.

Also the translation of these commands from opcodes to string
was missing.

Fixes: f15b50308a5f ("IB/mlx5: Use the correct commands for UMEM and UCTX allocation")
Signed-off-by: Edward Srouji <edwards@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/cmd.c