]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Rename is_apu_thread_cq function to is_apu_cq
authorTal Gilboa <talgi@nvidia.com>
Sun, 18 Jul 2021 11:54:13 +0000 (14:54 +0300)
committerLeon Romanovsky <leonro@nvidia.com>
Sun, 25 Jul 2021 08:39:04 +0000 (11:39 +0300)
commit5c22125dddb8004d31e257a3198c450097ee7847
tree9d3dc1d15454f3a04e8f0ff95779b59a47700bbd
parentfe2906c5bac5602e8ce0247a4b5db5daac9531ac
IB/mlx5: Rename is_apu_thread_cq function to is_apu_cq

is_apu_thread_cq() used to detect CQs which are attached to APU
threads. This was extended to support other elements as well,
so the function was renamed to is_apu_cq().

c_eqn_or_apu_element was extended from 8 bits to 32 bits, which wan't
reflected when the APU support was first introduced.

Acked-by: Michael S. Tsirkin <mst@redhat.com> # vdpa
Signed-off-by: Tal Gilboa <talgi@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
drivers/infiniband/hw/mlx5/cq.c
drivers/infiniband/hw/mlx5/devx.c
drivers/net/ethernet/mellanox/mlx5/core/cq.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c
drivers/vdpa/mlx5/net/mlx5_vnet.c
include/linux/mlx5/mlx5_ifc.h