Comments (2)
[root@76b261f00f83] /workspaces/openair-cn-cups/build/ext/upf-bpf (master) $ make run
cd build/tests && \
sudo ./UPFProgramTests
Running main() from /workspaces/openair-cn-cups/build/ext/upf-bpf/extern/googletest/googletest/src/gtest_main.cc
[==========] Running 3 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 3 tests from SessionManagerTests
[ RUN ] SessionManagerTests.manageSession
libbpf: load bpf program failed: Invalid argument
libbpf: -- BEGIN DUMP LOG ---
libbpf:
back-edge from insn 358 to 359
processed 0 insns (limit 1000000) max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0
libbpf: -- END LOG --
libbpf: failed to load program 'xdp_redirect_map'
libbpf: failed to load object 'upf_xdp_bpf_c'
libbpf: failed to load BPF skeleton 'upf_xdp_bpf_c': -4007
unknown file: Failure
C++ exception with description "Cannot load program - error-4007" thrown in SetUp().
[ FAILED ] SessionManagerTests.manageSession (123 ms)
...
[----------] 3 tests from SessionManagerTests (463 ms total)
[----------] Global test environment tear-down
[==========] 3 tests from 1 test suite ran. (463 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 3 tests, listed below:
[ FAILED ] SessionManagerTests.manageSession
[ FAILED ] SessionManagerTests.managePDR
[ FAILED ] SessionManagerTests.manageFAR
3 FAILED TESTS
from upf-bpf.
The problema above was resolved in #18 (commit-id de58f7b).
There was a loop in bpf program. So, the pragma unroll instruction was inserted.
from upf-bpf.
Related Issues (20)
- Explicits FARs in JSON configuration file
- Generate report for Max throughput downlink direction test case
- Implement plot graphics by reading the reports (JSON)
- Implement graphics to represent the load of each core
- Pass XDP type (driver or skb) through configuration API
- Fixes UL max throughput test
- AddressSanitizer: SEGV on unknown address 0x000000000000
- Refactor README.md to make repository public
- Clean up environment
- Create a build for CI
- Create a datapath debug mechanism HOT 1
- CO-RE support HOT 1
- Decouple BPF programs from control plane HOT 1
- PoC with OpenAirInterface (OAI) SPGWu HOT 7
- Design gRPC API HOT 1
- how to work with free5gc HOT 2
- make the environment's deps explicit in the README HOT 4
- bpftoot not found following the first steps
- Create a docker image for HTTP server
- GTP packet generation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from upf-bpf.