diff options
author | Yu Ping <ping.yu@intel.com> | 2020-02-21 22:36:20 +0800 |
---|---|---|
committer | Florin Coras <fcoras@cisco.com> | 2020-02-22 00:30:48 +0000 |
commit | 54346b61f91008c5098243b588f184ad92ad29c9 (patch) | |
tree | 60116fad568970aee2538a081de0560b0487db8c /configs/startup.conf | |
parent | 4b0794f139564682503fcd2f59c7bcd3238e6633 (diff) |
initial version of VSAP
Signed-off-by: Yu Ping <ping.yu@intel.com>
Change-Id: I04d9150f0c7607ba20de9096b452476eff1622fc
Diffstat (limited to 'configs/startup.conf')
-rw-r--r-- | configs/startup.conf | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/configs/startup.conf b/configs/startup.conf new file mode 100644 index 0000000..b9260b4 --- /dev/null +++ b/configs/startup.conf @@ -0,0 +1,45 @@ +unix { + interactive + log /var/log/vpp/vpp.log + full-coredump + cli-listen /run/vpp/cli-vpp1.sock + exec /path/to/configs/vppenvset +} + +api-trace { + on +} + +session { + evt_qs_memfd_seg +} + +socksvr { + socket-name /path/to/vpp-api.sock +} + +cpu { + main-core 0 + ##Start 4 VPP workers + #corelist-workers 1-4 + ##start 1 VPP worker + corelist-workers 1 +} + +tcp {cc-algo cubic} + +dpdk { + dev <pci-address> { + name eth0 + + ##the value of num-rx-queues should be the same as the number + ##of VPP worker + ##If 1 + num-rx-queues 1 + ##If 4 + #num-rx-queues 4 + num-rx-desc 512 + num-tx-desc 512 + + } +} |