Skip to content

Commit

Permalink
NTB: ntb_pp: Add full multi-port NTB API support
Browse files Browse the repository at this point in the history
Current Ping Pong driver can't truly work with multi-port devices.
Additionally it requires the Scratchpad registers being available
on NTB device. This patches rewrites the driver so one would
perform the cyclic Ping-Pong algorithm around all the available
NTB peers and makes it working with NTB hardware, which doesn't
support Scratchpads, but such alternative as NTB Message register.
Additional cleanups are also added here.

Signed-off-by: Serge Semin <[email protected]>
Signed-off-by: Jon Mason <[email protected]>
  • Loading branch information
fancer authored and jonmason committed Jan 29, 2018
1 parent f1678a4 commit c7aeb0a
Showing 1 changed file with 282 additions and 165 deletions.
Loading

0 comments on commit c7aeb0a

Please sign in to comment.