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

DPDK support #227

Closed
voje opened this issue Mar 10, 2022 · 2 comments
Closed

DPDK support #227

voje opened this issue Mar 10, 2022 · 2 comments

Comments

@voje
Copy link

voje commented Mar 10, 2022

Is it possible to use this project with the DPDK plugin enabled?

@infinitydon
Copy link

Sample config that has worked for me:

unix {
  nodaemon
  log /tmp/vpp.log
  full-coredump
  gid vpp
  interactive
  cli-listen /run/vpp/cli.sock
  exec /etc/vpp/init.conf
}

cpu {
  main-core 0
  corelist-workers 18
}
api-trace {
  on
}

dpdk {
 dev 0000:00:06.0 {name n3}
 dev 0000:00:07.0 {name n4}
 dev 0000:00:08.0 {name n6}
}

api-segment {
  gid vpp
}

plugins {
    path /usr/lib/x86_64-linux-gnu/vpp_plugins/
    plugin dpdk_plugin.so { enable }
    plugin gtpu_plugin.so { disable }
    plugin upf_plugin.so { enable }
}
ip table add 1
ip table add 2

set interface ip table n3 1
set interface mtu 9001 n3
set interface ip address n3 10.0.3.10/24
set interface state n3 up

set interface ip table n4 0
set interface mtu 9001 n4
set interface ip address n4 10.0.4.9/24
set interface state n4 up

set interface ip table n6 2
set interface mtu 9001 n6 
set interface ip address n6 10.0.5.9/24
set interface state n6 up    

ip route add 0.0.0.0/0 table 2 via 10.0.5.10 n6
ip route add 0.0.0.0/0 table 1 via 10.0.3.1 n3

upf pfcp endpoint ip 10.0.4.9 vrf 0

upf nwi name access vrf 1
upf nwi name core vrf 2

upf specification release 16

upf gtpu endpoint ip 10.0.3.10 nwi access teid 0x000004d2/2

@sergeymatov
Copy link
Contributor

I guess the resolution of this issue - it is possible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants