• Home
  • Raw
  • Download

Lines Matching full:memory

6 the separate memory systems of two or more computers to the same PCI-Express
8 registers and memory translation windows, as well as non common features like
15 Memory windows allow translated read and write access to the peer memory.
38 Primary purpose of NTB is to share some peace of memory between at least two
40 mainly used to perform the proper memory window initialization. Typically
41 there are two types of memory window interfaces supported by the NTB API:
48 Memory: Local NTB Port: Peer NTB Port: Peer MMIO:
51 | memory | _v____________ | ______________
52 | (addr) |<======| MW xlat addr |<====| MW base addr |<== memory-mapped IO
55 So typical scenario of the first type memory window initialization looks:
56 1) allocate a memory region, 2) put translated address to NTB config,
58 maps corresponding outbound memory window so to have access to the shared
59 memory region.
66 Memory: Local NTB Port: Peer NTB Port: Peer MMIO:
68 | dma-mapped | | | MW base addr |<== memory-mapped IO
69 | memory | | |--------------|
74 1) allocate a memory region, 2) somehow deliver a translated address to a peer
76 outbound memory window so to have access to the shared memory region.
82 1) Allocate memory for a shared window
83 2) Initialize memory window by translated address of the allocated region
84 (it may fail if local memory window initialization is unsupported)
85 3) Send the translated address and memory window index to a peer device
88 1) Initialize memory window with retrieved address of the allocated
89 by another device memory region (it may fail if peer memory window
91 2) Map outbound memory window
93 In accordance with this scenario, the NTB Memory Window API can be used as
97 1) ntb_mw_count(pidx) - retrieve number of memory ranges, which can
98 be allocated for memory windows between local device and peer device
101 shared memory region alignment and size. Then memory can be properly
103 3) Allocate physically contiguous memory region in compliance with
106 the memory window with specified index for the defined peer device
108 5) Send translated base address (usually together with memory window
114 device (related to pidx) translated address for specified memory
117 2) ntb_peer_mw_get_addr(widx) - retrieve MMIO address to map the memory
118 window so to have an access to the shared memory.
207 allows for passing MSI interrupts across NTB memory windows. The
244 If the peer ntb is to be accessed via a memory window, then use
245 this memory window to access the peer ntb. A value of zero or positive
250 If the peer ntb is to be accessed via a memory window, and if
251 the memory window is large enough, still allow the client to use the
252 second half of the memory window for address translation to the peer.