[ofa-general] S/G support for connected mode?!

Or Gerlitz ogerlitz at voltaire.com
Wed Jun 11 09:32:01 PDT 2008


Hi Roland,

I see the under connected mode the ipoib driver does not advertise S/G
(NETIF_F_SG) support at its features bitmap. I understand that this would
force the stack to do a copy in case the packet to be sent is made of
page/fragments held at the SKB, etc.

Doesn't it make sense to support S/G also for connected mode? I know that
for CSUM support, if S/G is not supported, then the stack ignores the NETIF_F_IP_CSUM
bit even if its being set by the nic, but does it apply also the other way -
that is if CSUM is not supported then the stack ignores NETIF_F_SG? if yes, why?

Or.



More information about the general mailing list