Patent ID: 9547613
Date: 2017-01-17
CPC Classifications: G06F

Claim:
1. A computer implemented method for implementing a request router for a universal port, the method comprising: receiving a plurality of requests from a plurality of external device adapters, each external device adapter configured to operate in at least one mode; for each request, with a computer processor, reading header data included with the request to identify a corresponding device entry in a device table containing routing instructions for a requesting adapter associated with the request, wherein the portion of the header data used to identify the corresponding device entry depends on an operating mode of the requesting adapter; if a first data item in the request header of a received request indicates that the requesting adapter associated with the received request is a native mode adapter, looking up the corresponding device entry in the device table using the first data item of the request header; if the first data item in the request header of the received request indicates that the requesting adapter associated with the received request is a firmware managed mode adapter, looking up the corresponding device entry in the device table using a second data item of the request header; if the first data item in the request header of the received request indicates that the requesting adapter associated with the received request is a mixed mode adapter, looking up a mode entry for the requesting adapter in a mixed mode table using a third data item of the request header indicating whether a current state of the mixed mode adapter is the native mode or the firmware managed mode; if the current state of the mixed mode adapter is the native mode, looking up the corresponding device entry in the device table using the first data item of the request header; if the current state of the mixed mode adapter is the firmware managed mode, looking up the corresponding device entry in the device table using the second data item of the request header; wherein the first data item of the header data of each request of the plurality of requests is used to identify a mode of a respective requesting adapter associated with the request, the first data item of the header data is used to identify the corresponding device entry in the device table for the respective requesting adapter having the native mode, and the second data item data is used to identify the corresponding device entry in the device table for the respective requesting adapter having the firmware managed mode, the first data item differing from the second data item; and routing each request of the plurality of requests based on the corresponding device entry in the device table.