当前位置:网站首页>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
边栏推荐
猜你喜欢

Can't connect to MySQL server on 'localhost3306' (10061) Simple and clear solution

C语言实现扫雷游戏

IDEA如何运行web程序

go mode tidy出现报错go warning “all“ matched no packages

华为5年女测试工程师离职:多么痛的领悟...

C语言函数详解(1)【库函数与自定义函数】

C语言:打印整数二进制的奇数位和偶数位

flv.js解析与使用

Flink_CDC搭建及简单使用

ERROR 1064 (42000) You have an error in your SQL syntax; check the manual that corresponds to your
随机推荐
tf.keras.callbacks.EarlyStopping()
管理基础知识18
管理基础知识15
Oracle data to mysql FlinkSQL CDC to achieve synchronization
GO GOPROXY代理设置
有效进行自动化测试,这几个软件测试工具一定要收藏好!!!
PHP直播源码实现简单弹幕效果的相关代码
IDEA如何运行web程序
JS中对事件代理的理解及其应用场景
from origin ‘null‘ has been blocked by CORS policy Cross origin requests are only supported for
Can‘t connect to MySQL server on ‘localhost3306‘ (10061) 简洁明了的解决方法
23.卷积神经网络实战-ResNet
ERROR 1045 (28000) Access denied for user ‘root‘@‘localhost‘解决方法
Day.js 常用方法
外包干了三年,废了...
管理基础知识20
安全(2)
严格模式,use strict
设备树学习
信息收集之cms指纹识别