commit | 5dc806052a9fc8c44e111646f9a9f436877749d0 | [log] [tgz] |
---|---|---|
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | Wed Dec 07 19:34:37 2016 -0800 |
committer | Doug Ledford <dledford@redhat.com> | Sun Dec 11 15:29:42 2016 -0500 |
tree | 05d841ed7bcd9c4ffbbe51dddd9f63574bad09fb | |
parent | c64607aa8abd16ba584523bdf83a708fae91986a [diff] |
IB/rdmavt, IB/hfi1, IB/qib: Add inlines for mtu division Add rvt_div_round_up_mtu() and rvt_div_mtu() routines to do the computation based on the pmtu and the log_pmtu. Change divides in qib, hfi1 to use the new inlines. Reviewed-by: Kaike Wan <kaike.wan@intel.com> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>