|
Hi
All
I am trying to get
the USE_BATCH (=1) mode to work for my crypto driver. I guess I have
found some problem, that is, crypto driver signals ERESTART as a function call
return (line 1317 below), then the crypto thread sets the cc_qblocked to 1
(line 1333 below).
1303
if (submit != NULL) {
1304
/* AK added */
1305
//if (!( gKeepTrackOfCryptoThread % 100)) {
1306
// printk("6," );
1307
//}
1308
list_del(&submit->crp_list);
1309
CRYPTO_Q_UNLOCK(); 1310
1311
//trace_set_L1(c,30); /* 30 is the id for OCF code */
1312
//trace_set_L1(f,7); /* trace point */
1313
//trace_log_L1(trace_var(c), trace_var(f), 200); /* log */
1314
1315
result = crypto_invoke(submit, hint);
1316
CRYPTO_Q_LOCK();
1317
if (result == ERESTART) { 1318
1319
/* AK added */
1320
//if (!( gKeepTrackOfCryptoThread % 100)) {
1321  |