Re: TCO, txpause, rxpause and other nice things on em adapters
On 2012-01-03, ??? chipits...@gmail.com wrote: 2012/1/2 Christian Weisgerber na...@mips.inka.de: Ilya Shipitsin chipits...@gmail.com wrote: I'm running servers with em NICs. People on list reported things like hwfeatures=8037CSUM_IPv4,CSUM_TCPv4,CSUM_UDPv4,VLAN_MTU,VLAN_HWTAGGING,WOL , I do not see such options in ifconfig output. Try ifconfig em0 hwfeatures on -current. f2n0:/root#ifconfig em0 hwfeatures ifconfig: hwfeatures: bad value it doesn't work on 5.0RELEASE ? There wouldn't be much point saying on -current if it worked in 5.0. You won't see much output for em(4) though, we don't use offloading there.
Re: TCO, txpause, rxpause and other nice things on em adapters
Stuart Henderson s...@spacehopper.org wrote: There wouldn't be much point saying on -current if it worked in 5.0. You won't see much output for em(4) though, we don't use offloading there. We use it on the receive side, but that doesn't show up in hwfeatures. For transmission, TCP/UDP checksumming is disabled because em(4) is one of those NICs that needs the pseudo-header checksum to be initialized and pf's checksum fixup breaks this for localhost redirects. I guess IP header checksum offload could be enabled for TX, but I doubt that this would produce any gain. -- Christian naddy Weisgerber na...@mips.inka.de
Re: TCO, txpause, rxpause and other nice things on em adapters
2012/1/2 Christian Weisgerber na...@mips.inka.de: Ilya Shipitsin chipits...@gmail.com wrote: I'm running servers with em NICs. People on list reported things like hwfeatures=8037CSUM_IPv4,CSUM_TCPv4,CSUM_UDPv4,VLAN_MTU,VLAN_HWTAGGING,WOL , I do not see such options in ifconfig output. Try ifconfig em0 hwfeatures on -current. f2n0:/root#ifconfig em0 hwfeatures ifconfig: hwfeatures: bad value it doesn't work on 5.0RELEASE ? neither man page on em says anything about check sum offload. Liar. The em driver supports IPv4 receive IP/TCP/UDP checksum offload on all but 82542-based adapters, VLAN tag insertion and stripping, and Jumbo frames on all but 82562V, 82566DC/82566DM and 82573E/82573L/82573V-based adapters. em are advanced cards, do they already do all things out of a box? Yes. ifconfig also shows media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause), what is rxpause,txpause ? Ethernet flow control. -- Christian naddy Weisgerber na...@mips.inka.de
Re: TCO, txpause, rxpause and other nice things on em adapters
Ilya Shipitsin chipits...@gmail.com wrote: I'm running servers with em NICs. People on list reported things like hwfeatures=8037CSUM_IPv4,CSUM_TCPv4,CSUM_UDPv4,VLAN_MTU,VLAN_HWTAGGING,WOL, I do not see such options in ifconfig output. Try ifconfig em0 hwfeatures on -current. neither man page on em says anything about check sum offload. Liar. The em driver supports IPv4 receive IP/TCP/UDP checksum offload on all but 82542-based adapters, VLAN tag insertion and stripping, and Jumbo frames on all but 82562V, 82566DC/82566DM and 82573E/82573L/82573V-based adapters. em are advanced cards, do they already do all things out of a box? Yes. ifconfig also shows media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause), what is rxpause,txpause ? Ethernet flow control. -- Christian naddy Weisgerber na...@mips.inka.de
Re: TCO, txpause, rxpause and other nice things on em adapters
Not all em have the same features, the hwfeatures option to ifconfig was added after.the 50 release On Jan 1, 2012 2:09 PM, PP;QQ P(P8P?P8QP8P= chipits...@gmail.com wrote: Hello! I'm running servers with em NICs. People on list reported things like hwfeatures=8037CSUM_IPv4,CSUM_TCPv4,CSUM_UDPv4,VLAN_MTU,VLAN_HWTAGGING,WOL , I do not see such options in ifconfig output. neither man page on em says anything about check sum offload. em are advanced cards, do they already do all things out of a box? do I have to make special tuning for TCO ? ifconfig also shows media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause), what is rxpause,txpause ? cheers, Ilya Shipitsin