登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
Gitee 2025年度开源项目评选启动,快来选出你心中的最佳开源项目!
代码拉取完成,页面将自动刷新
开源项目
>
其他开源
>
操作系统
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
445
Star
1.6K
Fork
1.8K
GVP
openEuler
/
kernel
代码
Issues
1294
Pull Requests
894
Wiki
统计
流水线
服务
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
538
Disable local invalidate operation, fix memory leak and error code of CMD
已合并
zhouj:OLK-5.10
openEuler:OLK-5.10
zhouj
创建于 2023-03-30 20:14
克隆/下载
HTTPS
SSH
复制
下载 Email Patch
下载 Diff 文件
Bugfix information: 1. RDMA/hns: Disable local invalidate operation When function reset and local invalidate are mixed, HNS RoCEE may hang. Before introducing the cause of the problem, two hardware internal concepts need to be introduced: 1. Execution queue: The queue of hardware execution instructions, function reset and local invalidate are queued for execution in this queue. 2.Local queue: A queue that stores local operation instructions. The instructions in the local queue will be sent to the execution queue for execution. The instructions in the local queue will not be removed until the execution is completed. The reason for the problem is as follows: 1. There is a function reset instruction in the execution queue, which is currently being executed. A necessary condition for the successful execution of function reset is: the hardware pipeline needs to empty the instructions that were not completed before; 2. A local invalidate instruction at the head of the local queue is sent to the execution queue. Now there are two instructions in the execution queue, the first is the function reset instruction, and the second is the local invalidate instruction, which will be executed in se quence; 3. The user has issued many local invalidate operations, causing the local queue to be filled up. 4. The user still has a new local operation command and is queuing to enter the local queue. But the local queue is full and cannot receive new instructions, this instruction is temporarily stored at the hardware pipeline. 5. The function reset has been waiting for the instruction before the hardware pipeline stage is drained. The hardware pipeline stage also caches a local invalidate instruction, so the function reset cannot be completed, and the instructions after it cannot be executed. These factors together cause the execution logic deadlock of the hardware, and the consequence is that RoCEE will not have any response. Considering that the local operation command may potentially cause RoCEE to hang, this feature is no longer supported. bugzilla:#I6ROBG 2. RDMA/hns: fix memory leak in hns_roce_alloc_mr() When hns_roce_mr_enable() failed in hns_roce_alloc_mr(), mr_key is not released. bugzilla:#I6RP11 3. RDMA/hns: Fix error code of CMD The error code is fixed to EIO when CMD fails to excute. This patch converts the error status reported by firmware to linux errno. bugzilla: #I6RO6S
怎样手动合并此 Pull Request
git checkout OLK-5.10
git pull https://gitee.com/stinft/kernel.git OLK-5.10
git push origin OLK-5.10
评论
22
提交
3
文件
3
检查
代码问题
0
批量操作
展开设置
折叠设置
审查
Code Owner
审查人员
jiaoff
jiaoff
刘勇强
LiuYongQiang0816
wangxiongfeng
wangxiongfeng
朱科潜
kevinzhu1
WangShaoBo
jentlestea
lujialin
lujialin2
Xu Kuohai
xukuohai
冷嘲啊
lengchao
Lingmingqiang
alvin-ling
yuzenghui
yuzenghui
juntian
juntianlinux
OSSIM
chenguangli
陈结松
gasonchen
whoisxxx
whoisxxx
刘恺
kailiu42
hanjun-guo
hanjun-guo
woqidaideshi
woqidaideshi
Chiqijun
chiqijun
Kefeng
wkfxxx
AlexGuo
guohaocs2c
kylin-mayukun
kylin-mayukun
Jackie Liu
newbeats
zhujianwei001
zhujianwei001
郑振鹏
zhenpengzheng
SuperSix173
SuperSix173
colyli
colyli
Zhang Yi
zhangyi089
htforge
htforge
Yuehaibing
yuehaibing_planb
xiehaocheng
haochengxie
CTC-Xibo.Wang
CTC-XiboWang
zhanghongchen
Hongchen_Zhang
chen wei
chenwei_kernel
Jason Zeng
x56Jason
苟浩
gouhao2022
DuanqiangWen
duanqiangwen
georgeguo
georgeguo
毛泓博
mao-hongbo
AllenShi
allen-shi
Wei Li
stkid
tcc@hello
hellotcc
谭小飞
hunan4222
Fred Kimmy
kongzizaixian
LiYihang
LiYihang226
young1c
young1c
WangBoe2022
wangboe2022
chenke
chenke1978
lilijun
JerryHZ
Yang Shen
youngersun
wsoydl
wsoydl
sanglipeng
sanglipeng
zhangchangzhong
zhang-changzhong
jimmy_hero
jimmy_hero
Yanze
ygn-ndwd-official
Mingzheng Xing
xingmz
maobibo
maobibo
lixuefeng_loongson
lixuefeng-loongson
chenweilong
qinirao
hitmoon
hitmoon
yunshenglin
yunshenglin
hucz
hu-chunzhi
giree2
giree2
Lostway
Lostwayzxc
Jianhua Zhang
chris_zjh
gaojuxin
gaojuxin09
yeweihua999
yeweihua999
hanliyang
hanliyang
Yuan can
markyuan4ta2
kile2009
kile2009
Li Nan
linan888
李辉松
li-huisong
liulongfang
liulongfang
Zhang Qiao
zqiao216
Tengda Wu
stavewu
guzitao
guzitao
sming56
sming56_admin
Frank_Sae
Frank_Sae
koishimind
koishimind
MendeZ
shuaijiakun
hjx_gitff
hjx_gitff
yong.hu
yonghu_4dc5
LeoLiu-oc
leoliu-oc
mingqian218472
mingqian218472
温志伟
wenzhiwei11
Xie XiuQi
xiexiuqi
zhengzengkai
zhengzengkai
未设置
最少人数
0
测试
jiaoff
jiaoff
刘勇强
LiuYongQiang0816
wangxiongfeng
wangxiongfeng
朱科潜
kevinzhu1
WangShaoBo
jentlestea
lujialin
lujialin2
Xu Kuohai
xukuohai
冷嘲啊
lengchao
Lingmingqiang
alvin-ling
yuzenghui
yuzenghui
juntian
juntianlinux
OSSIM
chenguangli
陈结松
gasonchen
whoisxxx
whoisxxx
刘恺
kailiu42
hanjun-guo
hanjun-guo
woqidaideshi
woqidaideshi
Chiqijun
chiqijun
Kefeng
wkfxxx
AlexGuo
guohaocs2c
kylin-mayukun
kylin-mayukun
Jackie Liu
newbeats
zhujianwei001
zhujianwei001
郑振鹏
zhenpengzheng
SuperSix173
SuperSix173
colyli
colyli
Zhang Yi
zhangyi089
htforge
htforge
Yuehaibing
yuehaibing_planb
xiehaocheng
haochengxie
CTC-Xibo.Wang
CTC-XiboWang
zhanghongchen
Hongchen_Zhang
chen wei
chenwei_kernel
Jason Zeng
x56Jason
苟浩
gouhao2022
DuanqiangWen
duanqiangwen
georgeguo
georgeguo
毛泓博
mao-hongbo
AllenShi
allen-shi
Wei Li
stkid
tcc@hello
hellotcc
谭小飞
hunan4222
Fred Kimmy
kongzizaixian
LiYihang
LiYihang226
young1c
young1c
WangBoe2022
wangboe2022
chenke
chenke1978
lilijun
JerryHZ
Yang Shen
youngersun
wsoydl
wsoydl
sanglipeng
sanglipeng
zhangchangzhong
zhang-changzhong
jimmy_hero
jimmy_hero
Yanze
ygn-ndwd-official
Mingzheng Xing
xingmz
maobibo
maobibo
lixuefeng_loongson
lixuefeng-loongson
chenweilong
qinirao
hitmoon
hitmoon
yunshenglin
yunshenglin
hucz
hu-chunzhi
giree2
giree2
Lostway
Lostwayzxc
Jianhua Zhang
chris_zjh
gaojuxin
gaojuxin09
yeweihua999
yeweihua999
hanliyang
hanliyang
Yuan can
markyuan4ta2
kile2009
kile2009
Li Nan
linan888
李辉松
li-huisong
liulongfang
liulongfang
Zhang Qiao
zqiao216
Tengda Wu
stavewu
guzitao
guzitao
sming56
sming56_admin
Frank_Sae
Frank_Sae
koishimind
koishimind
MendeZ
shuaijiakun
hjx_gitff
hjx_gitff
yong.hu
yonghu_4dc5
LeoLiu-oc
leoliu-oc
mingqian218472
mingqian218472
温志伟
wenzhiwei11
Xie XiuQi
xiexiuqi
zhengzengkai
zhengzengkai
未设置
最少人数
0
优先级
不指定
严重
主要
次要
不重要
标签
openeuler-cla/yes
lgtm
approved
ci_successful
sig/Kernel
stat/needs-squash
关联 Issue
I6RO6S
修复CMD返回的错误码
I6ROBG
Disable local invalidate operation
I6RP11
fix memory leak in hns_roce_alloc_mr()
Pull Request 合并后将关闭上述关联 Issue
里程碑
未关联里程碑
openEuler-1.0-LTS-kernel-static-check-202109
22.03-LTS-Kernel-Update
23.03-Kernel-Release
20.03-SP3-Kernel-Update
20.03-SP3-Kernel-Defect
25.09
24.03-Update
25.03
24.03-SP2
24.03-SP1
参与者
(5)
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册