diff options
| author | Tariq Toukan <tariqt@nvidia.com> | 2025-11-30 12:13:37 +0200 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2025-12-02 15:20:41 +0100 |
| commit | d4aa0cc9bd31f3e0cd5f067d649bf39135e4b46b (patch) | |
| tree | b660d30096e400531bcbd717ac9532e9f263063e /tools/testing/selftests/net/lib/py/utils.py | |
| parent | 96a8395061358adcd4b6a4f0f4c8989ec69e8659 (diff) | |
net/mlx5e: Support XDP target xmit with dummy program
Save per-channel resources in default, in device and host memory.
As no better API exist, make the XDP-redirect-target SQ available by
loading a dummy XDP program.
This improves the latency of interface up/down operations when feature
is disabled.
Perf numbers:
NIC: Connect-X7.
Setup: 248 channels, default mtu and rx/tx ring sizes.
Interface up + down:
Before: 2.246 secs
After: 1.798 secs (-0.448 sec)
Saves ~1.8 msec per channel.
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Reviewed-by: William Tu <witu@nvidia.com>
Link: https://patch.msgid.link/1764497617-1326331-3-git-send-email-tariqt@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions
