From 7d4a22cdea203c94fca13a0cfc4a0e5364719f8e Mon Sep 17 00:00:00 2001 From: John Lo Date: Mon, 24 Jul 2017 13:08:36 -0400 Subject: Add sample config of bonded interface in startup.conf template Change-Id: I3985befbdd2a1a1a0e9473095034d0da7e5c32ed Signed-off-by: John Lo --- src/vpp/conf/startup.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/vpp/conf/startup.conf') diff --git a/src/vpp/conf/startup.conf b/src/vpp/conf/startup.conf index 1d22358df1d..e63026bc110 100644 --- a/src/vpp/conf/startup.conf +++ b/src/vpp/conf/startup.conf @@ -81,6 +81,16 @@ cpu { # num-rx-queues 2 # } + ## Specify bonded interface and its slaves via PCI addresses + ## + ## Bonded interface in XOR load balance mode (mode 2) with L3 and L4 headers + # vdev eth_bond0,mode=2,slave=0000:02:00.0,slave=0000:03:00.0,xmit_policy=l34 + # vdev eth_bond1,mode=2,slave=0000:02:00.1,slave=0000:03:00.1,xmit_policy=l34 + ## + ## Bonded interface in Active-Back up mode (mode 1) + # vdev eth_bond0,mode=1,slave=0000:02:00.0,slave=0000:03:00.0 + # vdev eth_bond1,mode=1,slave=0000:02:00.1,slave=0000:03:00.1 + ## Change UIO driver used by VPP, Options are: igb_uio, vfio-pci ## and uio_pci_generic (default) # uio-driver vfio-pci -- cgit 1.2.3-korg