[ofa-general] ***SPAM*** [PATCH 1/3 v3] ib/verbs : multicast loopback blocking
Ron Livne
ronli at voltaire.com
Thu Jun 26 07:33:59 PDT 2008
This patch adds a capability flag for blocking multicast loopback
packets in an ib device.
This patch also adds a creation flag for QPs:
IB_QP_CREATE_MULTICAST_BLOCK_LOOPBACK, which means that when attaching
this QP, the multicast packets loopback block bit will be turned on.
Signed-off-by: Ron Livne <ronli at voltaire.com>
Changes in v2:
IB_QP_BLOCK_LOOPBACK QP creation flag in version 1, is now called
IB_QP_CREATE_MULTICAST_BLOCK_LOOPBACK.
Changes in v3:
whitespaces deleted.
---
linux-2.6.26-rc2/include/rdma/ib_verbs.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Index: kernels/linux-2.6.26-rc2/include/rdma/ib_verbs.h
===================================================================
--- kernels.orig/linux-2.6.26-rc2/include/rdma/ib_verbs.h 2008-06-26 14:10:01.000000000 +0300
+++ kernels/linux-2.6.26-rc2/include/rdma/ib_verbs.h 2008-06-26 14:10:19.000000000 +0300
@@ -106,6 +106,7 @@ enum ib_device_cap_flags {
IB_DEVICE_UD_IP_CSUM = (1<<18),
IB_DEVICE_UD_TSO = (1<<19),
IB_DEVICE_SEND_W_INV = (1<<21),
+ IB_DEVICE_BLOCK_LOOPBACK = (1<<22),
};
enum ib_atomic_cap {
@@ -499,7 +500,8 @@ enum ib_qp_type {
};
enum ib_qp_create_flags {
- IB_QP_CREATE_IPOIB_UD_LSO = 1 << 0,
+ IB_QP_CREATE_IPOIB_UD_LSO = 1 << 0,
+ IB_QP_CREATE_MULTICAST_BLOCK_LOOPBACK = 1 << 1,
};
struct ib_qp_init_attr {
More information about the general
mailing list