aboutsummaryrefslogtreecommitdiffstats
path: root/build-root/deb
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-01-31 17:29:33 +0100
committerDave Barach <openvpp@barachs.net>2017-02-04 12:42:49 +0000
commitd0f673ee92121e13a88ad7002e0c860b2cfc5e4b (patch)
treeee8f951d2672f4420594d0eca5bc11f4943bdfd0 /build-root/deb
parentbfe4dfa7089b5d2c03aa607ab72abbcd840cbbce (diff)
dpdk: move to uio_pci_generic
Change-Id: I3d8b7947ae6d721e9b514a59a7d2de49aed419b5 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'build-root/deb')
-rw-r--r--build-root/deb/debian/vpp.service6
-rw-r--r--build-root/deb/debian/vpp.upstart2
2 files changed, 4 insertions, 4 deletions
diff --git a/build-root/deb/debian/vpp.service b/build-root/deb/debian/vpp.service
index 40549856a96..aa1651c4119 100644
--- a/build-root/deb/debian/vpp.service
+++ b/build-root/deb/debian/vpp.service
@@ -4,10 +4,10 @@ After=network.target
[Service]
Type=simple
-ExecStartPre=-/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api
-ExecStartPre=-/sbin/modprobe igb_uio
+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
-ExecStopPost=/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api
+ExecStopPost=/bin/rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api
Restart=always
[Install]
diff --git a/build-root/deb/debian/vpp.upstart b/build-root/deb/debian/vpp.upstart
index f5908783d11..62e1d2780e6 100644
--- a/build-root/deb/debian/vpp.upstart
+++ b/build-root/deb/debian/vpp.upstart
@@ -8,7 +8,7 @@ respawn
pre-start script
rm -f /dev/shm/db /dev/shm/global_vm /dev/shm/vpe-api || true
# should be there via dkms, but if not, start anyway
- modprobe igb_uio || true
+ modprobe uio_pci_generic || true
end script