当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
flex布局中使用flex-wrap实现换行
信息化和数字化的本质区别是什么?
关于MySQL的数据插入(高级用法)
哈希表
Docker安装canal、mysql进行简单测试与实现redis和mysql缓存一致性
微信支付软件架构,这也太牛逼了!
创新项目实战之智能跟随机器人原理与代码实现
网络请求技术--跨域
C语言实验十 函数(二)
电商库存系统的防超卖和高并发扣减方案
第 45 届ICPC亚洲区域赛(上海)G-Fibonacci
BGP综合实验 建立对等体、路由反射器、联邦、路由宣告及聚合
datagrip 报错 “The specified database userpassword combination is rejected...”的解决方法
S/4中究竟有多少个模块,你对这些模块了解多少
当关注「互联网+」模式的时候,通常仅仅只是在关注「互联网+」模式本身
【刷题篇】打家劫舍
C语言实现扫雷游戏
Test Cases: Four-Step Test Design Approach
C语言实验七 二维数组程序设计
Flink_CDC construction and simple use