[ovs-discuss] ipoib with open vswitch

Trygve Sanne Hardersen trygve at hypobytes.com
Thu Apr 15 17:53:21 UTC 2010


Hi,

I'm new to Open vSwitch, and I'm having problems getting it to work with the
Xen Cloud Platform 0.1.1 (XCP) and IP over Infiniband (IPOIB). My setup is
explained in detail here:

http://xen.markmail.org/search/?q=ipoib#query:ipoib+page:1+mid:7zauvoz4oe75ezyj+state:results

This is the Open vSwitch configuration:

[root at hypoxcp1 ~]# cat /etc/ovs-vswitchd.conf
bridge.brib0.mac=80:00:00:48:fe:80:00:00:00:00:00:00:00:30:48:ff:ff:cc:0b:25
bridge.brib0.port=brib0
bridge.brib0.port=ib0
bridge.brib0.xs-network-uuids=6455dd7f-4a61-43b8-a49d-656f749c4ac6
bridge.xenbr0.mac=00:30:48:cc:5c:a4
bridge.xenbr0.port=eth0
bridge.xenbr0.port=xenbr0
bridge.xenbr0.xs-network-uuids=528d85a4-f582-c181-54eb-acf09ac7dcf4
bridge.xenbr1.mac=00:30:48:cc:5c:a5
bridge.xenbr1.port=eth1
bridge.xenbr1.port=xenbr1
bridge.xenbr1.xs-network-uuids=4f033ff5-5a56-629c-1c27-0765ba7c03bb

This gives the following errors when I reload the switch:

|00043|bridge|INFO|created port ib0 on bridge brib0
|00044|dpif|WARN|dp0: failed to add ib0 as port: Invalid argument
|00045|bridge|ERR|failed to add ib0 interface to dp0: Invalid argument
|00046|bridge|ERR|ib0 interface not in dp0, dropping
|00047|bridge|ERR|ib0 port has no interfaces, dropping

I've looked a bit at the Open vSwitch source code and it seems to me like
MAC addresses longer than 6 bytes are not supported. Is this correct? If so,
is there a workaround for the issue?

I'm tempted to try changing ETH_ADDR_LEN in packets.h to 20 which would
allow storing the MAC of the IPOIB NIC, but I think more changes are needed
than just changing the length.

Thanks!

Trygve

-- 
HypoBytes Ltd.
Trygve Sanne Hardersen
Akersveien 24F
0177 Oslo
Norway

hypobytes.com
+47 40 55 30 25
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20100415/803dc1f5/attachment-0001.html>


More information about the discuss mailing list