• Saeed Mahameed's avatar
    net/mlx5e: Disable rxhash when CQE compress is enabled · c0194e2d
    Saeed Mahameed authored
    When CQE compression is enabled (Multi-host systems), compressed CQEs
    might arrive to the driver rx, compressed CQEs don't have a valid hash
    offload and the driver already reports a hash value of 0 and invalid hash
    type on the skb for compressed CQEs, but this is not good enough.
    
    On a congested PCIe, where CQE compression will kick in aggressively,
    gro will deliver lots of out of order packets due to the invalid hash
    and this might cause a serious performance drop.
    
    The only valid solution, is to disable rxhash offload at all when CQE
    compression is favorable (Multi-host systems).
    
    Fixes: 7219ab34 ("net/mlx5e: CQE compression")
    Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
    c0194e2d
en_main.c 130 KB