- On Linux server
1. install python3-stdeb and other required packages.
2. git clone https://github.com/.../acc-bpf
3. cd acc-bpf; ./build_deb.sh
4. copy output deb file to DUT
- On DUT
1. python3 and python3-bpfcc is required
2. dpkg -i <output deb file>
Script | Brief Description | Ex: |
---|---|---|
xdp_cutPacket.py | Truncate packets | xdp_cutPacket.py --hosts 192.168.1.1 eth0 |
xdp_deDup.py | Discard duplicate Packets | xdp_deDup.py eth0 |
xdp_remTnlhdr.py | Remove GTPv1-U/Vxlan/GRE header | xdp_remTnlhdr.py eth0 |