• Benjamin Li's avatar
    qla3xxx: Kernic Panic on pSeries under stress conditions · e8f4df24
    Benjamin Li authored
    To reproduce this panic consistently, we run an intensive network
    application like 'netperf'. After waiting for a couple of seconds,
    you will see a stack trace and a kernel panic where we are calling
    pci_unmap_single() in ql_poll().
    
    Changes:
    1)  Check the flags on the Response MAC IO Control block to check for
    errors
    2)  Ensure that if we are on the 4022 we only use one segment
    3)  Before, we were reading the memory mapped producer index register
    everytime we iterated in the loop when clearing the queue.  We should
    only be iterating to a known point, not as the producer index
    is being updated.
    Signed-off-by: default avatarBenjamin Li <benjamin.li@qlogic.com>
    Signed-off-by: default avatarRon Mercer <ron.mercer@qlogic.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    e8f4df24
qla3xxx.c 101 KB