Hi,

I run two bridges on my openvswitch (ovsbr0, ovsbr1) both have redundant ports 
(bond0, bond1 with lacp) since the port groups have different performance (1gbs 
and 10gbs). Multiple internal interfaces are connected to the bridges and get 
network traffic assigned based on the vlan tag.
Since version 3.10 of the kernel only works with the first bridge (ovsbr0) as 
expected the second one gets not tagged traffic (untagged works fine!).
It makes no difference if I use the default kernel module or the upstream 
datapath module.

Following configuration I tested:
Kernel 3.9.x and smaller have no issue
Kernel 3.10-rc1 and bigger (latest test 3.10.7) are affected

Openvswitch tools 1.4, 1.7, 1.10, 1.12 and 1.12.90 (latest git  as Aug 19th) - 
all show the same behavior

My config:

# ovs-vsctl show
    Bridge "ovsbr1"
        Port "ovsbr1"
            Interface "ovsbr1"
                type: internal
        Port "bond1"
            Interface "eth3"
            Interface "eth2"
        Port ifsys
            tag: 4
            Interface ifsys
                type: internal
    Bridge "ovsbr0"
        Port ifsto
            tag: 5
            Interface ifsto
                type: internal
        Port "bond0"
            Interface "eth0"
            Interface "eth1"
        Port "ovsbr0"
            Interface "ovsbr0"
                type: internal
    ovs_version: "1.12.90"

# ovs-appctl lacp/show
---- bond0 ----
        status: active negotiated
        sys_id: 90:e2:ba:33:17:04
        sys_priority: 65534
        aggregation key: 1
        lacp_time: slow

slave: eth0: current attached
        port_id: 1
        port_priority: 65535
        may_enable: true

        actor sys_id: 90:e2:ba:33:17:04
        actor sys_priority: 65534
        actor port_id: 1
        actor port_priority: 65535
        actor key: 1
        actor state: activity aggregation synchronized collecting distributing

        partner sys_id: b8:af:67:0c:01:4b
        partner sys_priority: 32768
        partner port_id: 212
        partner port_priority: 32768
        partner key: 41
        partner state: activity aggregation synchronized collecting distributing

slave: eth1: current attached
        port_id: 3
        port_priority: 65535
        may_enable: true

        actor sys_id: 90:e2:ba:33:17:04
        actor sys_priority: 65534
        actor port_id: 3
        actor port_priority: 65535
        actor key: 1
        actor state: activity aggregation synchronized collecting distributing

        partner sys_id: b8:af:67:0c:01:4b
        partner sys_priority: 32768
        partner port_id: 106
        partner port_priority: 32768
        partner key: 41
        partner state: activity aggregation synchronized collecting distributing
---- bond1 ----
        status: active negotiated
        sys_id: 00:25:90:94:a4:3c
        sys_priority: 65534
        aggregation key: 1
        lacp_time: slow

slave: eth2: current attached
        port_id: 1
        port_priority: 65535
        may_enable: true

        actor sys_id: 00:25:90:94:a4:3c
        actor sys_priority: 65534
        actor port_id: 1
        actor port_priority: 65535
        actor key: 1
        actor state: activity aggregation synchronized collecting distributing

        partner sys_id: b8:af:67:0c:01:4b
        partner sys_priority: 32768
        partner port_id: 130
        partner port_priority: 32768
        partner key: 19
        partner state: activity aggregation synchronized collecting distributing

slave: eth3: current attached
        port_id: 2
        port_priority: 65535
        may_enable: true

        actor sys_id: 00:25:90:94:a4:3c
        actor sys_priority: 65534
        actor port_id: 2
        actor port_priority: 65535
        actor key: 1
        actor state: activity aggregation synchronized collecting distributing

        partner sys_id: b8:af:67:0c:01:4b
        partner sys_priority: 32768
        partner port_id: 20
        partner port_priority: 32768
        partner key: 19
        partner state: activity aggregation synchronized collecting distributing

# ovs-appctl bond/show
---- bond0 ----
bond_mode: balance-tcp
bond-hash-basis: 0
updelay: 0 ms
downdelay: 0 ms
next rebalance: 2904 ms
lacp_status: negotiated

slave eth0: enabled
        active slave
        may_enable: true
        hash 29: 1 kB load
        hash 99: 0 kB load
        hash 238: 0 kB load

slave eth1: enabled
        may_enable: true
        hash 30: 0 kB load
        hash 66: 0 kB load
        hash 167: 0 kB load
        hash 201: 0 kB load
        hash 226: 0 kB load

---- bond1 ----
bond_mode: balance-tcp
bond-hash-basis: 0
updelay: 0 ms
downdelay: 0 ms
next rebalance: 2904 ms
lacp_status: negotiated

slave eth2: enabled
        may_enable: true
        hash 53: 0 kB load

slave eth3: enabled
        active slave
        may_enable: true


eth0, eth1 - 10gig interfaces
eth2, eth3 - 1gig interfaces

ifsto receives packets, ifsys not (in kernel 3.10, in kernel 3.9 both interface 
are operational)
ovsbr0 and ovsbr1 both untagged, both receive packets

any more details needed?

Any solutions for my problem?

Regards
Andre

_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to