diff options
| author | Larysa Zaremba <[email protected]> | 2023-12-05 22:08:37 +0100 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-12-13 16:16:40 -0800 |
| commit | d68d707dcbbf6a9cfe378fc2eb3ffffd5b47727e (patch) | |
| tree | 00eb777aa55d27b8cd877e530f839a8ba80b91d7 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | b4e352ff1169ebce930c734630f9587b1677d163 (diff) | |
ice: Support XDP hints in AF_XDP ZC mode
In AF_XDP ZC, xdp_buff is not stored on ring,
instead it is provided by xsk_buff_pool.
Space for metadata sources right after such buffers was already reserved
in commit 94ecc5ca4dbf ("xsk: Add cb area to struct xdp_buff_xsk").
Some things (such as pointer to packet context) do not change on a
per-packet basis, so they can be set at the same time as RX queue info.
On the other hand, RX descriptor is unique for each packet, but is already
known when setting DMA addresses. This minimizes performance impact of
hints on regular packet processing.
Update AF_XDP ZC packet processing to support XDP hints.
Co-developed-by: Maciej Fijalkowski <[email protected]>
Signed-off-by: Maciej Fijalkowski <[email protected]>
Signed-off-by: Larysa Zaremba <[email protected]>
Reviewed-by: Maciej Fijalkowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions