[ofa-general] [PATCH 1/3] mcast loopback block

Olga Shern (Voltaire) olga.shern at gmail.com
Mon Jun 2 10:52:34 PDT 2008


On 6/2/08, Ralph Campbell <ralph.campbell at qlogic.com> wrote:
>
> What do you mean by "block loopback"?
> Does this mean a posted send WR for a multicast packet
> that matches the local LID is not sent at all or
> the packet is sent on the wire but not sent to
> the local QP? Or is it something else?




It controls the ConnectX HCA multicast packets block loopback (blck_lb) for
self QP. The patch is designed to enable or

disable blocking of all multicast packets on self QP created on the ConnectX
HCA



On Mon, 2008-06-02 at 17:30 +0000, Ron Livne wrote:
> > 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 {
> > _______________________________________________
> > general mailing list
> > general at lists.openfabrics.org
> > http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> >
> > To unsubscribe, please visit
> http://openib.org/mailman/listinfo/openib-general
>
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
>
> To unsubscribe, please visit
> http://openib.org/mailman/listinfo/openib-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080602/3cd58a81/attachment.html>


More information about the general mailing list