RDMA/nes: Fix MSS calculation on RDMA path
authorChien Tung <ctung@neteffect.com>
Fri, 21 Mar 2008 00:55:30 +0000 (19:55 -0500)
committerRoland Dreier <rolandd@cisco.com>
Fri, 21 Mar 2008 20:59:28 +0000 (13:59 -0700)
commitf2b2b59b93082d02ee5ec8fda4ed94f498551a47
treede2f5566fc128dccdfe958f4b9b401989e820dfa
parentdba92d3bc49c036056a48661d2d8fefe4c78375a
RDMA/nes: Fix MSS calculation on RDMA path

Fix the calculation of the MSS for RDMA connections: we need to
allow space in frames for a VLAN tag too.

Signed-off-by: Chien Tung <ctung@neteffect.com>
Signed-off-by: Glenn Streiff <gstreiff@neteffect.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/nes/nes_cm.c