Re: [vpp-dev] #vpp #bond How to config bond mode in vpp?

2020-01-03 Thread steven luong via Lists.Fd.Io
DPDK bonding is no longer supported in 19.08. However, you can use VPP native 
bonding to accomplish the same thing.

create bond mode active-backup load-balance l34
set interface state BondEthernet0 up
bond add BondEthernet0 GigabitEthernet1/0/0
bond add BondEthernet0 GigabitEthernet1/0/1

Steven

From:  on behalf of "wei_sky2...@163.com" 

Date: Thursday, January 2, 2020 at 10:14 PM
To: "vpp-dev@lists.fd.io" 
Subject: [vpp-dev] #vpp #bond How to config bond mode in vpp?


[Edited Message Follows]

we use vpp version 19.08
I config bond in VPP startup.conf

dpdk{
...
vdev eth_bond0,mode=1,slave=:01:00.0,slave=:01:00.1,xmit_policy=l34
..
}
But when vpp start,I show int

DBGvpp# show int

  Name   IdxState  MTU (L3/IP4/IP6/MPLS) 
Counter  Count

GigabitEthernet1/0/0  1 down 9000/0/0/0

GigabitEthernet1/0/1  2 down 9000/0/0/0

UnknownEthernet2  3 down 9000/0/0/0

local00 down  0/0/0/0



when I Set state UnknownEthernet2 up, vpp crash down.
Another question, when I compile VPP, Is need cfg 
RTE_LIBRTE_PMD_BOND(build/external/packages/dpdk.mk) option on?
Thanks!


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15038): https://lists.fd.io/g/vpp-dev/message/15038
Mute This Topic: https://lists.fd.io/mt/69394532/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452
Mute #bond: https://lists.fd.io/mk?hashtag=bond&subid=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] #vpp #bond How to config bond mode in vpp?

2020-01-02 Thread wei_sky2008
[Edited Message Follows]

we use vpp version 19.08
I config bond in VPP startup.conf

dpdk{
...
vdev eth_bond0,mode=1,slave=:01:00.0,slave=:01:00.1,xmit_policy=l34
..
}
But when vpp start,I show int

DBGvpp# show int

Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     Counter          
Count

GigabitEthernet1/0/0              1     down         9000/0/0/0

GigabitEthernet1/0/1              2     down         9000/0/0/0

UnknownEthernet2                  3     down         9000/0/0/0

local0                            0     down          0/0/0/0

when I Set state UnknownEthernet2 up, vpp crash down.
Another question, when I compile VPP, Is need cfg RTE_LIBRTE_PMD_BOND 
(build/external/packages/dpdk.mk) option on?
Thanks!
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15026): https://lists.fd.io/g/vpp-dev/message/15026
Mute This Topic: https://lists.fd.io/mt/69394532/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] #vpp #bond How to config bond mode in vpp?

2020-01-02 Thread wei_sky2008
[Edited Message Follows]

we use vpp version 19.08
I config bond in VPP startup.conf

dpdk{
...
vdev eth_bond0,mode=1,slave=:01:00.0,slave=:01:00.1,xmit_policy=l34
..
}
But when vpp start,I show int

DBGvpp# show int

Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     Counter          
Count

GigabitEthernet1/0/0              1     down         9000/0/0/0

GigabitEthernet1/0/1              2     down         9000/0/0/0

UnknownEthernet2                  3     down         9000/0/0/0

local0                            0     down          0/0/0/0

when I Set status UnknownEthernet2 up, vpp crash down.
Another question, when I compile VPP, Is need cfg RTE_LIBRTE_PMD_BOND 
(build/external/packages/dpdk.mk) option on?
Thanks!
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15026): https://lists.fd.io/g/vpp-dev/message/15026
Mute This Topic: https://lists.fd.io/mt/69394532/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] #vpp #bond How to config bond mode in vpp?

2020-01-02 Thread wei_sky2008
we use vpp version 19.08
when I config Bond in VPP startup.conf

dpdk{
...
vdev eth_bond0,mode=1,slave=:01:00.0,slave=:01:00.1,xmit_policy=l34
..
}
But when vpp start,I show int

DBGvpp# show int

Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     Counter          
Count

GigabitEthernet1/0/0              1     down         9000/0/0/0

GigabitEthernet1/0/1              2     down         9000/0/0/0

UnknownEthernet2                  3     down         9000/0/0/0

local0                            0     down          0/0/0/0

when I Set status UnknownEthernet2 up, vpp crash down.
Another question, when I compile VPP, Is need cfg RTE_LIBRTE_PMD_BOND 
(build/external/packages/dpdk.mk) option on?
Thanks!
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15026): https://lists.fd.io/g/vpp-dev/message/15026
Mute This Topic: https://lists.fd.io/mt/69394532/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452
Mute #bond: https://lists.fd.io/mk?hashtag=bond&subid=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-