当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
IDEA如何运行web程序
ES6对箭头函数的理解
C语言实现扫雷游戏
网络请求技术--跨域
【目标检测】FCOS: Fully Convolutional One-Stage Object Detection
DOA从一维阵列传感说起
Day.js 常用方法
接口(第九天)
hutool工具-----JSON工具-JSONUtil
哈希表
【刷题篇】打家劫舍
JDBC PreparedStatement 的命名参数实现
Kubernetes — Calico
Debian侵犯Rust商标,妥协改名还是会得到豁免?
华为5年女测试工程师离职:多么痛的领悟...
管理基础知识20
管理基础知识11
Day11 Shell scripting basics
Oracle data to mysql FlinkSQL CDC to achieve synchronization
当关注「互联网+」模式的时候,通常仅仅只是在关注「互联网+」模式本身









