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)
commit6a6fabbfa3e8c656ff906ae999fb6856410fa4cd
treea590a20de03e4428ca1e5f88f1a3b9948192484e
parentf2c7c76c5d0a443053e94adb9f0918fa2fb85c3a
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: 6e3722baac04 ("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