howto exploit TCP Segmentation Offload (TSO)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How can I make the Linux network stack give large packets to a device driver.
I'm implementing TSO support for a network driver and want the stack to
give me large packets. What I do is to set the NETIF_F_TSO flag on my
netdevice. But the stack does not really hand large packets to the driver.
Packets are only 1620 bytes in size (instead of 1440 bytes w/o the TSO flag set).

I read about tests with the e1000 driver where 64K packets were given to the
driver and the hardware. Are there any network options I have to set in order
to make the stack give me large packets?

I'm using a simple TCP client-server test program which sends e.g. 20000 bytes
packets. I already tried setting the socket option TCP_MAXSEG, but this does not
work.

Can anyone please give a hint on this?

-- 
Regards,
Thomas.
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux