From: John Lo Date: Mon, 24 Jul 2017 17:08:36 +0000 (-0400) Subject: Add sample config of bonded interface in startup.conf template X-Git-Tag: v17.10-rc1~316 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=7d4a22cdea203c94fca13a0cfc4a0e5364719f8e;p=vpp.git Add sample config of bonded interface in startup.conf template Change-Id: I3985befbdd2a1a1a0e9473095034d0da7e5c32ed Signed-off-by: John Lo --- 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