Patent ID: 8640135
Filing Date: 2014-01-28
Classification: G06F

Abstract:
1. A method for scheduling virtual interfaces, comprising: sending a lock request for a respective virtual interface from a virtual interface scheduler to a virtual interface context cache; locking a virtual interface context of the respective virtual interface by the virtual interface context cache and sending a lock token to the virtual interface scheduler; holding a current lock token for the respective virtual interface context by the virtual interface context cache; unlocking the virtual interface context by the virtual interface context cache responsive to a determination that a lock token of an unlock request received from a pipeline having one or more processing units matches the held current lock token; requesting, by the virtual interface scheduler in a first operation mode, a lock token for a respective virtual interface from the virtual interface context cache before virtual interface scheduler attaches a scheduling element to a linked queue; and, requesting, by the virtual interface scheduler in a second operation mode, a lock token for a respective virtual interface from the virtual interface context cache before the virtual interface scheduler moves the scheduling element from the linked queue to a physical queue.