s2io: driver still in use - please reconsider removal
Subsystems (2)
Hi,
Commit aba0138eb7d7 ("net: ethernet: neterion: s2io: remove unused driver") removed s2io in v7.0 as "highly unlikely to still be used." It is still in use here: an Exar Xframe-II (PCI 17d5:5832) in a Supermicro X5DA8.
Bringing it up, I found that no TCP can be transmitted on these adapters since v4.2. I bisected it to 51466a7545b7 ("tcp: fill shinfo->gso_type at last moment"): since that commit tcp_transmit_skb() sets skb_shinfo(skb)->gso_type unconditionally, non-GSO TCP frames now reach s2io_xmit() with gso_type=SKB_GSO_TCPV4 but gso_size=0. The driver arms the hardware LSO engine off gso_type alone and programs MSS=0, which the Xframe-II rejects (LSO6_ABORT), dropping every TCP frame before the MAC. UDP and ICMP are unaffected.
The fix is one line - only arm LSO for skbs that are really GSO:
- if (offload_type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6)) {
+ if ((offload_type & (SKB_GSO_TCPV4 | SKB_GSO_TCPV6)) && skb_is_gso(skb)) {
I have submitted that patch to stable@ for the 6.6.y and 6.12.y trees that still carry the driver. Given it is evidently still in use, would you consider reverting the removal?
Thanks,
Michael Pratte
Hi, Michael,
Quoted 7 lines · Michael Pratte
Commit
aba0138eb7d7("net: ethernet: neterion: s2io: remove unused driver") removed s2io in v7.0 as "highly unlikely to still be used." It is still in use here: an Exar Xframe-II (PCI 17d5:5832) in a Supermicro X5DA8.Bringing it up, I found that no TCP can be transmitted on these adapters since v4.2.
[...]
Quoted 2 lines
Given it is evidently still in use, would
you consider reverting the removal?
Given that the driver has not been working for almost 11 years and you are seemingly the first person to notice, I would like to respectfully disagree with this assertion.
Are you using the card for actual work, or are you just testing it out of curiosity? What kernel version were you running before you upgraded to a current kernel?
Ethan
Quoted 3 lines · Ethan Nelson-Moore
Are you using the card for actual work, or are you just testing it out of curiosity? What kernel version were you running before you upgraded to a current kernel?
A mix of both. I run and maintain a lot of older hardware, some for work and some for fun, and a 10G card that works in PCI-X has been hard to find. I brought this one up directly on 6.6, so I hadn't run it on an older kernel; I bisected afterward and found it last worked in 4.1.
Quoted 3 lines
Given that the driver has not been working for almost 11 years and you are seemingly the first person to notice, I would like to respectfully disagree with this assertion.
I might well be the only one still using it. But it's a one-line fix, and I'm willing to maintain it going forward if that helps keep it in tree.
Thanks,
Michael
Quoted 6 lines · On Tue, 23 Jun 2026 06:21:33 -0500 Michael Pratte <[email protected]>…
Hi,
Commit
aba0138eb7d7("net: ethernet: neterion: s2io: remove unused driver") removed s2io in v7.0 as "highly unlikely to still be used." It is still in use here: an Exar Xframe-II (PCI 17d5:5832) in a Supermicro X5DA8.
Are you really using a dual socket netburst P4 system!
They weren't really any good when new :-)
David