commit | bc7b3a36ba02e4053ca38653e6a753082d9add03 | [log] [tgz] |
---|---|---|
author | Shirley Ma <mashirle@us.ibm.com> | Wed Apr 23 11:55:45 2008 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Wed Apr 23 11:55:45 2008 -0700 |
tree | 28fe1daa7cab6c7cab71bbc7af22ee6ca7746323 | |
parent | bc5698f3ecc9587e1edb343a2878f8d228c49e0e [diff] |
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 <xma@us.ibm.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>