Communication buffer scheme optimized for VoIP, QoS and data networking over a power line
First Claim
1. A method of operating a Media Access Control (MAC) receiver, the method comprising:
- providing a receive buffer group, the receive buffer group being associated with a plurality of priority levels;
allocating each of a plurality of receive buffers to a particular one of the plurality of the priority levels in order of priority level from the highest priority level to the lowest priority level for reception of frame segments of a given priority level in a receive buffer allocated to the given priority level, including determining whether to re-allocate at least one previously allocated receive buffer in the group to a higher priority level than the priority level at which the previously allocated receive buffer was allocated; and
maintaining an empty buffer group of empty buffers;
wherein allocating includes moving empty buffers from the empty buffer group to the receive buffers group for use as receive buffers in the reception of frame segments, and re-allocating the receive buffers within the receive buffers group when no empty buffer is available in the empty buffer group, wherein re-allocating comprises performing a static re-allocation to re-allocate an unused buffer from a lower priority to a higher of the priority levels within the receive buffers group.
6 Assignments
0 Petitions
Accused Products
Abstract
Media Access Control (MAC) layer transmit and receive buffering with multi-level prioritization. The receive buffering allocates receive buffers for receiving frame data from a PHY interface in priority order using both a static and dynamic buffer allocation, and delivers completed buffers queued in a multi-level priority queue to a host interface highest priority first. The transmit buffering delivers completed buffers queued in a multi-level priority queue to the PHY interface in priority order. When the multi-level priority queue contains a buffer that is higher priority than one being prepared for transmit, a priority-based interruption causes the transmit processing of the buffer to be suspended at its current state with the higher priority buffer taking its place. Upon completion of the higher priority buffer, the suspended buffer is resumed at its current state.
-
Citations
17 Claims
-
1. A method of operating a Media Access Control (MAC) receiver, the method comprising:
-
providing a receive buffer group, the receive buffer group being associated with a plurality of priority levels; allocating each of a plurality of receive buffers to a particular one of the plurality of the priority levels in order of priority level from the highest priority level to the lowest priority level for reception of frame segments of a given priority level in a receive buffer allocated to the given priority level, including determining whether to re-allocate at least one previously allocated receive buffer in the group to a higher priority level than the priority level at which the previously allocated receive buffer was allocated; and maintaining an empty buffer group of empty buffers; wherein allocating includes moving empty buffers from the empty buffer group to the receive buffers group for use as receive buffers in the reception of frame segments, and re-allocating the receive buffers within the receive buffers group when no empty buffer is available in the empty buffer group, wherein re-allocating comprises performing a static re-allocation to re-allocate an unused buffer from a lower priority to a higher of the priority levels within the receive buffers group. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method of operating a Media Access Control (MAC) transmitter comprising:
-
filling empty transmit buffers with data to provide completed transmit buffers; queuing completed transmit buffers; delivering a completed transmit buffer from the queued completed transmit buffers to a PHY interface to prepare to transmit the completed transmit buffer while monitoring the queued completed transmit buffers for higher priority transmit buffers than the completed transmit buffer delivered to the PHY interface, and in response to determining that the queued completed transmit buffers include a higher priority transmit buffer, saving a state associated with the completed transmit buffer, and returning the completed transmit buffer to the queued completed transmit buffers; transmitting the contents of the higher priority transmit buffer, emptying the buffer; allocating the higher priority buffer to an encryptor queue one the higher priority buffer is emptied. - View Dependent Claims (11, 12)
-
-
13. A method of operating a MAC transceiver comprising:
-
dispatching completed receive buffers queued in a multi-level priority queue for delivery to a host interface in priority order, including allocating each of the receive buffers to a particular priority level in the multi-level priority queue in order of priority level from the highest priority level to the lowest priority level and determining whether to re-allocate at least one previously allocated receive buffer in the queue to a higher priority than a priority at which the previously allocated receive buffer was allocated; and delivering a completed transmit buffer queued in a multi-level priority queue to a PHY interface to prepare to transmit the completed transmit buffer while monitoring queued completed transmit buffers for higher priority transmit buffers, and in response to determining that the queued completed transmit buffers include a higher priority transmit buffer, saving a state associated with the completed transmit buffer, and returning the completed transmit buffer to the queued completed transmit buffers. - View Dependent Claims (14)
-
-
15. A computer program residing on a non-transitory computer-readable medium for operating a transceiver in a network node, the computer program comprising instructions causing a computer to:
-
dispatch completed receive buffers queued in a multi-level priority queue for delivery to a host interface in priority order, including allocating each of the receive buffers to a particular priority level in the multi-level priority queue in order of priority level from the highest priority level to the lowest priority level and determining whether to re-allocate at least one previously allocated receive buffer in the queue to a higher priority than a priority at which the previously allocated receive buffer was allocated; and deliver a completed transmit buffer queued in a multi-level priority queue to a PHY interface to prepare to transmit the completed transmit buffer while monitoring queued completed transmit buffers for higher priority transmit buffers, and in response to determining that the queued completed transmit buffers include a higher priority transmit buffer, saving a state associated with the completed transmit buffer, and returning the completed transmit buffer to the queued completed transmit buffers.
-
-
16. A Media Access Control (MAC) transmitter comprising:
-
transmit buffers; encryptor; means for filling empty transmit buffers with data to provide completed transmit buffers; means for queuing completed ones of the transmit buffers; means for queuing empty buffers; means for delivering a completed transmit buffer to a PHY interface to prepare to transmit the completed transmit buffer while monitoring the queued completed transmit buffers for higher priority transmit buffers, and in response to determining that the queued completed transmit buffers include a higher priority transmit buffer, saving a state associated with the completed transmit buffer, and returning the completed transmit buffer to the queued completed transmit buffers; means for transmitting the contents of the higher priority buffer, emptying the higher priority buffer; and means for allocating the empty buffer to the empty buffer queue.
-
-
17. A Media Access Control (MAC) transceiver comprising:
-
means for dispatching completed receive buffers queued in a multi-level priority queue for delivery to a host interface in priority order, including allocating receive buffers to a particular priority level in the multi-level priority queue in order of priority level from the highest priority level to the lowest priority level and determining whether to re-allocate at least one previously allocated receive buffer in the queue to a higher priority than a priority at which the previously allocated receive buffer was allocated; and means for delivering a completed transmit buffer queued in a multi-level priority queue to a PHY interface to prepare to transmit the completed transmit buffer while monitoring queued completed transmit buffers for higher priority transmit buffers, and in response to determining that the queued completed transmit buffers include a higher priority transmit buffer, saving a state associated with the completed transmit buffer, and returning the completed transmit buffer to the queued completed transmit buffers.
-
Specification