]> 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)
commit472b29f9dad0add8868ad72f63438e48d642acd4
tree25d2b243fcb1138f6aa1768e929fa6b1409809de
parent08958cd0120bc1f34ed393fdcb5c9fe19c00062e
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: 1c84f135a3b8 ("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