]> git.baikalelectronics.ru Git - kernel.git/commit
i40iw: Correct Q1/XF object count equation
authorShiraz Saleem <shiraz.saleem@intel.com>
Fri, 22 Dec 2017 15:46:56 +0000 (09:46 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 22 Dec 2017 20:38:05 +0000 (13:38 -0700)
commit29e442d46f3d3f0031811fbb159760320c64b740
tree25d2b243fcb1138f6aa1768e929fa6b1409809de
parent01ed652f9886fce0eec2e9771ac06d0149c0caa2
i40iw: Correct Q1/XF object count equation

Lower Inbound RDMA Read Queue (Q1) object count by a factor of 2
as it is incorrectly doubled. Also, round up Q1 and Transmit FIFO (XF)
object count to power of 2 to satisfy hardware requirement.

Fixes: 86b36c0d5900 ("i40iw: add file to handle cqp calls")
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/i40iw/i40iw_ctrl.c