Certain aspects of a method and system for transparent TCP offload with a
user space library are disclosed. Aspects of a method may include
collecting TCP segments in a network interface card (NIC) without
transferring state information to a host system. When an event occurs
that terminates the collection of TCP segments, a single aggregated TCP
segment based on the collected TCP segments may be generated. The
aggregated TCP segment may be posted directly to a user space library,
bypassing kernel processing of the aggregated TCP segment.