[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081121.171625.143644175.davem@davemloft.net>
Date: Fri, 21 Nov 2008 17:16:25 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: mcarlson@...adcom.com
Cc: netdev@...r.kernel.org, mchan@...adcom.com, andy@...yhouse.net
Subject: Re: [PATCH 01/10] tg3: Use NET_IP_ALIGN
From: "Matt Carlson" <mcarlson@...adcom.com>
Date: Fri, 21 Nov 2008 10:59:42 -0800
> This patch replaces hardcoded 2's with the NET_IP_ALIGN constant or
> TG3_RAW_IP_ALIGN where appropriate. Some platforms can redefine the
> NET_IP_ALIGN definition to zero if unaligned DMA transfers cost more
> than the IP header alignment gains. This patch represents a
> performance improvement when using the 5701 on these platforms.
> The copy path can be avoided.
>
> TG3_RAW_IP_ALIGN is used in cases where we always want to align the
> IP header on dword boundaries.
>
> Signed-off-by: Matt Carlson <mcarlson@...adcom.com>
> Signed-off-by: Michael Chan <mchan@...adcom.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists