Skip to content

Instantly share code, notes, and snippets.

View garyachy's full-sized avatar

Denys Haryachyy garyachy

View GitHub Profile
@garyachy
garyachy / Vagrantfile
Last active November 6, 2017 09:03
vagrant configuration file
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "trusty64"
config.vm.provision :shell, path: "../bootstrap.sh"
@garyachy
garyachy / start_kni.sh
Last active March 4, 2016 16:56
Script to setup environment and run DPDK KNI sample application
#/bin/sh
#setup path to DPDK
export RTE_SDK=/home/dpdk
export RTE_TARGET=x86_64-native-linuxapp-gcc
#setup 512 huge pages
mkdir -p /mnt/huge
umount -t hugetlbfs nodev /mnt/huge
mount -t hugetlbfs nodev /mnt/huge