commit | 652bf64622f32c938dd4a8738ba12d51dc9fbdd4 | [log] [tgz] |
---|---|---|
author | Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com> | Wed Apr 25 01:47:03 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 26 05:03:31 2012 -0400 |
tree | 20de774b4a367e09e487d81759e07d8787849a79 | |
parent | d51ebd331166e102591e5c25805d8015df0e1e21 [diff] |
be2net: Fix wrong status getting returned for MCC commands MCC Response CQEs are processed as part of NAPI poll routine and also synchronously. If MCC completions are consumed by NAPI poll routine, wrong status is returned to synchronously waiting routine. Fix this by getting status of MCC command from command response instead of response CQEs. Signed-off-by: Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>