]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
RDMA/i40iw: Correct STag mask to min of 14 bits
authorChien Tin Tung <Chien.Tin.Tung@intel.com>
Fri, 22 Apr 2016 19:14:24 +0000 (14:14 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 28 Apr 2016 20:32:54 +0000 (16:32 -0400)
commit8e9f04a7c744bb18c193779d04cc5d8d4c21dd11
tree2d85d4d91c8f6e4fb79d9e159eacfa72589451f0
parent9510b0666eaeda032de89a54f112cb3e9f41b2c5
RDMA/i40iw: Correct STag mask to min of 14 bits

STag index mask is calculated incorrectly, missing
the 14 bits minimum requirement. Add max macro to use
either # of MRs or 14 bits in the mask size calculation.

Signed-off-by: Tatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Signed-off-by: Faisal Latif <faisal.latif@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_hw.c