This repository was archived by the owner on Mar 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,27 @@ e2edaemon: image
134134 @echo
135135 @echo
136136
137+ install-xdp :
138+ @echo " ****** Install libxdp ******"
139+ @echo
140+ sudo apt update && \
141+ sudo apt install -y wget build-essential golang && \
142+ sudo wget http ://security.ubuntu.com/ubuntu/pool/main/libb/libbpf/libbpf1_1.1.0-1_amd64.deb && \
143+ sudo wget http ://security.ubuntu.com/ubuntu/pool/main/libb/libbpf/libbpf-dev_1.1.0-1_amd64.deb && \
144+ sudo wget https ://mirrors.edge.kernel.org/ubuntu/pool/main/x/xdp-tools/libxdp1_1.3.0-2ubuntu2_amd64.deb &&\
145+ sudo wget https ://mirrors.edge.kernel.org/ubuntu/pool/main/x/xdp-tools/libxdp-dev_1.3.0-2ubuntu2_amd64.deb && \
146+ sudo apt install -y ./libbpf1_1.1.0-1_amd64.deb && \
147+ sudo apt install -y ./libbpf-dev_1.1.0-1_amd64.deb && \
148+ sudo apt install -y ./libxdp1_1.3.0-2ubuntu2_amd64.deb && \
149+ sudo apt install -y ./libxdp-dev_1.3.0-2ubuntu2_amd64.deb
150+ @echo
151+ @echo "****** Cleanup ******"
152+ rm ./libbpf1_1.1.0-1_amd64.deb && \
153+ rm ./libbpf-dev_1.1.0-1_amd64.deb && \
154+ rm ./libxdp1_1.3.0-2ubuntu2_amd64.deb && \
155+ rm ./libxdp-dev_1.3.0-2ubuntu2_amd64.deb
156+ @echo
157+
137158e2efulldaemon : image
138159 @echo " ****** Full E2E DaemSet ******"
139160 @echo
Original file line number Diff line number Diff line change @@ -97,6 +97,9 @@ The following prerequisites are required to build and deploy the plugins from so
9797- **llvm**
9898 - Compiling the bpf progs for Kind.
9999 - Install on Ubuntu : ` apt install llvm`
100+ - **libxdp**
101+ - Same as Libbpf, to load and uload the XDP program onto the network device.
102+ - Installation : ` make install-xdp`
100103
101104# ## Static analysis, linting and formatting
102105
You can’t perform that action at this time.
0 commit comments