diff options
author | Logan Gunthorpe <[email protected]> | 2017-08-03 12:19:47 -0600 |
---|---|---|
committer | Jon Mason <[email protected]> | 2017-11-18 20:37:12 -0500 |
commit | ec0467ccbdeb69a86c8729073057bda7bce00eec (patch) | |
tree | 1ecef00f35997951e9f3380c8057fd9e0e4567d3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 33dea5aae0320345af26ae9aba0894a930e0d4ec (diff) |
NTB: switchtec_ntb: Initialize hardware for memory windows
Add the code to initialize the memory windows in the hardware.
This includes setting up the requester ID table, and figuring out
which BAR corresponds to which memory window. (Seeing the switch
can be configured with any number of BARs.)
Also, seeing the device doesn't have hardware for scratchpads or
determining the link status, we create a shared memory window that has
these features. A magic number with a version component will be used
to determine if the other side's driver is actually up.
The shared memory window also informs the other side of the
size and count of the local memory windows.
Signed-off-by: Logan Gunthorpe <[email protected]>
Reviewed-by: Stephen Bates <[email protected]>
Reviewed-by: Kurt Schwemmer <[email protected]>
Acked-by: Allen Hubbe <[email protected]>
Signed-off-by: Jon Mason <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions