Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2012 10:22:51 -0800
From:      David Somayajulu <david.somayajulu@qlogic.com>
To:        "freebsd-current@freebsd.org" <freebsd-current@FreeBSD.org>, "freebsd-drivers@freebsd.org" <freebsd-drivers@freebsd.org>
Subject:   Question on TSO/LSO Transmit Frames
Message-ID:  <75E1A2A7D185F841A975979B0906BBA67C79BD85F7@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 trans=
mit with CSUM_TSO bit  set in

m_head->m_pkthdr.csum_flags  ; where m_head is the first (struct mbuf) in t=
he mbuf chain

that the [Ethernet Header] + [VLAN Tag if present] + [IP Header] + [TCP Hea=
der] are all present in one physically contiguous segment ?

In other words is

Size of ([Ethernet Header] + [VLAN Tag if present] + [IP Header] + [TCP Hea=
der]) <=3D m_head->m_len

When ((m_head->m_pkthdr.csum_flags   & CSUM_TSO) !=3D 0)

Thanks
David S.


This message and any attached documents contain information from QLogic Cor=
poration 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 n=
otify 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?75E1A2A7D185F841A975979B0906BBA67C79BD85F7>