bnxt_re: Fix update of qplib_qp.mtu when modified
authorDevesh Sharma <devesh.sharma@broadcom.com>
Thu, 31 Aug 2017 03:57:28 +0000 (09:27 +0530)
committerDoug Ledford <dledford@redhat.com>
Fri, 22 Sep 2017 17:57:32 +0000 (13:57 -0400)
commitf9b941baa4b78dafcbc4790c0ed2fbbe2aafed06
tree2c3cad72632510b29c5ea5a4b378b7636ee0aa91
parentf16dc0aa5ea20a2cf173e82ade5f05bfecaa850a
bnxt_re: Fix update of qplib_qp.mtu when modified

The MTU value in the qplib_qp.mtu should be
consistent with whatever mtu was set during
INIT to RTR.The Next PSN and number of packets
are calculated based on this member in the qplib_qp structure.

Signed-off-by: Narender Reddy <narender.reddy@broadcom.com>
Signed-off-by: Devesh Sharma <devesh.sharma@broadcom.com>
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/bnxt_re/ib_verbs.c