]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb3dd7fbcb1c7fefaf327993529f7525f82ac66da
tree2c3cad72632510b29c5ea5a4b378b7636ee0aa91
parent747b47189f3b320a0f7c9025db3eee8e04cc9413
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