VPP does support static interface bonding via DPDK link bonding PMD: http://dpdk.org/doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.html
VPP works with mode 1 (active backup) and mode 2 (balanced XOR). There is no support for mode 4 which is 802.3ad. The bonded interfaces and their slaves must be specified in the startup config via the “vdev” config for DPDK. The sample src/vpp/conf/startup.conf does provide samples for both mode 1 and mode2: ## 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 Regards, John From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of yug...@telincn.com Sent: Wednesday, January 03, 2018 5:06 AM To: otroan <otr...@employees.org> Cc: vpp-dev <vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] bond Ole, I found out that there is only one way to do this, write them into the vpp start-up.conf, but there is no cmd to do such task, am I right? Regards, Ewan ________________________________ ewan From: Ole Troan<mailto:otr...@employees.org> Date: 2018-01-03 17:58 To: yug...@telincn.com<mailto:yug...@telincn.com> CC: Jim Thompson<mailto:j...@netgate.com>; lin huang<mailto:mit...@outlook.com>; vpp-dev<mailto:vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] bond Ewan, > Yes, I need 802.3ad interface, is there a way to do it? Of course. Just implement it. ;-) Or use ECMP at layer 3. Best regards, Ole > > Regards, > Ewan > ewan yugang > 杭州全维技术股份有限公司 北京研发部门 > 手机:17310665879 > Q Q : 185237808 > 邮箱:yug...@telincn.com<mailto:yug...@telincn.com> > 地址:北京市朝阳区望京西路金隅国际G座2305 > 网站:http://www.telincn.com > > From: Ole Troan > Date: 2018-01-03 17:40 > To: Jim Thompson > CC: lin huang; yug...@telincn.com<mailto:yug...@telincn.com>; vpp-dev > Subject: Re: [vpp-dev] bond > Jim, > > > src/vnet/ethernet/ptp_ethernet* > > > > https://github.com/FDio/vpp/commit/15ac81c16fba83033090299413a3a2dbb848a0f9 > > P2P Ethernet is a different thing altogether. > P2P Ethernet is a mechanism to emulate L3 P2P links on top of a shared (or > non shared) Ethernet link. > > Ewan is asking for 802.3ad presumably? > > Cheers, > Ole > > > > > > On Jan 3, 2018, at 2:57 AM, lin huang > > <mit...@outlook.com<mailto:mit...@outlook.com>> wrote: > > > >> Hi yugang, > >> It seems that vpp doesn’t support that features. > >> > >> Refer to: https://wiki.fd.io/view/VPP/Features > >> > >> From: vpp-dev-boun...@lists.fd.io<mailto:vpp-dev-boun...@lists.fd.io> > >> [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of > >> yug...@telincn.com<mailto:yug...@telincn.com> > >> Sent: Wednesday, January 3, 2018 4:52 PM > >> To: vpp-dev <vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>> > >> Subject: [vpp-dev] bond > >> > >> HI all, > >> Does vpp surpport interface bond ? How do I configure them? > >> > >> Regards, > >> Ewan > >> > >> ewan > >> > >> > >> _______________________________________________ > >> vpp-dev mailing list > >> vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> > >> https://lists.fd.io/mailman/listinfo/vpp-dev > > _______________________________________________ > > vpp-dev mailing list > > vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> > > https://lists.fd.io/mailman/listinfo/vpp-dev
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev