-
由 Toke Høiland-Jørgensen 提交于
For queueing packets in XDP we want to add a new redirect map type with support for 64-bit indexes. To prepare fore this, expand the width of the 'key' argument to the bpf_redirect_map() helper. Since BPF registers are always 64-bit, this should be safe to do after the fact. Acked-by: NSong Liu <song@kernel.org> Reviewed-by: NStanislav Fomichev <sdf@google.com> Signed-off-by: NToke Høiland-Jørgensen <toke@redhat.com> Link: https://lore.kernel.org/r/20221108140601.149971-3-toke@redhat.comSigned-off-by: NAlexei Starovoitov <ast@kernel.org>
32637e33