cross-compile:

tar xvf openwrt-sdk*
cd openwrt*
./scripts/feeds update -a
./scripts/feeds install -a
mkdir package/p4xdp
cp -r ../misc/native package/p4xdp/
cp ../misc/openwrt-p4xdp/* package/p4xdp/
cd package/p4xdp/native
patch < ../insns.patch
cd ../../..
make package/p4xdp/compile


on the box:

opkg install gre
opkg install p4xdp*


/etc/config/network
config interface 'cpuport'
        option proto 'gretap'
        option peeraddr '10.1.11.12'
        option ipv6 '0'
        option promisc '1'
        option mtu '1450'
