|
@@ -575,20 +575,12 @@ mv_cesa_ahash_dma_last_req(struct mv_cesa_tdma_chain *chain,
|
|
if (IS_ERR(op))
|
|
if (IS_ERR(op))
|
|
return op;
|
|
return op;
|
|
|
|
|
|
- mv_cesa_update_op_cfg(op, CESA_SA_DESC_CFG_MID_FRAG,
|
|
|
|
- CESA_SA_DESC_CFG_FRAG_MSK);
|
|
|
|
-
|
|
|
|
if (len == trailerlen)
|
|
if (len == trailerlen)
|
|
return op;
|
|
return op;
|
|
|
|
|
|
padoff += len;
|
|
padoff += len;
|
|
}
|
|
}
|
|
|
|
|
|
- if (!mv_cesa_mac_op_is_first_frag(&creq->op_tmpl))
|
|
|
|
- mv_cesa_update_op_cfg(&creq->op_tmpl,
|
|
|
|
- CESA_SA_DESC_CFG_MID_FRAG,
|
|
|
|
- CESA_SA_DESC_CFG_FRAG_MSK);
|
|
|
|
-
|
|
|
|
ret = mv_cesa_dma_add_data_transfer(chain,
|
|
ret = mv_cesa_dma_add_data_transfer(chain,
|
|
CESA_SA_DATA_SRAM_OFFSET,
|
|
CESA_SA_DATA_SRAM_OFFSET,
|
|
ahashdreq->padding_dma +
|
|
ahashdreq->padding_dma +
|