• Tariq Toukan's avatar
    net/mlx5e: kTLS, Add kTLS RX HW offload support · 1182f365
    Tariq Toukan authored
    Implement driver support for the kTLS RX HW offload feature.
    Resync support is added in a downstream patch.
    
    New offload contexts post their static/progress params WQEs
    over the per-channel async ICOSQ, protected under a spin-lock.
    The Channel/RQ is selected according to the socket's rxq index.
    
    Feature is OFF by default. Can be turned on by:
    $ ethtool -K <if> tls-hw-rx-offload on
    
    A new TLS-RX workqueue is used to allow asynchronous addition of
    steering rules, out of the NAPI context.
    It will be also used in a downstream patch in the resync procedure.
    Signed-off-by: default avatarTariq Toukan <tariqt@mellanox.com>
    Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
    1182f365
en_accel.h 4.42 KB