The invention refers to a kind of data frame buffer device and method for
Ethernet passive optical network, the buffer device and method in the invention use a structure of first-in first-out, in order to realize the memorization and management to variable-length data frame in the
Ethernet, it examines the data frame entering the buffer
queue at first, writes them to the memory device with first-in first-out mode, one pointer pointing to the data frame are written to the descriptor memory device, at the same time, the length information of the data frame is written to the second area of the descriptors memory device, one data frame corresponds to a descriptor, these descriptors forms the
queue with first-in first-out mode, when the pointer pointing to data frame memory structure occurs chaos in the using process, it causes the data frame generate error, but when uses the next descriptor to be used as the new point of the first-in first-0 out
queue, the whole structure can be restored according to the new address, thus it maintains the integrity of the data frame memory structure.