]> git.hungrycats.org Git - linux/commit
net/mlx5: Take only bit 24-26 of wqe.pftype_wq for page fault type
authorHuy Nguyen <huyn@mellanox.com>
Tue, 11 Sep 2018 19:58:22 +0000 (14:58 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Nov 2018 13:52:50 +0000 (14:52 +0100)
commitbc478700368780c5460391282a098d5ba57464db
treedca75970d030ed7af08c138dbd27c472a6c8482b
parent1d50b74a33d0b201a4bef20461b585317cbf3eb0
net/mlx5: Take only bit 24-26 of wqe.pftype_wq for page fault type

[ Upstream commit a48bc513159d4767f9988f0d857b2b0c38a4d614 ]

The HW spec defines only bits 24-26 of pftype_wq as the page fault type,
use the required mask to ensure that.

Fixes: d9aaed838765 ("{net,IB}/mlx5: Refactor page fault handling")
Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/eq.c