Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2011 16:02:12 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r227890 - stable/9/sys/dev/qlxgb
Message-ID:  <201111231602.pANG2CLu052704@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Wed Nov 23 16:02:12 2011
New Revision: 227890
URL: http://svn.freebsd.org/changeset/base/227890

Log:
  MFC r227547:
  
   The maximum TSO frame size should be:
          maximum IP datagram size (65535 bytes) +
          Ethernet header size (14 bytes) +
          2 * VLAN tag size (4 bytes) [1].
  
   [1] We need to multiply by 2 to account for the double VLAN tag
       provision added in IEEE 802.1ad.
  
   Submitted by:	David Somayajulu (david.somayajulu qlogic.com)
  
  Approved by:	re (kib)

Modified:
  stable/9/sys/dev/qlxgb/qla_def.h
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/amd64/include/xen/   (props changed)
  stable/9/sys/boot/   (props changed)
  stable/9/sys/boot/i386/efi/   (props changed)
  stable/9/sys/boot/ia64/efi/   (props changed)
  stable/9/sys/boot/ia64/ski/   (props changed)
  stable/9/sys/boot/powerpc/boot1.chrp/   (props changed)
  stable/9/sys/boot/powerpc/ofw/   (props changed)
  stable/9/sys/cddl/contrib/opensolaris/   (props changed)
  stable/9/sys/conf/   (props changed)
  stable/9/sys/contrib/dev/acpica/   (props changed)
  stable/9/sys/contrib/octeon-sdk/   (props changed)
  stable/9/sys/contrib/pf/   (props changed)
  stable/9/sys/contrib/x86emu/   (props changed)

Modified: stable/9/sys/dev/qlxgb/qla_def.h
==============================================================================
--- stable/9/sys/dev/qlxgb/qla_def.h	Wed Nov 23 15:41:55 2011	(r227889)
+++ stable/9/sys/dev/qlxgb/qla_def.h	Wed Nov 23 16:02:12 2011	(r227890)
@@ -86,7 +86,7 @@ typedef struct qla_tx_buf qla_tx_buf_t;
 #define QLA_MAX_SEGMENTS	63	/* maximum # of segs in a sg list */
 #define QLA_MAX_FRAME_SIZE	MJUM9BYTES
 #define QLA_STD_FRAME_SIZE	1514
-#define QLA_MAX_TSO_FRAME_SIZE	(64 * 1024 - 1)
+#define QLA_MAX_TSO_FRAME_SIZE	((64 * 1024 - 1) + 22)
 
 /* Number of MSIX/MSI Vectors required */
 #define Q8_MSI_COUNT		4



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111231602.pANG2CLu052704>