Thread (20 messages) flat view 20 messages, 4 authors, 2012-07-25

Re: [RFC] r8169 : why SG / TX checksum are default disabled

From: Francois Romieu <romieu@fr.zoreil.com>
Date: 2012-07-17 23:53:17

Eric Dumazet [off-list ref] :
[...]
I was wondering why Scatter Gather (NETIF_F_SG) and TX checksum
(NETIF_F_IP_CSUM) were disabled by default on r8169.
It was not unconditionally stable. For a number of reasons:
- incompatibility with jumbo frames.
  rtl_chip_infos now allows to take care of it
- lack of support for chipset dependent Tx descriptor 
  rtl_tx_desc_info handles it. There are yet a few unused ipv6 bits. No idea
  how useable they are.
- some false alarms due to different issues and probably some others
  I could hunt for in the archives.
Couldnt we enable them by default, maybe for a whitelist of "good"
nics ?
Sure.

Hayes, should we not add into the kernel driver something similar to
the rtl8168_start_xmit::skb_checksum_help stuff in Realtek's 8168 driver ?
There seems to be a bug for (skb->len < 60 && RTL_GIGA_MAC_VER_34.
(I found that activating them with ethtool automatically enables GSO,
 and performance with GSO is not good)
It's still an improvement though, isn't it ?

-- 
Ueimor
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help