• Serge Semin's avatar
    NTB: ntb_tool: Add full multi-port NTB API support · 7f46c8b3
    Serge Semin authored
    Former NTB Debugging tool driver supported only the limited
    functionality of the recently updated NTB API, which is now available
    to work with the truly NTB multi-port devices and devices, which
    got NTB Message registers instead of Scratchpads. This patch
    fully rewrites the driver so one would fully expose all the new
    NTB API interfaces. Particularly it concerns the Message registers,
    peer ports API, NTB link settings. Additional cleanups are also added
    here.
    Signed-off-by: default avatarSerge Semin <fancer.lancer@gmail.com>
    Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
    7f46c8b3
ntb_tool.c 42.5 KB