当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
Go语学习笔记 - gorm使用 - gorm处理错误 Web框架Gin(十)
JS中清空数组的方法
交返是做日内交易的必要条件
canal实现mysql数据同步
创新项目实战之智能跟随机器人原理与代码实现
Markdown (CSDN) MD编辑器(四)- 漂亮表格(表格背景色、跨行、跨列)
信息化和数字化的本质区别是什么?
ERROR 1064 (42000) You have an error in your SQL syntax; check the manual that corresponds to your
C语言实验十 函数(二)
去经营企业吧
牛顿定理和相关推论
Debian侵犯Rust商标,妥协改名还是会得到豁免?
技术分享 | 接口测试中如何使用Json 来进行数据交互 ?
from origin ‘null‘ has been blocked by CORS policy Cross origin requests are only supported for
GateWay实现负载均衡
Redis和MySQL数据一致性问题,有没有好的解决方案?
JDBC PreparedStatement 的命名参数实现
Go 1.18 的那些事——工作区、模糊测试、泛型
Kubernetes — 核心资源对象 — Controller
管理基础知识20









