Question on TSO/LSO Transmit Frames

From: David Somayajulu <david.somayajulu_at_qlogic.com>
Date: Thu, 16 Feb 2012 10:22:51 -0800
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.
Received on Thu Feb 16 2012 - 17:53:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:24 UTC