diff options
author | John Lo <loj@cisco.com> | 2016-02-25 11:17:55 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2016-02-25 17:55:16 +0000 |
commit | d9bf9abbabac7ea637a25461757303a92e321f7e (patch) | |
tree | 3472fd40d8942e5e47e28a726a92c6b41e308a8d /svm | |
parent | ebb27fb4809a51711e05323faccb15165e610e10 (diff) |
Add support of Ethernet link bonding utilizing DPDK link bonding
poll mode driver library. The bonded interfaces to be created on
VPP startup is specified in the dpdk section of startup.conf
or qn.conf, using DPDK EAL command. Following is an example of a
dpdk section white listing PCI addressses of 4 ethernet interfacess
to be under VPP control plus two bonded interface and the PCI addresses
of the slaves in each:
dpdk { socket-mem 1024,1024
dev 0000:0f:00.0 dev 0000:10:00.0 dev 0000:11:00.0 dev 0000:12:00.0
vdev eth_bond0,mode=2,slave=0000:0f:00.0,slave=0000:11:00.0,xmit_policy=l34
vdev eth_bond1,mode=2,slave=0000:10:00.0,slave=0000:12:00.0,xmit_policy=l34
}
Note that only balance XOR (mode 2) is supported and "xmit_policy=l34"
specifies to use layer 3 SIP/DIP and layer 4 Sport/Dport for load
balance. Using "xmit_policy=l2" for SMAC/DMAC or "xmit_policy=l23" for
SMAC/DMAC and SIP/DIP should also work.
Change-Id: Iaf6438686fa20cce893cb5a823b76e2886b4360b
Signed-off-by: John Lo <loj@cisco.com>
Diffstat (limited to 'svm')
0 files changed, 0 insertions, 0 deletions