40c6639428
Currently, for vpp we are not building any rpms for dpdk or igb_uio. This is because uio_pci_generic as shipped with centos works with vpp. However, our vpp rpms do not install kernel module uio_pci_generic at start up and the /etc/vpp/startup.conf does not configure vpp to use uio_pci_generic. vpp rpms should do both, so that when the vpp rpm is installed and vpp started, it just works out of the box. This patch fixes the rpms to do so. Change-Id: Ib934b51f9271cded466d235aa4044bef75c35960 Signed-off-by: Ed Warnicke <eaw@cisco.com>
15 lines
362 B
Desktop File
15 lines
362 B
Desktop File
[Unit]
|
|
Description=Vector Packet Processing Process
|
|
After=syslog.target network.target auditd.service
|
|
|
|
[Service]
|
|
ExecStartPre=-/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api
|
|
ExecStartPre=-/sbin/modprobe uio_pci_generic
|
|
ExecStart=/usr/bin/vpp -c /etc/vpp/startup.conf
|
|
Type=simple
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|