• A
    ehea: Fix synchronization between HW and SW send queue · 2928db4c
    Andre Detsch 提交于
    ehea: Fix synchronization between HW and SW send queue
    
    When memory is added to / removed from a partition via the Memory DLPAR
    mechanism, the eHEA driver has to do a couple of things to reflect the
    memory change in its own IO address translation tables. This involves
    stopping and restarting the HW queues.
    During this operation, it is possible that HW and SW pointer into these
    queues get out of sync. This results in a situation where packets that
    are attached to a send queue are not transmitted immediately, but
    delayed until further X packets have been put on the queue.
    
    This patch detects such loss of synchronization, and resets the ehea
    port when needed.
    Signed-off-by: NJan-Bernd Themann <themann@de.ibm.com>
    Signed-off-by: NAndre Detsch <adetsch@br.ibm.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    2928db4c
ehea.h 12.1 KB