发明申请
US20100251268A1 SERIALIZED ACCESS TO AN I/O ADAPTER THROUGH ATOMIC OPERATION
有权
通过原子操作对I / O适配器进行串行访问
- 专利标题: SERIALIZED ACCESS TO AN I/O ADAPTER THROUGH ATOMIC OPERATION
- 专利标题(中): 通过原子操作对I / O适配器进行串行访问
-
申请号: US12414528申请日: 2009-03-30
-
公开(公告)号: US20100251268A1公开(公告)日: 2010-09-30
- 发明人: Omar Cardona , James B. Cunningham , Baltazar De Leon, III , Matthew R. Ochs
- 申请人: Omar Cardona , James B. Cunningham , Baltazar De Leon, III , Matthew R. Ochs
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 主分类号: G06F9/44
- IPC分类号: G06F9/44
摘要:
Disclosed is a computer implemented method, computer program product, and apparatus to enqueue one or more packets in a device driver for an I/O adapter. A device driver receives, by a processor executing the device driver, a reference to a list of transmit packets. The device driver may then atomically fetch and set a transmit active flag, wherein atomically setting comprises determining a former status of the transmit active flag. Responsive to a determination that a former status of the transmit active flag is different than a current status of the transmit active flag, the device driver atomically removes, by a processor executing the device driver, any packets referenced by a host machine transmit queue reference. The device driver pre-pends transmit packets referenced by the host machine transmit queue reference to the list of transmit packets to form an augmented list of transmit packets. The device driver builds a work request based on the augmented list of transmit packets. The device driver notifies the I/O adapter of the work request. The device driver atomically resets the transmit active flag.
公开/授权文献
信息查询