]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5: fw_tracer, Add support for strings DB update event
authorShay Drory <shayd@nvidia.com>
Thu, 12 Jan 2023 12:33:00 +0000 (14:33 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 8 Feb 2023 00:29:56 +0000 (16:29 -0800)
commit7dfcd110a4584a4354f6cd0496f22da6db78cb17
tree72d3025958566078b74df7650b4975636773b3de
parentb0118ced6b2e4c4d76083724cd4dba766333b3cd
net/mlx5: fw_tracer, Add support for strings DB update event

In case a new string DB is added to the FW, the FW publishes an event
notifying the strings DB have updated.

Add support in driver for handling this event.

Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c
drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.h
include/linux/mlx5/device.h