crypto: qat - detect PFVF collision after ACK
Detect a PFVF collision between the local and the remote function by checking if the message on the PFVF CSR has been overwritten. This is done after the remote function confirms that the message has been received, by clearing the interrupt bit, or the maximum number of attempts (ADF_IOV_MSG_ACK_MAX_RETRY) to check the CSR has been exceeded. Fixes: ed8ccaef ("crypto: qat - Add support for SRIOV") Signed-off-by: NGiovanni Cabiddu <giovanni.cabiddu@intel.com> Co-developed-by: NMarco Chiappero <marco.chiappero@intel.com> Signed-off-by: NMarco Chiappero <marco.chiappero@intel.com> Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
Showing
想要评论请 注册 或 登录