• Or Gerlitz's avatar
    net/mlx5e: Set per priority hairpin pairs · 106be53b
    Or Gerlitz authored
    As part of the QoS model, on xmit, the HW mandates that all packets going
    through a given SQ have the same priority. To align hairpin SQs with that,
    we use the priority given as part of the matching for the hairpin hash key.
    
    This ensures that flows/packets mapped to different HW priorities will
    go through different hairpin instances. If no priority is given for
    matching, we treat that as an 8th priority, this is in order not to
    harm cases where priority is specified.
    
    Only the PCP priority trust model is supported.
    Signed-off-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
    Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
    106be53b
en_tc.c 69.2 KB