summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorTadeusz Struk <tadeusz.struk@intel.com>2017-05-30 02:20:53 +0200
committerDoug Ledford <dledford@redhat.com>2017-07-18 03:21:30 +0200
commitebc9ca43e1d52a85c72fc2d343f353386ed6c188 (patch)
treee62f351cdd802a91d5a5cfea8b8db4c1e15963da /virt
parentIB/hns: Fix for checkpatch.pl comment style warnings (diff)
downloadlinux-ebc9ca43e1d52a85c72fc2d343f353386ed6c188.tar.xz
linux-ebc9ca43e1d52a85c72fc2d343f353386ed6c188.zip
IB/core: Allow QP state transition from reset to error
Playing with IP-O-IB interface can trigger a warning message: "ib0: Failed to modify QP to ERROR state" to be logged. This happens when the QP is in IB_QPS_RESET state and the stack is trying to transition it to IB_QPS_ERR state in ipoib_ib_dev_stop(). According to the IB spec, Table 91 - "QP State Transition Properties" it looks like the transition from reset to error is valid: Transition: Any State to Error Required Attributes: None Optional Attributes: None allowed Actions: Queue processing is stopped. Work Requests pending or in process are completed in error, when possible. This patch allows the transition and quiets the message. Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions