Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved solution to pass PCI address to BESS when UPF is deployed in DPDK mode #31

Merged
merged 2 commits into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bess-upf/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ description: OMEC user plane based on BESS
name: bess-upf
icon: https://guide.opencord.org/logos/cord.svg

version: 1.0.0
version: 1.0.1
12 changes: 5 additions & 7 deletions bess-upf/templates/statefulset-upf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,11 @@ spec:
tty: true
command: ["/bin/bash", "-xc"]
args:
- |
VFS=$(ip link | grep -E 'alias [0-9a-f:.]+' | awk '{print $2}' | tr '\n' ',');
{{- if .Values.config.upf.hugepage.enabled }}
bessd -f --allow="$VFS" --grpc_url=0.0.0.0:10514;
{{- else }}
bessd -m 0 -f --allow="$VFS" --grpc_url=0.0.0.0:10514;
{{- end }}
{{- if .Values.config.upf.hugepage.enabled }}
- bessd -f --allow="$PCIDEVICE_INTEL_COM_INTEL_SRIOV_DPDK" --grpc_url=0.0.0.0:10514
{{- else }}
- bessd -m 0 -f --allow="$PCIDEVICE_INTEL_COM_INTEL_SRIOV_DPDK" --grpc_url=0.0.0.0:10514
{{- end }}
lifecycle:
postStart:
exec:
Expand Down
2 changes: 1 addition & 1 deletion sdcore-helm-charts/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dependencies:
condition: 5g-control-plane.enable5G

- name: bess-upf
version: 1.0.0
version: 1.0.1
repository: "file://../bess-upf"
alias: omec-user-plane
condition: omec-user-plane.enable
Expand Down
Loading