aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorJianbo Liu <[email protected]>2025-07-10 13:53:44 +0000
committerJakub Kicinski <[email protected]>2025-07-11 14:26:44 +0000
commit4c9fce56fa702059bbc5ab737265b68f79cbaac4 (patch)
treef6d476b71ffa8a94d74f83aec215a0f997ca7285 /tools/perf/scripts/python/sctop.py
parentnet/mlx5e: Fix race between DIM disable and net_dim() (diff)
downloadkernel-4c9fce56fa702059bbc5ab737265b68f79cbaac4.tar.gz
kernel-4c9fce56fa702059bbc5ab737265b68f79cbaac4.zip
net/mlx5e: Add new prio for promiscuous mode
An optimization for promiscuous mode adds a high-priority steering table with a single catch-all rule to steer all traffic directly to the TTC table. However, a gap exists between the creation of this table and the insertion of the catch-all rule. Packets arriving in this brief window would miss as no rule was inserted yet, unnecessarily incrementing the 'rx_steer_missed_packets' counter and dropped. This patch resolves the issue by introducing a new prio for this table, placing it between MLX5E_TC_PRIO and MLX5E_NIC_PRIO. By doing so, packets arriving during the window now fall through to the next prio (at MLX5E_NIC_PRIO) instead of being dropped. Fixes: 1c46d7409f30 ("net/mlx5e: Optimize promiscuous mode") Signed-off-by: Jianbo Liu <[email protected]> Reviewed-by: Mark Bloch <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions