当前位置:网站首页>Pcie the inbound and outbound
Pcie the inbound and outbound
2022-08-02 01:33:00 【smartvxworks】

Inbound:PCI domain accesses memory domain
Outbound: Memory domain accesses PCI domain
RC access EP: RC memory domain->outbound->RC PCI domain->EP PCI domain->inbound->EP memory domain
EP accesses RC: EP memory domain->outbound->EP PCI domain->RC PCI domain->inbound->RC memory domain
Out is going out. The side that initiates the access needs to perform outbound to access the peer end
In comes in, the accessed side needs to perform inbound, so that the opposite end can access
EP access RC demo sample (blue arrow):
(1) First, EP needs to be configured with outbound, and RC needs to be configured with inbound (generally, the RC end does not need to be configured), so that the mapping from EP end 0x20000000 to RC end 0x50000000 is established
(2) Change the content of 0x50000000 on the RC side, and the EP side can see the corresponding changes.Read/write 0x20000000 from EP side and read/write 0x50000000 from RC side, the result is the same
RC access EP demo sample (black arrow):
(1) First of all, the RC side needs to be configured with outbound (generally configured in the kernel), and the EP side needs to be configured with inbound (0x5b000000 inbound to BAR2), thus establishing the mapping from RC side 0x20100000 (BAR2) to EP side 0x5b000000
p>(2) Change the content of 0x5b000000 memory on the EP side, you can see the corresponding changes on the RC side 0x20100000, read/write 0x20100000 from the RC side and read/write 0x5b000000 from the EP side, the result is the same
边栏推荐
猜你喜欢
随机推荐
datagrip连接mysql数据库
MInIO入门-03 秒传+大文件分片上传
传统企业数字化转型需要经过几个阶段?
5年自动化测试经验的一些感悟:做UI自动化一定要跨过这10个坑
外包干了三年,废了...
datagrip 报错 “The specified database userpassword combination is rejected...”的解决方法
Kubernetes — Calico
60种特征工程操作:使用自定义聚合函数【收藏】
C语言实验八 字符数组程序设计
GO开发环境配置
有效进行自动化测试,这几个软件测试工具一定要收藏好!!!
创新项目实战之智能跟随机器人原理与代码实现
ERROR 1064 (42000) You have an error in your SQL syntax; check the manual that corresponds to your
大话西游无法登陆解决
kubernetes之服务发现
信息化和数字化的本质区别是什么?
Interview: Briefly describe a project you are involved in
管理基础知识10
tf.keras.callbacks.EarlyStopping()
期货开户交返是行内公开的秘密









