Re: [vpp-dev] router plugin improvements

2018-05-17 Thread Wang
Hi Tom,

You can enable router-plugin by adding "enable tap-inject" in the startup
config file.

unix {
  nodaemon
  log /var/log/vpp/vpp.log
  full-coredump
  cli-listen /run/vpp/cli.sock
  gid vpp
  exec /vpp.init
}

in vpp.init you can write

"enable tap-inject"

Thanks
Chad

2018-05-17 2:11 GMT-04:00 Glaza :

> Hi
>
> At the beginning I would like to thank for router plugin.
>
> Actually my systemd service to start vpp looks like:
>
> ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf
> ExecStartPost=-/bin/sleep 5
> ExecStartPost=-/sbin/ip link set dev vpp0 up
> ExecStartPost=-/sbin/ip address add 10.0.0.14/30 dev vpp0
>
> Is there any better way to start vpp with router plugin enabled? It would
> be nice to have it in configuration like in https://github.com/iqiyi/dpvs
> where rte_kni.ko is used to make similar functionality.
>
> Thanks,
> Tom
>
>
>
> 
>
>


[vpp-dev] router plugin improvements

2018-05-17 Thread Glaza
Hi

At the beginning I would like to thank for router plugin.

Actually my systemd service to start vpp looks like:

ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf
ExecStartPost=-/bin/sleep 5
ExecStartPost=-/sbin/ip link set dev vpp0 up
ExecStartPost=-/sbin/ip address add 10.0.0.14/30 dev vpp0

Is there any better way to start vpp with router plugin enabled? It would be 
nice to have it in configuration like in https://github.com/iqiyi/dpvs where 
rte_kni.ko is used to make similar functionality.

Thanks,
Tom



-=-=-=-=-=-=-=-=-=-=-=-
Links:

You receive all messages sent to this group.

View/Reply Online (#9316): https://lists.fd.io/g/vpp-dev/message/9316
View All Messages In Topic (1): https://lists.fd.io/g/vpp-dev/topic/19284371
Mute This Topic: https://lists.fd.io/mt/19284371/21656
New Topic: https://lists.fd.io/g/vpp-dev/post

Change Your Subscription: https://lists.fd.io/g/vpp-dev/editsub/21656
Group Home: https://lists.fd.io/g/vpp-dev
Contact Group Owner: vpp-dev+ow...@lists.fd.io
Terms of Service: https://lists.fd.io/static/tos
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub
-=-=-=-=-=-=-=-=-=-=-=-