From: Shirley Ma Date: Wed, 23 Apr 2008 18:55:45 +0000 (-0700) Subject: IPoIB: Handle 4K IB MTU for UD (datagram) mode X-Git-Tag: v2.6.26-rc1~1032^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc7b3a36ba02e4053ca38653e6a753082d9add03;p=pandora-kernel.git IPoIB: Handle 4K IB MTU for UD (datagram) mode This patch enables IPoIB to use 4K UD messages (when the underlying device and fabrics support a 4K MTU) by using two scatter buffers when PAGE_SIZE is less than or equal to thhe HCA IB MTU size. The first buffer is for IPoIB header + GRH header, and the second buffer is the IPoIB payload, which is 4K-4. Signed-off-by: Shirley Ma Signed-off-by: Roland Dreier --- Reading git-diff-tree failed