]> 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)
commitca8650a52e8072a27814777e8ba6916d9b01e024
treea590a20de03e4428ca1e5f88f1a3b9948192484e
parentd83205627bdc954bcd68d3caeed660651e7d9f0d
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: 51cd75124b09 ("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