summaryrefslogtreecommitdiffstats
path: root/drivers/ntb
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@nvidia.com>2021-02-10 14:58:01 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2021-03-31 13:12:24 -0700
commit3ff3874fa0b261ef74f2bfb008a82ab1601c11eb (patch)
tree075c22160c8e2a0a506cf9b4b3cbaa2f06f7fb7d /drivers/ntb
parent929a2faddd55290fbb0b73f453b200ed1b2b2947 (diff)
downloadlinux-stable-3ff3874fa0b261ef74f2bfb008a82ab1601c11eb.tar.gz
linux-stable-3ff3874fa0b261ef74f2bfb008a82ab1601c11eb.tar.bz2
linux-stable-3ff3874fa0b261ef74f2bfb008a82ab1601c11eb.zip
net/mlx5e: Guarantee room for XSK wakeup NOP on async ICOSQ
XSK wakeup flow triggers an IRQ by posting a NOP WQE and hitting the doorbell on the async ICOSQ. It maintains its state so that it doesn't issue another NOP WQE if it has an outstanding one already. For this flow to work properly, the NOP post must not fail. Make sure to reserve room for the NOP WQE in all WQE posts to the async ICOSQ. Fixes: 8d94b590f1e4 ("net/mlx5e: Turn XSK ICOSQ into a general asynchronous one") Fixes: 1182f3659357 ("net/mlx5e: kTLS, Add kTLS RX HW offload support") Fixes: 0419d8c9d8f8 ("net/mlx5e: kTLS, Add kTLS RX resync support") Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Reviewed-by: Maxim Mikityanskiy <maximmi@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/ntb')
0 files changed, 0 insertions, 0 deletions