From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] bonding: move ipoib_header_ops to vmlinux Date: Tue, 25 Nov 2014 13:44:50 -0500 (EST) Message-ID: <20141125.134450.1265438298771389292.davem@davemloft.net> References: <20141125.010741.450666241983239119.davem@davemloft.net> <54742D6E.9030605@mellanox.com> <19740.1416940877@famine> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org, wen.gang.wang-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: jay.vosburgh-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org Return-path: In-Reply-To: <19740.1416940877@famine> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org From: Jay Vosburgh Date: Tue, 25 Nov 2014 10:41:17 -0800 > Or Gerlitz 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html