Skip to content

Instantly share code, notes, and snippets.

@gizmoguy
Created November 20, 2016 22:33
Show Gist options
  • Save gizmoguy/959b679c3f5de4bca06fd70d195b615e to your computer and use it in GitHub Desktop.
Save gizmoguy/959b679c3f5de4bca06fd70d195b615e to your computer and use it in GitHub Desktop.
Stops OVS and unbinds intefaces from DPDK
#!/bin/bash
# Kill ovs
ovs-appctl -t ovs-vswitchd exit
ovs-appctl -t ovsdb-server exit
# Bind eth4, eth5, eth6, eth7 to kernel instead of DPDK
/usr/local/src/dpdk-16.07/tools/dpdk-devbind.py --bind=igb 0000:04:00.0
/usr/local/src/dpdk-16.07/tools/dpdk-devbind.py --bind=igb 0000:04:00.1
/usr/local/src/dpdk-16.07/tools/dpdk-devbind.py --bind=igb 0000:04:00.2
/usr/local/src/dpdk-16.07/tools/dpdk-devbind.py --bind=igb 0000:04:00.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment