]> git.baikalelectronics.ru Git - kernel.git/commit
IB/rdmavt: Max atomic value should be a u8
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Tue, 24 May 2016 19:50:34 +0000 (12:50 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 26 May 2016 16:21:10 +0000 (12:21 -0400)
commite24a43f7f944514e437cc47dcfee09c0eabdbec6
tree4060e599791b136cf2eb4bf948711c09c2789821
parente5cc6dd6de54263b135cbe65a9d64822e726d310
IB/rdmavt: Max atomic value should be a u8

This matches the ib_qp_attr size and
avoids a extremely large value when the lower level
driver registers.

As part of the patch, the u8 ordinals are moved to the
end of the struct to reduce pahole noted excesses.

Reviewed-by: Mitko Haralanov <mitko.haralanov@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
include/rdma/rdma_vt.h