Re: [PATCH 1/3] bpf: Add support for mark with bpf_fib_lookup
From: David Ahern <hidden>
Date: 2021-06-29 19:10:41
From: David Ahern <hidden>
Date: 2021-06-29 19:10:41
On 6/29/21 11:50 AM, Greg KH wrote:
On Tue, Jun 29, 2021 at 10:37:34AM -0700, Rumen Telbizov wrote:quoted
Add support for policy routing via marks to the bpf_fib_lookup helper. The bpf_fib_lookup struct is constrained to 64B for performance. Since the smac and dmac entries are used only for output, put them in an anonymous struct and then add a union around a second struct that contains the mark to use in the FIB lookup. Signed-off-by: David Ahern <dsahern@kernel.org> Signed-off-by: Rumen Telbizov <redacted>Did David author this, or did Rumen?
Both. Rumen's first patch set and hitting some bumps.