Hardware interface between a switch adapter and a communications subsystem in a data processing system
First Claim
1. A method for communicating from a node to a communications device in a multinode network, the node having a user space and a Kernel space, and further comprising a communications protocol layer above said communications device, said method comprising:
- creating an instance of a hardware abstraction layer (HAL) interface in the node, said HAL interface comprising a communications layer between the communications device and the communications protocol layer and providing for functions that control access to the communications devices from said user space in the node;
obtaining device specific characteristics from the communications device and a pointer pointing to access functions in said functions for accessing said communications device;
opening multiple ports on the communications device through the instance of said HAL interface using said functions; and
sending messages between the node and the communications device using said access functions pointed to by said pointer, wherein the messages are optimized with respect to the communications device as determined by the obtained device specific characteristics, and said messages are communicated directly to said communications layer below said communications protocol layer thereby bypassing said Kernel space.
1 Assignment
0 Petitions
Accused Products
Abstract
Method, apparatus and program product for communicating from a node to a communications device. A Hardware Abstraction Layer (HAL) provides functions which can be called from user space in a node to access the communications device. An instance of HAL is created in the node. Device specific characteristics from the communications device and a pointer pointing to HAL functions for accessing the communications device are obtained by HAL. HAL then opens multiple ports on the communications device using the functions pointed to by the pointer, and messages are sent between the node and the communications device. The messages thus sent are optimized with respect to the communications device as determined by the obtained device specific characteristics. Multiple processes and protocol stacks may be associated with each port in a single instance of HAL. A further embodiment provides that multiple virtual ports may be associated with a port, with a multiple protocol stacks associated with each virtual port. A further embodiment provides that multiple communications devices may be associated with a single instance of HAL.
96 Citations
42 Claims
-
1. A method for communicating from a node to a communications device in a multinode network, the node having a user space and a Kernel space, and further comprising a communications protocol layer above said communications device, said method comprising:
-
creating an instance of a hardware abstraction layer (HAL) interface in the node, said HAL interface comprising a communications layer between the communications device and the communications protocol layer and providing for functions that control access to the communications devices from said user space in the node; obtaining device specific characteristics from the communications device and a pointer pointing to access functions in said functions for accessing said communications device; opening multiple ports on the communications device through the instance of said HAL interface using said functions; and sending messages between the node and the communications device using said access functions pointed to by said pointer, wherein the messages are optimized with respect to the communications device as determined by the obtained device specific characteristics, and said messages are communicated directly to said communications layer below said communications protocol layer thereby bypassing said Kernel space. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 37, 40)
-
-
13. A program product on a computer readable media, said program product including a method for communicating from a node to a communications device in a multinode network, the node having a user space and a Kernel space, and further comprising a communications protocol layer above said communications device, said method comprising:
-
creating an instance of a hardware abstraction layer (HAL) interface in the node, said HAL interface comprising a communications layer between the communications device and the communications protocol layer and providing for functions that control access to communications devices from said user space in the node; obtaining device specific characteristics from the communications device and a pointer pointing to access functions in said functions for accessing said communications device; opening multiple ports on the communications device through the instance of said HAL interface using said functions; and sending messages between the node and the communications device using said access functions pointed to by said pointer, wherein the messages are optimized with respect to the communications device as determined by the obtained device specific characteristics, and said messages are communicated directly to said communications layer below said communications protocol layer thereby bypassing said Kernel space. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 38, 41)
-
-
25. An apparatus comprising:
-
a multinode network, one node in said multinode network having a user space and a Kernel space, and further having a communications protocol layer; a communications device below said communications protocol layer for communicating with said one node in said multinode network; a hardware abstraction layer (HAL) in said one node between said communications device and said communications protocol layer, said HAL creating an instance of an interface in said node, said interface comprising a communications layer and providing for functions that control access to said communications device from said user space in said one node; an initiation function in said instance of HAL obtaining device specific characteristics from the communications device and a pointer pointing to access functions in said functions for accessing said communications device; a port opening function in said instance of HAL opening multiple ports on the communications device through the instance of said interface using said functions; and message sending function in said instance of HAL sending messages between said one node and the communications device using said access functions pointed to by said pointer, wherein the messages are optimized with respect to the communications device as determined by the obtained device specific characteristics, and said messages are communicated directly to said communications layer below said communications protocol layer thereby bypassing said Kernel space. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 39, 42)
-
Specification