From: Jay Vosburgh <jay.vosburgh@xxxxxxxxxxxxx> Date: Tue, 25 Nov 2014 10:41:17 -0800 > Or Gerlitz <ogerlitz@xxxxxxxxxxxx> wrote: > >>On 11/25/2014 8:07 AM, David Miller wrote: >>> IPOIB should not work over bonding as it requires that the device >>> use ARPHRD_ETHER. >> >>Hi Dave, >> >>IPoIB devices can be enslaved to both bonding and teaming in their HA mode, >>the bond device type becomes ARPHRD_INFINIBAND when this happens. > > The point was that pktgen disallows ARPHRD_INFINIBAND, not that > bonding does. > > Pktgen specifically checks for type != ARPHRD_ETHER, so the > IPoIB bond should not be able to be used with pkgten. My suspicion is > that pktgen is being configured on the bond first, then an IPoIB slave > is added to the bond; this would change its type in a way that pktgen > wouldn't notice. +1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html