Skip to content

Commit 8f653f9

Browse files
committed
README and use system scapy.
Signed-off-by: fruffy <[email protected]>
1 parent 838cb83 commit 8f653f9

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

backends/bmv2/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ To run and test this back-end you need some additional tools:
3030
- the BMv2 behavioral model itself. Installation instructions are available [here](https://github.com/p4lang/behavioral-model#installing-bmv2). You may need to update your
3131
dynamic libraries after installing bmv2: `sudo ldconfig`
3232

33-
- the Python scapy library `sudo pip3 install scapy`
34-
3533
# Unsupported P4_16 language features
3634

3735
Here are some unsupported features we are aware of. We will update this list as

backends/ebpf/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,8 @@ Additionally, the eBPF compiler test suite has the following python dependencies
237237

238238
- The python ply package to parse .stf testing files.
239239

240-
- The python scapy package to read and write pcap files.
240+
- The python scapy package, to easily construct test packets with
241+
selected sequences of headers.
241242

242243
You can install these using:
243244
```

tools/ci-build.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,15 +182,15 @@ fi
182182

183183
# ! ------ BEGIN EBPF -----------------------------------------------
184184
function build_ebpf() {
185-
P4C_EBPF_DEPS="libpcap-dev \
186-
libelf-dev \
187-
zlib1g-dev \
188-
iproute2 \
189-
iptables \
185+
P4C_EBPF_DEPS="libpcap-dev \
186+
libelf-dev \
187+
zlib1g-dev \
188+
iproute2 \
189+
iptables \
190+
python3-scapy \
190191
net-tools"
191192
P4C_EBPF_DEPS+=" llvm clang "
192193
sudo apt-get install -y --no-install-recommends ${P4C_EBPF_DEPS}
193-
uv pip install scapy==2.5.0
194194
}
195195

196196
function install_ptf_ebpf_test_deps() (

0 commit comments

Comments
 (0)