Applied at 7236
From: Alex Naslednikov
Sent: Monday, January 31, 2011 3:31 PM
To: [email protected]
Subject: [ofw][patch][bus] Remove the limitation of 60 bytes on LSO packets
The mentioned limitation is no longer needed.
Signed off by: Alexander Naslednikov (xalex at mellanox.co.il)
Index: hw/mlx4/kernel/bus/ib/qp.c
===================================================================
--- hw/mlx4/kernel/bus/ib/qp.c (revision 3080)
+++ hw/mlx4/kernel/bus/ib/qp.c (working copy)
@@ -1469,12 +1469,6 @@
{
unsigned halign = ALIGN(sizeof *wqe + wr->dgrm.ud.hlen, 16);
void * ds;
- /*
- * This is a temporary limitation and will be removed in
- a forthcoming FW release:
- */
- if (unlikely(halign > 64))
- return -EINVAL;
if (unlikely(!(qp->flags & MLX4_IB_QP_LSO) &&
wr->num_ds > qp->sq.max_gs - (halign >> 4)))
Alexander (XaleX) Naslednikov
SW Networking Team
Mellanox Technologies
_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw