Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NTB Driver question #54

Open
XIO-Engineer opened this issue Dec 5, 2018 · 2 comments
Open

NTB Driver question #54

XIO-Engineer opened this issue Dec 5, 2018 · 2 comments

Comments

@XIO-Engineer
Copy link

How does the switchtec driver translate the addresses between two CPU’s or two hosts? How do the two switches figure out the address translations between the first switch’s CPU’s/host’s addresses on the upstream ports, through the NT Only port, to the second switch’s NT Only port, back up to the second switch’s upstream port?

@wesleywesley
Copy link
Contributor

This issue should be opened under repo: Switchtec-kernel.
Pls closed it and reopen it on Switchtec-kernel.

@wesleywesley
Copy link
Contributor

@XIO-Engineer

What you described is crosslink case.
General speaking, the address translation is like following procedure:

  1. Host0 access its ntb bar of partiton with USP in self switch 0
  2. The access lead to address translation from host0 space to peer switch 1's nt only bar space
  3. Then the second address translation happened from switch 1's nt only bar address to switch 1's USP exist partition's space

Regard,
Wesley

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants