Thread (11 messages) flat view 11 messages, 3 authors, 2021-03-23

Re: [PATCHv2 bpf-next 2/4] xdp: extend xdp_redirect_map with broadcast support

From: Björn Töpel <hidden>
Date: 2021-03-18 08:21:38
Also in: bpf

On Thu, 18 Mar 2021 at 04:52, Hangbin Liu [off-list ref] wrote:
On Wed, Mar 17, 2021 at 01:03:02PM +0100, Toke Høiland-Jørgensen wrote:
quoted
FYI, this no longer applies to bpf-next due to Björn's refactor in
commit: ee75aef23afe ("bpf, xdp: Restructure redirect actions")
Thanks Toke, I need to see how to get the map via map_id, does
bpf_map_get_curr_or_next() works? Should I call bpf_map_put() after using?

The ri->flags = flags also need to be add back as we need to use the flags
value.
Hmm, I was under the impression that ri->flags was only to be used by
the new bpf_redirect_map_multi(), but now I see that you're planning
to use the bpf_redirect_map instead. Well... I guess the flag is back
then.


Björn
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help