Open
Description
xdp_buff
has a metadata area, which an XDP eBPF program can use to stash some info (using bpf_xdp_adjust_meta
and direct packet access to write data). This information is transferred to sk_buff
, and could be accessed by a TC eBPF program. This mechanism enables communication between XDP and TC programs.
Unfortunately, ENA driver doesn't support attaching and transferring metadata.
bpf_xdp_adjust_meta
fails with ENOTSUPP
when invoked in ENA XDP path.
EMnify would love to see this feature implemented.