IB/hns: Validate mtu when modified qp
authorLijun Ou <oulijun@huawei.com>
Tue, 20 Sep 2016 16:07:07 +0000 (17:07 +0100)
committerDoug Ledford <dledford@redhat.com>
Mon, 3 Oct 2016 15:43:15 +0000 (11:43 -0400)
commitcb814642e7e3e67f6a7c24b14531e95ccdb7c3cc
tree1cc72962df9349143a050804da960f2231d2c2b2
parent7c7a4ea145a5dc914402678d0299a81c3f5b38b6
IB/hns: Validate mtu when modified qp

The mtu should be validated when modify qp,so we check it.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Peter Chen <luck.chen@huawei.com>
Reviewed-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_qp.c