Date: Thu, 16 Feb 2012 10:03:54 -0800 From: David Somayajulu <david.somayajulu@qlogic.com> To: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Question on TSO/LSO Transmit Frames Message-ID: <75E1A2A7D185F841A975979B0906BBA67C79BD85EB@AVEXMB1.qlogic.org>
next in thread | raw e-mail | index | archive | help
Hi All, Is it safe to assume that when a driver receives an Ethernet frame to transmit with CSUM_TSO bit set in m_head->m_pkthdr.csum_flags ; where m_head is the first (struct mbuf) in the mbuf chain that the [Ethernet Header] + [VLAN Tag if present] + [IP Header] + [TCP Header] are all present in one physically contiguous segment ? In other words is Size of ([Ethernet Header] + [VLAN Tag if present] + [IP Header] + [TCP Header]) <= m_head->m_len When ((m_head->m_pkthdr.csum_flags & CSUM_TSO) != 0) Thanks David S. ________________________________ This message and any attached documents contain information from QLogic Corporation or its wholly-owned subsidiaries that may be confidential. If you are not the intended recipient, you may not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?75E1A2A7D185F841A975979B0906BBA67C79BD85EB>
