Hi, You mentioned in the recent "Re: [RFC][PATCH 1/1] cxgb3i: cxgb3 iSCSI initiator" thread that you were planning to restructure LRO to preserve headers so as to make forwarding possible without totally disabling LRO. For lro_receive_frags() based LRO, it would be ideal to locate the header in place in the frag via the mac_hdr argument to the get_frag_header() callback. Eg, I'm hoping that neither the driver nor the LRO module will need to allocate extra memory per frame and copy the headers to it in the common case when forwarding is not enabled. That would add quite a bit of overhead. With respect to hardware LRO and headers: Would it be possible to notify the driver via some sort of callback whether the headers are required? I think most hardware LRO implementations are going to collapse the headers, and having the option to fallback to software LRO for forwarding might be needed for those devices which will throw away the intermediate headers. Last, have you considered simply allowing "inexact" forwarding, where the ingress NIC is doing LRO and the egress nic is doing TSO? You loose exact framing information (eg, what you emit might not be framed exactly as you receive it), but you can still do filtering, and the host overhead is very low. Thanks, Drew -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
