Question on TSO/LSO Transmit Frames

David Somayajulu david.somayajulu at qlogic.com
Thu Feb 16 18:53:00 UTC 2012


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.



More information about the freebsd-current mailing list