Erik Nordmark wrote: > ... > Architecturally it makes more sense to have everything about GLD just > view everything as TCP LSO. In the case the hardware doesn't handle > LSO it is quite efficient to convert the LSO format to an "MDT > format". By this I mean take LSO's 'one TCP/IP header, one large > payload' into 'multiple TCP/IP headers, separate payloads but on the > same pages'. That means you'd get the performance benefit of doing > DMA/IOMMU setup for the single large payload and page with N TCP/IP > headers. > (Some refer to this as "soft LSO", but that term also includes the > case when the DMA/IOMMU handling is operating on the individual, small > packets and here I am talking about amortizing DMA/IOMMU handling the > same way as with MDT.)
In terms of architectural direction, I agree that we should take this path and perhaps extend GLD to provide "soft X" for more of the hardware offload capabilities, such as checksuming and LRO, to simplify the implementation of higher up protocols. Darren _______________________________________________ networking-discuss mailing list [email protected]
