• Intiyaz Basha's avatar
    liquidio: Prioritize control messages · 697fefc7
    Intiyaz Basha authored
    During heavy tx traffic, control messages (sent by liquidio driver to NIC
    firmware) sometimes do not get processed in a timely manner.  Reason is:
    the low-level metadata of control messages and that of egress network
    packets indicate that they have the same priority.
    
    Fix it by setting a higher priority for control messages through the new
    ctrl_qpg field in the oct_txpciq struct.  It is the NIC firmware that does
    the actual setting of priority by writing to the new ctrl_qpg field; the
    host driver treats that value as opaque and just assigns it to pki_ih3->qpg
    Signed-off-by: default avatarIntiyaz Basha <intiyaz.basha@cavium.com>
    Signed-off-by: default avatarFelix Manlunas <felix.manlunas@cavium.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    697fefc7
liquidio_common.h 21.3 KB