Commit 0227ae95 authored by zhangwei's avatar zhangwei Committed by Xie XiuQi
Browse files

sec2 & sgl: update the sec and sgl interface



driver inclusion
category: feature
bugzilla: NA
CVE: NA

1. update sgl code
2. sec modify buf_map & buf_unmap code for sgl
3. use SEC_DBGFS_VAL_MAX_LEN replace magic number 20
4. use ctx->dev replace ctx->sec_dev
5. use FORMAT_DECIMAL to replace magic number 10
6. use 2, 4, 6, ... sequence to imply ctx_q_num is even
7. sgl support multi-user

Feature or Bugfix:Feature

Signed-off-by: default avatarZhangwei <zhangwei375@huawei.com>
Reviewed-by: default avatarlingmingqiang <lingmingqiang@huawei.com>
Reviewed-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent c84e3693
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment