commit | 6852af86627c7bd8de11c9ad3eb5cca7d99e5884 | [log] [tgz] |
---|---|---|
author | oulijun <oulijun@huawei.com> | Thu Apr 26 14:46:18 2018 +0800 |
committer | Doug Ledford <dledford@redhat.com> | Fri Apr 27 14:20:47 2018 -0400 |
tree | 495db3a00870a0304748ade77019c7546ba37834 | |
parent | 6e1a70943cecdca9bb13b601b1a9772a7bdcc2c3 [diff] |
RDMA/hns: Only assign mtu if IB_QP_PATH_MTU bit is set Only when the IB_QP_PATH_MTU flag of attr_mask is set it is valid to assign the mtu field of qp context when qp type is not GSI and UD. Signed-off-by: Lijun Ou <oulijun@huawei.com> Signed-off-by: Doug Ledford <dledford@redhat.com>