]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Rightsize ctxt_eager_bufs fields
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Wed, 20 Jun 2018 16:42:49 +0000 (09:42 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 22 Jun 2018 15:12:17 +0000 (09:12 -0600)
commit856173c5ebdb89a45b45f478cbc8afb993664865
tree6e59cdf4ec4463aee930b9973818472860221e4b
parentd19d539f8f7e363f5e0ce3c95c117adc6b7b9699
IB/hfi1: Rightsize ctxt_eager_bufs fields

Fields in this structure are sized excessively based on hardware
limitations and input values.

Fix by reducing fields as appropriate and repositioning to close holes in
the structure.

Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hfi1/hfi.h