mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
net/mlx4_core: Add masking for a few queries on HCA caps
[ Upstream commita40ded6043] Driver reads the query HCA capabilities without the corresponding masks. Without the correct masks, the base addresses of the queues are unaligned. In addition some reserved bits were wrongly read. Using the correct masks, ensures alignment of the base addresses and allows future firmware versions safe use of the reserved bits. Fixes:ab9c17a009("mlx4_core: Modify driver initialization flow to accommodate SRIOV for Ethernet") Fixes:0ff1fb654b("{NET, IB}/mlx4: Add device managed flow steering firmware API") Signed-off-by: Aya Levin <ayal@mellanox.com> Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c42b60e230
commit
3e04ca4863
1 changed files with 46 additions and 29 deletions
Loading…
Add table
Add a link
Reference in a new issue