[ofw] RE: [IPoIB CM]Patch for IP protocol packet redirection
Alex Estrin
alex.estrin at qlogic.com
Tue Mar 3 05:18:34 PST 2009
Applied to ipoib_cm branch rev. 2004
Thanks,
Alex.
> -----Original Message-----
> From: ofw-bounces at lists.openfabrics.org [mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Alex
> Estrin
> Sent: Friday, February 27, 2009 9:39 AM
> To: ofw at lists.openfabrics.org
> Subject: [ofw] [IPoIB CM]Patch for IP protocol packet redirection
>
> Hello,
>
> By default IP packets are redirected accordingly destination endpoint connection status,
> however redirection flag could be left uninitialized if default packet goes to RC QP.
>
> Thanks,
> Alex.
>
> Index: ipoib_port.c
> ===================================================================
> --- ipoib_port.c (revision 1979)
> +++ ipoib_port.c (working copy)
> @@ -3534,9 +3534,6 @@
> }
> return status;
>
> - case IP_PROT_TCP:
> - p_desc->send_dir = SEND_RC_QP;
> - break;
> case IP_PROT_IGMP:
> /*
> In igmp packet I saw that iph arrive in 2 NDIS_BUFFERs:
> @@ -3556,7 +3553,11 @@
>
> case IP_PROT_ICMP:
> p_desc->send_dir = SEND_UD_QP;
> + break;
> +
> + case IP_PROT_TCP:
> default:
> + p_desc->send_dir = SEND_RC_QP;
> break;
> }
>
> _______________________________________________
> ofw mailing list
> ofw at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
More information about the ofw
mailing list