It would be extremely slow. Everything is done in software, kernel in particular, and that means huge latency.
You can try with the standart Linux bridge. Just add eth0 and ib0 to the same bridge and it should work (brctl addbr mybr; brctl addif mybr eth0 ib0)