]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Fix length of irq_index in chars
authorShay Drory <shayd@nvidia.com>
Thu, 19 Aug 2021 13:01:28 +0000 (16:01 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 30 Sep 2021 21:07:56 +0000 (14:07 -0700)
commita81084bbc4670bfaf560cc75b26b8c2cd8d4dc13
tree53913a8db8246de963f037d298777c67c7e76508
parent8ff7012121640e668cf6c73c85291a90669e3543
net/mlx5: Fix length of irq_index in chars

The maximum irq_index can be 2047, This means irq_name should have 4
characters reserve for the irq_index. Hence, increase it to 4.

Fixes: f199b18027cf ("net/mlx5: Enlarge interrupt field in CREATE_EQ")
Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c