summaryrefslogtreecommitdiff
path: root/net/netrom/nr_timer.c
diff options
context:
space:
mode:
authorAya Levin <ayal@mellanox.com>2019-01-22 15:19:44 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-06 17:33:27 +0100
commit024dcf5f6943b48f6b29538487cb0f656de784e7 (patch)
treed214fa5f1522a4a069cee6880781f512b1ce0971 /net/netrom/nr_timer.c
parentd1ab05e48257728d21b36f73e9c1221341801eba (diff)
net/mlx4_core: Add masking for a few queries on HCA caps
[ Upstream commit a40ded6043658444ee4dd6ee374119e4e98b33fc ] 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: ab9c17a009ee ("mlx4_core: Modify driver initialization flow to accommodate SRIOV for Ethernet") Fixes: 0ff1fb654bec ("{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>
Diffstat (limited to 'net/netrom/nr_timer.c')
0 files changed, 0 insertions, 0 deletions