aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4
diff options
context:
space:
mode:
authorEli Cohen <eli@mellanox.co.il>2009-11-12 11:19:44 -0800
committerRoland Dreier <rolandd@cisco.com>2009-11-12 11:19:44 -0800
commit417608c20a4c8397bc5307d949ec01ea0a0dd8e5 (patch)
tree9986edf24a8d52fdfc5f51b2cb50f56c4eeb0c6c /drivers/net/mlx4
parentecdc428e4c5d821a07baf4f8b1718faf67b9026f (diff)
downloadkernel_samsung_crespo-417608c20a4c8397bc5307d949ec01ea0a0dd8e5.zip
kernel_samsung_crespo-417608c20a4c8397bc5307d949ec01ea0a0dd8e5.tar.gz
kernel_samsung_crespo-417608c20a4c8397bc5307d949ec01ea0a0dd8e5.tar.bz2
IB/mlx4: Remove limitation on LSO header size
Current code has a limitation: an LSO header is not allowed to cross a 64 byte boundary. This patch removes this limitation by setting the WQE RR for large headers thus allowing LSO headers of any size. The extra buffer reserved for MLX4_IB_QP_LSO QPs has been doubled, from 64 to 128 bytes, assuming this is reasonable upper limit for header length. Also, this patch will cause IB_DEVICE_UD_TSO to be set only for HCA FW versions that set MLX4_DEV_CAP_FLAG_BLH; e.g. FW version 2.6.000 and higher. Signed-off-by: Eli Cohen <eli@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/net/mlx4')
-rw-r--r--drivers/net/mlx4/fw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mlx4/fw.c b/drivers/net/mlx4/fw.c
index 3c16602..7194be3 100644
--- a/drivers/net/mlx4/fw.c
+++ b/drivers/net/mlx4/fw.c
@@ -90,6 +90,7 @@ static void dump_dev_cap_flags(struct mlx4_dev *dev, u32 flags)
[ 9] = "Q_Key violation counter",
[10] = "VMM",
[12] = "DPDP",
+ [15] = "Big LSO headers",
[16] = "MW support",
[17] = "APM support",
[18] = "Atomic ops support",