Thread (29 messages) flat view 29 messages, 6 authors, 2021-04-22

Re: [PATCH bpf-next v3 2/3] libbpf: add low level TC-BPF API

From: Shaun Crampton <hidden>
Date: 2021-04-22 09:48:04
Also in: bpf

Nope, just get it from the prog itself.
Looks like the API returns the prog ID, so from that we can look up the prog
and then get its tag? If so that meets our needs.  Alternatively, if
the API allows
for atomic replacement of a BPF program with another, that'd also work for us.

The use case is that our daemon is restarted and it doesn't know what BPF
program was previously loaded. We want to make sure we end up with the
latest version loaded, either by doing a seamless replace with the
latest version
or by checking if the loaded version matches the latest.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help