]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net/mlx5: Fix modify_cq_in alignment
authorEdward Srouji <edwards@mellanox.com>
Tue, 23 Jul 2019 07:12:55 +0000 (10:12 +0300)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 17 Sep 2019 16:02:18 +0000 (18:02 +0200)
commit014db75dd25d7693e967549e51de41c5c1781845
tree4b8be4a4ea3f151914e188eeb868aaa3d0c07498
parent89d574e64bb6e8f4e126ed0738073d0d5017ae05
net/mlx5: Fix modify_cq_in alignment

BugLink: https://bugs.launchpad.net/bugs/1840378
[ Upstream commit 7a32f2962c56d9d8a836b4469855caeee8766bd4 ]

Fix modify_cq_in alignment to match the device specification.
After this fix the 'cq_umem_valid' field will be in the right offset.

Cc: <stable@vger.kernel.org> # 4.19
Fixes: bd37197554eb ("net/mlx5: Update mlx5_ifc with DEVX UID bits")
Signed-off-by: Edward Srouji <edwards@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
include/linux/mlx5/mlx5_ifc.h