• Maxim Mikityanskiy's avatar
    net/mlx5e: Fix ICOSQ recovery flow for XSK · 19c4aba2
    Maxim Mikityanskiy authored
    There are two ICOSQs per channel: one is needed for RX, and the other
    for async operations (XSK TX, kTLS offload). Currently, the recovery
    flow for both is the same, and async ICOSQ is mistakenly treated like
    the regular ICOSQ.
    
    This patch prevents running the regular ICOSQ recovery on async ICOSQ.
    The purpose of async ICOSQ is to handle XSK wakeup requests and post
    kTLS offload RX parameters, it has nothing to do with RQ and XSKRQ UMRs,
    so the regular recovery sequence is not applicable here.
    
    Fixes: be5323c8 ("net/mlx5e: Report and recover from CQE error on ICOSQ")
    Signed-off-by: default avatarMaxim Mikityanskiy <maximmi@mellanox.com>
    Reviewed-by: default avatarAya Levin <ayal@nvidia.com>
    Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
    19c4aba2
en_main.c 141 KB