Jan Palimąka
Jan Palimąka
I can confirm that `psa_ingress_parser_input_metadata_t` for parser is not generated, so it is a bug. Probably I or @osinstom will fix this. @gycsaba96 > Looking at the generated C code,...
@gycsaba96 Sorry that you have to wait a long time. I have created a fix #3778 for this issue.
> The `out.c` file has this code which I don't understand - why is there no struct for hash data in generated code? > > ``` > /* upf_ingress_h.get_hash({meta->upf.gtpu_local_ip}) */...
Looks like the problem lies between nikss-ctl and pwru, not the p4c. If look at the pwru how it [loads BPF probe](https://github.com/cilium/pwru/blob/d86733b4236d343eaf036a9ffe75de5557c355cb/internal/pwru/bpf_prog.go#L76-L135) you can see that it tries to attach...
I'm not sure why there is still reference to `map_initializer`. What happens if you also remove both tables, `ingress_tbl_mac` and `crc_lookup_tbl`? (This is safe operation, you will only decrement reference...
@scsullivan12 > do you think there is value in bringing this to celium/pwru's attention? Hard to say if there is a such value, but you can try.
> There is also a new CI failure popping up, for example: > > https://github.com/p4lang/p4c/actions/runs/7102448885/job/19332833736 This one looks like a bug related to bpftool or a new version of clang,...
@Arishbiswas Did you call the [`build_libbpf.sh`](https://github.com/NIKSS-vSwitch/nikss/blob/master/build_libbpf.sh) script? I'm not sure, but installing `gcc-multilib` can help in some cases.
> yes now the problem is solved Could you share the solution? There is non-zero chance that it could impact on error you got. >cannot load the BPF program: No...
Add option `-DBTF` to your clang command, like in [this makefile](https://github.com/p4lang/p4c/blob/e30416337cc0e3bf046909324aa7ae0b160f5224/backends/ebpf/runtime/kernel.mk#L81-L82).