eBPF Model Coverage

What ebpf_model constructs P4Py currently supports, based on the ebpf_model.p4 header and the p4c eBPF backend documentation.

Pipeline blocks

Block

Supported

Notes

Parser

Yes

Filter

Yes

bool pass_ output controls accept/drop

Table implementation

Property

Supported

Notes

hash_table

Yes

array_table

Yes

Metadata

The eBPF filter architecture has no standard metadata type. Header types are inferred from the parser’s type annotations.

Externs

No eBPF externs are currently supported.

Packet operations

Operation

Supported

Notes

Accept

Yes

pass_ = True in filter control

Drop

Yes

pass_ = False or parser reject

See also