lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <AB6488BF71876F4498928F5DDA52616883103F@ITCGCL02BE.fsoft.fpt.vn>
Date:	Mon, 25 May 2009 13:57:48 +0700
From:	"Nguyen Tuan Huy \(G11\)" <huynt1@...ft.com.vn>
To:	<netdev@...r.kernel.org>
Subject: RE: [TSO]-Refer to "State of TCP segmentation offload to NIC in  linux"

Thanks Ben.

>I think you won't see 64K packets for a TCP connection that was just
>opened, due to the slow start algorithm.

I have dumped the packets that passed to the hardware. I found that
these packets are always MTU size. 

I think that it must have one flag indicate that when it is turn on,
packet will not framed by TCP/IP layer, but hardware. 
At first I think that is NETIF_F_TSO, but it is not correct.

My kernel version is 2.6.11.12

Best regards,
Huy

-----Original Message-----
From: Ben Hutchings [mailto:ben@...adent.org.uk] 
Sent: Sunday, May 24, 2009 8:16 PM
To: Nguyen Tuan Huy (G11)
Cc: netdev@...r.kernel.org
Subject: Re: [TSO]-Refer to "State of TCP segmentation offload to NIC in
linux"

On Sun, 2009-05-24 at 18:38 +0700, Nguyen Tuan Huy (G11) wrote:
> Dear Mr Ben Hutchings, 
> 
>  
> 
> I have read your answer about question "State of TCP segmentation
> offload to NIC in linux". 
> 
> The link is
> http://kerneltrap.org/mailarchive/linux-netdev/2008/5/7/1757954/thread

Please direct your queries to the netdev list, not to me personally.

> I am now writing network device driver that support TSO function. But
> when I send one packet with 64K, then TCP has divided 64K, not passed
> the whole 64K to NIC driver.
[...]

I think you won't see 64K packets for a TCP connection that was just
opened, due to the slow start algorithm.

Ben.

-- 
Ben Hutchings
Teamwork is essential - it allows you to blame someone else.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ