【问题标题】:Check type of interrupt using by PCI device (MSI/INT)检查 PCI 设备使用的中断类型 (MSI/INT)
【发布时间】:2015-07-08 21:06:54
【问题描述】:

如何检查 PCI 设备使用的中断类型?例如,我将重新映射的磁盘插入 PCI 插槽,我想检查使用哪种类型的中断(MSI-x 或 INT-x)设备驱动程序。

非常感谢您的回答

【问题讨论】:

    标签: driver interrupt pci


    【解决方案1】:

    Linux 中的 /proc/interrupts 文件显示为该中断注册的中断类型、计数和处理程序。 /proc/interrupts 的一个例子是这样的:

    2287:         13         18         28         49   PCI-MSI-edge  eth0:lsc
    2288:       9141     136551      21455     238464   PCI-MSI-edge  eth0:v7-Tx
    2289:      48562     109176      24880     135639   PCI-MSI-edge  eth0:v6-Tx
    2290:     107570    3702139      75813    3727686   PCI-MSI-edge  eth0:v5-Tx
    2291:      89445    9720752     132501    4888981   PCI-MSI-edge  eth0:v4-Tx
    2292:     137766     210305      24363     145395   PCI-MSI-edge  eth0:v3-Rx
    2293:      67075    7653882      70646   15840483   PCI-MSI-edge  eth0:v2-Rx
    2294:      89234    4985296      78648    6575514   PCI-MSI-edge  eth0:v1-Rx
    2295:     114302     232087      56105     256490   PCI-MSI-edge  eth0:v0-Rx
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-09-12
      • 2022-11-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多