RE: New NTB API Issue
From: Allen Hubbe
Date: Thu Jun 22 2017 - 18:43:10 EST
From: Logan Gunthorpe
> Any thoughts on changing the semantics of mw_get_align so it must be
> called with the link up?
The intention of these is that these calls return information from the local port. The calls themselves don't reach across the link to the peer, but the information returned from the local port needs to be communicated for setting up the translation end-to-end.
I would like to understand why this hardware needs link up. Are there registers on the local port that are only valid after link up?
Can you post snippets of how ntb_mw_get_align and ntb_peer_mw_get_addr might be implemented for the Switchtec?