]> 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)
commitd25c8028766ad82912312f6f77da90d01b17531a
tree2c3cad72632510b29c5ea5a4b378b7636ee0aa91
parent184eb268db06dba46d9c42eda2ea3249170e74e0
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