diff options
author | Jesper Dangaard Brouer <[email protected]> | 2023-04-18 15:30:52 +0200 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2023-04-27 18:42:19 +0200 |
commit | 8416814fffa9cfa74c18da149f522dd9e1850987 (patch) | |
tree | 62f75701926c9fef0a284ed912786b7b7d6d7743 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 73b7123de0cfa4f6609677e927ab02cb05b593c2 (diff) |
igc: Add XDP hints kfuncs for RX hash
This implements XDP hints kfunc for RX-hash (xmo_rx_hash).
The HW rss hash type is handled via mapping table.
This igc driver (default config) does L3 hashing for UDP packets
(excludes UDP src/dest ports in hash calc). Meaning RSS hash type is
L3 based. Tested that the igc_rss_type_num for UDP is either
IGC_RSS_TYPE_HASH_IPV4 or IGC_RSS_TYPE_HASH_IPV6.
This patch also updates AF_XDP zero-copy function igc_clean_rx_irq_zc()
to use the xdp_buff wrapper struct igc_xdp_buff.
Signed-off-by: Jesper Dangaard Brouer <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Song Yoong Siang <[email protected]>
Link: https://lore.kernel.org/bpf/168182465285.616355.2701740913376314790.stgit@firesoul
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions