diff options
author | Jubin John <jubin.john@intel.com> | 2016-06-09 14:51:08 (GMT) |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-06-18 00:11:26 (GMT) |
commit | b4ba6633ea153266429f16614029ab1578815390 (patch) | |
tree | d1795e40fb7c5d4aa6fde298db9b3c111ca89871 /drivers/misc/phantom.c | |
parent | 61c78eea9516a921799c17b4c20558e2aa780fd3 (diff) | |
download | linux-b4ba6633ea153266429f16614029ab1578815390.tar.xz |
IB/hfi1: Fix credit return threshold adjustment
The credit return threshold adjustment on mtu change algorithm does not
take into account all the kernel send contexts that are assigned per VL.
Use the pio send context map to adjust the credit return thresholds for
all the allocated and assigned kernel send contexts based on the MTU
adjustment per VL.
The pio send context map can be changed dynamically based on the actual
number of operational vls which is set by the fabric manager. When this
happens update the credit return threshold values for all the remapped
kernel send contexts.
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: Jianxin Xiong <jianxin.xiong@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/misc/phantom.c')
0 files changed, 0 insertions, 0 deletions