Skip to content
  • Dave Jiang's avatar
    NTB: Fix transport stats for multiple devices · c8650fd0
    Dave Jiang authored
    
    
    Currently the debugfs does not have files for all NTB transport queue
    pairs.  When there are multiple NTBs present in a system, the QP names
    of the last transport clobber the names of previously added transport
    QPs.  Only the last added QPs can be observed via debugfs.
    
    Create a directory per NTB transport to associate the QPs with that
    transport.  Name the directory the same as the PCI device.
    
    Signed-off-by: default avatarDave Jiang <dave.jiang@intel.com>
    Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
    c8650fd0