summary refs log tree commit diff stats
path: root/ebpf/ebpf_rss.h
diff options
context:
space:
mode:
Diffstat (limited to 'ebpf/ebpf_rss.h')
-rw-r--r--ebpf/ebpf_rss.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ebpf/ebpf_rss.h b/ebpf/ebpf_rss.h
index bf3f2572c7..ab08a7266d 100644
--- a/ebpf/ebpf_rss.h
+++ b/ebpf/ebpf_rss.h
@@ -20,6 +20,11 @@ struct EBPFRSSContext {
     int map_configuration;
     int map_toeplitz_key;
     int map_indirections_table;
+
+    /* mapped eBPF maps for direct access to omit bpf_map_update_elem() */
+    void *mmap_configuration;
+    void *mmap_toeplitz_key;
+    void *mmap_indirections_table;
 };
 
 struct EBPFRSSConfig {