• Andy Lutomirski's avatar
    iwlwifi: pcie: improve debugfs queue info · f40faf62
    Andy Lutomirski authored
    This adds need_update and write_actual to rx_queue and need_update
    and an HCMD indicator to tx_queue.
    
    On my card, rx_queue now looks like:
    
    read: 181
    write: 180
    write_actual: 176
    need_update: 0
    free_count: 40
    closed_rb_num: 181
    
    tx_queue now looks like:
    
    hwq 00: read=29 write=30 use=1 stop=0 need_update=0
    hwq 01: read=0 write=0 use=1 stop=0 need_update=0
    hwq 02: read=128 write=128 use=1 stop=0 need_update=0
    hwq 03: read=0 write=0 use=1 stop=0 need_update=0
    hwq 04: read=94 write=94 use=1 stop=0 need_update=0 HCMD
    hwq 05: read=0 write=0 use=0 stop=0 need_update=0
    hwq 06: read=0 write=0 use=0 stop=0 need_update=0
    hwq 07: read=0 write=0 use=0 stop=0 need_update=0
    hwq 08: read=0 write=0 use=0 stop=0 need_update=0
    hwq 09: read=0 write=0 use=0 stop=0 need_update=0
    hwq 10: read=0 write=0 use=0 stop=0 need_update=0
    hwq 11: read=0 write=0 use=0 stop=0 need_update=0
    hwq 12: read=0 write=0 use=0 stop=0 need_update=0
    hwq 13: read=0 write=0 use=0 stop=0 need_update=0
    hwq 14: read=0 write=0 use=0 stop=0 need_update=0
    hwq 15: read=0 write=0 use=0 stop=0 need_update=0
    hwq 16: read=0 write=0 use=0 stop=0 need_update=0
    hwq 17: read=0 write=0 use=0 stop=0 need_update=0
    hwq 18: read=0 write=0 use=0 stop=0 need_update=0
    hwq 19: read=0 write=0 use=0 stop=0 need_update=0
    
    This may help with debugging queue stalls.
    Signed-off-by: default avatarAndy Lutomirski <luto@amacapital.net>
    Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
    f40faf62
trans.c 56.7 KB