Patent ID: 8892787
Filing Date: 2014-11-18
Classification: G06F

Abstract:
1. An apparatus in a Serial Attached SCSI (SAS) device configured to buffer data for transmission to a system buffer memory of an attached host device, the apparatus comprising: a frame buffer memory adapted to store frames as they are received from another SAS device wherein received frames each comprise one or more of: user data and data integrity field (DIF) information for validating user data; a direct memory access (DMA) staging buffer memory adapted to store user data derived from received frames for transmission to a system buffer memory in a system coupled with the SAS device; a DMA circuit coupled with the DMA staging buffer memory and adapted to controllably transfer user data from the DMA staging buffer memory to the system buffer memory; an end to end data protection (EEDP) circuit coupled with the frame buffer memory and adapted to validate user data in a received frame using associated DIF information in a received frame; and control logic coupled with the EEDP circuit and with the DMA circuit and with the frame buffer memory and with the DMA staging buffer memory, the control logic adapted to, responsive to the EEDP circuit validating user data in a received frame, eliminate DIF information associated with the valid user data, and copy the valid user data from the frame buffer memory into the DMA staging buffer memory contiguous with other valid user data, such that the DMA staging buffer includes valid user data without including DIF information, the control logic further adapted to start the DMA circuit to send valid user data in the DMA staging buffer memory to the system buffer memory responsive to sensing that the amount of valid user data in the DMA staging buffer memory exceeds a predetermined threshold value.