Skip to content
Commit 6852af86 authored by oulijun's avatar oulijun Committed by Doug Ledford
Browse files

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: default avatarLijun Ou <oulijun@huawei.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 6e1a7094
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment