We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6efc16b commit bb15652Copy full SHA for bb15652
kernel/bpf/cpumap.c
@@ -195,8 +195,10 @@ static int cpu_map_bpf_prog_run_xdp(struct bpf_cpu_map_entry *rcpu,
195
196
rxq.dev = xdpf->dev_rx;
197
rxq.mem.type = xdpf->mem_type;
198
- /* TODO: report queue_index to xdp_rxq_info */
199
-
+ /* RX queue_index is not preserved after redirection.
+ * If needed, the sender can embed it in XDP metadata
200
+ * (via bpf_xdp_adjust_meta) for the remote program.
201
+ */
202
xdp_convert_frame_to_buff(xdpf, &xdp);
203
204
act = bpf_prog_run_xdp(rcpu->prog, &xdp);
0 commit comments