linux-stable/drivers/net/ethernet/mellanox/mlx5/core/en
Rahul Rameshbabu b8ac3415e2 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:23:33 +02:00
..
rep net/mlx5e: Some cleanup in mlx5e_tc_stats_matchall() 2023-11-15 11:34:29 -08:00
tc net/mlx5e: Change the warning when ignore_flow_level is not supported 2024-03-01 23:02:26 -08:00
xsk Revert "mlx5 updates 2023-12-20" 2024-01-07 17:16:11 -08:00
channels.c Revert "mlx5 updates 2023-12-20" 2024-01-07 17:16:11 -08:00
channels.h Revert "mlx5 updates 2023-12-20" 2024-01-07 17:16:11 -08:00
dcbnl.h
devlink.c net/mlx5e: Set en auxiliary devlink instance as nested 2023-09-17 14:01:47 +01:00
devlink.h
fs.h net/mlx5: Remove unused declaration 2023-10-14 10:16:31 -07:00
fs_ethtool.h
fs_tt_redirect.c net/mlx5e: fix a potential double-free in fs_any_create_groups 2024-01-24 00:15:38 -08:00
fs_tt_redirect.h
health.c net/mlx5: devlink health: use retained error fmsg API 2023-10-20 11:34:50 +01:00
health.h net/mlx5: devlink health: use retained error fmsg API 2023-10-20 11:34:50 +01:00
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 Revert "mlx5 updates 2023-12-20" 2024-01-07 17:16:11 -08:00
monitor_stats.h net/mlx5e: Statify function mlx5e_monitor_counter_arm 2023-12-13 18:03:31 -08:00
params.c net/mlx5e: Allow software parsing when IPsec crypto is enabled 2024-01-24 00:15:37 -08:00
params.h Revert "mlx5 updates 2023-12-20" 2024-01-07 17:16:11 -08:00
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-01 23:02:27 -08:00
ptp.h net/mlx5e: Do not produce metadata freelist entries in Tx port ts WQE xmit 2024-04-17 11:23:33 +02:00
qos.c net/mlx5e: HTB, Fix inconsistencies with QoS SQs number 2024-04-17 11:23:33 +02:00
qos.h
reporter_rx.c Revert "mlx5 updates 2023-12-20" 2024-01-07 17:16:11 -08:00
reporter_tx.c Revert "mlx5 updates 2023-12-20" 2024-01-07 17:16:11 -08:00
rqt.c Revert "mlx5 updates 2023-12-20" 2024-01-07 17:16:11 -08:00
rqt.h Revert "mlx5 updates 2023-12-20" 2024-01-07 17:16:11 -08:00
rss.c Revert "mlx5 updates 2023-12-20" 2024-01-07 17:16:11 -08:00
rss.h Revert "mlx5 updates 2023-12-20" 2024-01-07 17:16:11 -08:00
rx_res.c Revert "mlx5 updates 2023-12-20" 2024-01-07 17:16:11 -08:00
rx_res.h Revert "mlx5 updates 2023-12-20" 2024-01-07 17:16:11 -08:00
selq.c net/mlx5e: Fix mlx5e_priv_init() cleanup flow 2024-04-17 11:23:33 +02:00
selq.h
tc_ct.c net/mlx5e: TC, CT: Offload ct clear only once 2023-07-05 10:57:04 -07:00
tc_ct.h net/mlx5e: TC, CT: Offload ct clear only once 2023-07-05 10:57:04 -07:00
tc_priv.h
tc_tun.c net/mlx5e: fix double free of encap_header 2023-12-13 17:22:15 -08:00
tc_tun.h
tc_tun_encap.c net/mlx5: Refactor mlx5_flow_destination->rep pointer to vport num 2023-12-13 17:22:18 -08: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 Revert "mlx5 updates 2023-12-20" 2024-01-07 17:16:11 -08:00
trap.h
txrx.h
xdp.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-12-21 22:17:23 +01:00
xdp.h net/mlx5e: Implement AF_XDP TX timestamp and checksum offload 2023-11-29 14:59:40 -08:00