* Linux 3.2-rc1 vs. OFED 1.5.4-rc4: Packets are looped back @ 2011-11-11 16:14 Christoph Lameter 2011-11-17 17:33 ` Shawn Bohrer 0 siblings, 1 reply; 2+ messages in thread From: Christoph Lameter @ 2011-11-11 16:14 UTC (permalink / raw) To: linux-rdma-u79uwXL29TY76Z2rM5mHXA We have an app here that runs fine with OFED. But if I try to use the kernel IB subsystem in 3.2 it complains about packets being looped back to the application. That seems to be controlled by IB_DEVICE_BLOCK_MULTICAST_LOOPBACK and IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK. Why does it not work in the kernel IB stack? -- 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 ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Linux 3.2-rc1 vs. OFED 1.5.4-rc4: Packets are looped back 2011-11-11 16:14 Linux 3.2-rc1 vs. OFED 1.5.4-rc4: Packets are looped back Christoph Lameter @ 2011-11-17 17:33 ` Shawn Bohrer 0 siblings, 0 replies; 2+ messages in thread From: Shawn Bohrer @ 2011-11-17 17:33 UTC (permalink / raw) To: linux-rdma-u79uwXL29TY76Z2rM5mHXA Christoph Lameter <cl@...> writes: > > We have an app here that runs fine with OFED. But if I try to use the > kernel IB subsystem in 3.2 it complains about packets being looped back to > the application. > > That seems to be controlled by IB_DEVICE_BLOCK_MULTICAST_LOOPBACK and > IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK. > > Why does it not work in the kernel IB stack? The only place the 3.2 kernel sets IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK is in ipoib_transport_dev_init() so unless you are doing IPoIB you will get loopback traffic. The reason you do not get loopback traffic with OFED is because OFED has the following patch that adds the block_loopback module parameter to mlx4_core and defaults to blocking-enabled. http://git.openfabrics.org/git?p=ofed_1_5/linux-2.6.git;a=blob;f=kernel_patches/fixes/mlx4_0290_mcast_loopback.patch;h=786a3926529befac2c2d1fa6d8c36bada79d61a7;hb=HEAD -- 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 ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-17 17:33 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-11-11 16:14 Linux 3.2-rc1 vs. OFED 1.5.4-rc4: Packets are looped back Christoph Lameter 2011-11-17 17:33 ` Shawn Bohrer
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox