[ofa-general] [PATCH 1/3] mcast loopback block
Ron Livne
ronli at voltaire.com
Mon Jun 2 10:30:52 PDT 2008
mcast block loopback patch [1/3]
ib_verbs: add mcast block loopback capability to the ib device.
This patch adds a capability flag for blocking mcast loopback
packets in an ib device.
Signed-off-by: Ron Livne <ronli at voltaire.com>
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-05-19 13:38:13.000000000 +0300
+++ kernels/linux-2.6.26-rc2/include/rdma/ib_verbs.h 2008-05-19 13:38:16.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 {
@@ -500,6 +501,7 @@ enum ib_qp_type {
enum ib_qp_create_flags {
IB_QP_CREATE_IPOIB_UD_LSO = 1 << 0,
+ IB_QP_BLOCK_LOOPBACK = 1 << 1,
};
struct ib_qp_init_attr {
More information about the general
mailing list