Skip to content
This repository was archived by the owner on Jan 19, 2023. It is now read-only.

Compiler support for registers and hash functions #119

@mcnevesinf

Description

@mcnevesinf

I'm trying to port some P4 programs originally written for BMv2 to the XDP target, but I'm struggling to describe an equivalent behavior for registers and hash functions. Is there any workaround I could use at the P4 level?

Also, I understand that adding support to the compiler for whatever function in the form of externs would not scale, but it could be interesting to try to make both models (v1 and ebpf/xdp, or psa and ebpf/xdp) more compatible. Any thoughts on that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions