On Sun, 2008-09-07 at 18:51 +0000, Ron Livne wrote: > Vlad, > This patch should be applied after the patch: > mlx4_0290_mcast_loopback.patch > > This patch makes the mcast loopback packets to be blocked > all the time, no matter what the parameter block_mcast_loopback was. > > Signed-off-by: Ron Livne <[EMAIL PROTECTED]> > > diff --git a/drivers/net/mlx4/mcg.c b/drivers/net/mlx4/mcg.c > index 3be3ca6..ad62dca 100644 > --- a/drivers/net/mlx4/mcg.c > +++ b/drivers/net/mlx4/mcg.c > @@ -213,11 +213,8 @@ int mlx4_multicast_attach(struct mlx4_dev *dev, struct > mlx4_qp *qp, u8 gid[16], > goto out; > } > > - if (block_mcast_loopback) > - mgm->qp[members_count++] = cpu_to_be32((qp->qpn & MGM_QPN_MASK) > | > - (!!mlx4_blck_lb << > MGM_BLCK_LB_BIT)); > - else > - mgm->qp[members_count++] = cpu_to_be32(qp->qpn & MGM_QPN_MASK); > + mgm->qp[members_count++] = cpu_to_be32((qp->qpn & MGM_QPN_MASK) | > + (!!mlx4_blck_lb << > MGM_BLCK_LB_BIT)); > > mgm->members_count = cpu_to_be32(members_count); >
Hi Ron, I updated mlx4_0290_mcast_loopback.patch instead of adding one more patch. Regards, Vladimir _______________________________________________ ewg mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
