linux-stable/drivers/net/ethernet/mellanox/mlx5/core/en
Rahul Rameshbabu 292a764733 net/mlx5e: Do not produce metadata freelist entries in Tx port ts WQE xmit
[ Upstream commit 86b0ca5b11 ]

Free Tx port timestamping metadata entries in the NAPI poll context and
consume metadata enties in the WQE xmit path. Do not free a Tx port
timestamping metadata entry in the WQE xmit path even in the error path to
avoid a race between two metadata entry producers.

Fixes: 3178308ad4 ("net/mlx5e: Make tx_port_ts logic resilient to out-of-order CQEs")
Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://lore.kernel.org/r/20240409190820.227554-10-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-17 11:19:31 +02:00
..
rep
tc net/mlx5e: Change the warning when ignore_flow_level is not supported 2024-03-15 10:48:15 -04:00
xsk
channels.c
channels.h
dcbnl.h
devlink.c
devlink.h
fs.h
fs_ethtool.h
fs_tt_redirect.c net/mlx5e: fix a potential double-free in fs_any_create_groups 2024-01-31 16:19:03 -08:00
fs_tt_redirect.h
health.c
health.h
htb.c
htb.h
hv_vhca_stats.c
hv_vhca_stats.h
mapping.c
mapping.h
mod_hdr.c
mod_hdr.h
monitor_stats.c
monitor_stats.h
params.c net/mlx5e: Allow software parsing when IPsec crypto is enabled 2024-01-31 16:19:03 -08:00
params.h
port.c
port.h
port_buffer.c
port_buffer.h
ptp.c net/mlx5e: Switch to using _bh variant of of spinlock API in port timestamping NAPI poll context 2024-03-15 10:48:16 -04:00
ptp.h net/mlx5e: Do not produce metadata freelist entries in Tx port ts WQE xmit 2024-04-17 11:19:31 +02:00
qos.c net/mlx5e: HTB, Fix inconsistencies with QoS SQs number 2024-04-17 11:19:31 +02:00
qos.h
reporter_rx.c
reporter_tx.c
rqt.c
rqt.h
rss.c
rss.h
rx_res.c
rx_res.h
selq.c net/mlx5e: Fix mlx5e_priv_init() cleanup flow 2024-04-17 11:19:31 +02:00
selq.h
tc_ct.c
tc_ct.h
tc_priv.h
tc_tun.c Revert "net/mlx5e: fix double free of encap_header" 2024-01-01 12:42:28 +00:00
tc_tun.h
tc_tun_encap.c net/mlx5: Refactor mlx5_flow_destination->rep pointer to vport num 2024-01-01 12:42:29 +00:00
tc_tun_encap.h
tc_tun_geneve.c
tc_tun_gre.c
tc_tun_mplsoudp.c
tc_tun_vxlan.c
tir.c
tir.h
trap.c
trap.h
txrx.h
xdp.c net/mlx5e: XDP, Drop fragmented packets larger than MTU size 2024-01-01 12:42:29 +00:00
xdp.h