SHARING MULTIPLE VIRTUAL FUNCTIONS TO A HOST USING A PSEUDO PHYSICAL FUNCTION
First Claim
1. A method for sharing virtual functions corresponding to a physical function of a single root input/output virtualization (SR-IOV) endpoint with a single host, the method performed by a management system of a switch, the method comprising:
- enumerating a group of available virtual functions corresponding to the physical function;
mapping the group of available virtual functions to a non-transparent port of the switch by creating a copy of a configuration space for the physical function while assigning unique vendor and device identifications for different classes of devices, wherein the mapping creates a pseudo physical function exposing a subset of the SR-IOV capability from the configuration space for the physical function;
receiving a request to access the physical function from the single host; and
providing the pseudo physical function to the single host for loading on the single host, in response to the receiving of the request, wherein the pseudo physical function is designed to call management functions of the single host to enable the group of available virtual functions in a local hierarchy of the single host.
9 Assignments
0 Petitions
Accused Products
Abstract
A method is provided comprising: enumerating a group of available virtual functions corresponding to the physical function; mapping the group of available virtual functions to a non-transparent port of the switch by creating a copy of a configuration space for the physical function while assigning unique vendor and device identifications for different classes of devices, wherein the mapping creates a pseudo physical function exposing a subset of the SR-IOV capability from the configuration space for the physical function; receiving a request to access the physical function from the single host; and providing the pseudo physical function to the single host for loading on the single host, in response to the receiving of the request, wherein the pseudo physical function is designed to call management functions of the single host to enable the group of available virtual functions in a local hierarchy of the single host.
65 Citations
17 Claims
-
1. A method for sharing virtual functions corresponding to a physical function of a single root input/output virtualization (SR-IOV) endpoint with a single host, the method performed by a management system of a switch, the method comprising:
-
enumerating a group of available virtual functions corresponding to the physical function; mapping the group of available virtual functions to a non-transparent port of the switch by creating a copy of a configuration space for the physical function while assigning unique vendor and device identifications for different classes of devices, wherein the mapping creates a pseudo physical function exposing a subset of the SR-IOV capability from the configuration space for the physical function; receiving a request to access the physical function from the single host; and providing the pseudo physical function to the single host for loading on the single host, in response to the receiving of the request, wherein the pseudo physical function is designed to call management functions of the single host to enable the group of available virtual functions in a local hierarchy of the single host. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for sharing virtual functions corresponding to a physical function of a single root input/output virtualization (SR-IOV) endpoint with a single host, the method performed by the single host, the method comprising:
-
upon enumeration, obtaining a pseudo physical function from a management system of a switch, wherein the pseudo physical function contains a mapping of a group of available virtual functions relating to the physical function, wherein the mapping exposes a subset of the SR-IOV capability from a configuration space for the physical function and was created by using a copy of the configuration space for the physical function while assigning unique vendor and device identifications for different classes of devices; using the pseudo physical function to call management functions of the single host to enable the group of available virtual functions in a local hierarchy of the single host; and upon invocation of one of the group of available virtual functions, applying CSR redirection via the pseudo physical function. - View Dependent Claims (9, 10)
-
-
11. A system comprising:
-
an SR-IOV endpoint having a first physical function with a first configuration space; a host; a switch coupled to the SR-IOV endpoint, the switch comprising; SR-IOV capable management software; a physical function driver corresponding to the physical function on the SR-IOV endpoint; and a second configuration space being a copy of the first configuration space with different vendor and device identifications that are unique for different classes of devices. - View Dependent Claims (12)
-
-
13. A switch capable of sharing virtual functions corresponding to a physical function of an SR-IOV endpoint with a single host, comprising:
-
an upstream port connected to a management system compatible with SR-IOV; a processor configured to; enumerate a group of available virtual functions corresponding to the physical function; map the group of available virtual functions to a non-transparent port of the switch by creating a copy of a configuration space for the physical function while assigning unique vendor and device identifications for different classes of devices, wherein the mapping creates a pseudo physical function exposing a subset of the SR-IOV capability from the configuration space for the physical function; receive a request to access the physical function from the single host; and provide the pseudo physical function to the single host for loading on the single host, in response to the receiving of the request, wherein the pseudo physical function is designed to call management functions of the single host to enable the group of available virtual functions in a local hierarchy of the single host. - View Dependent Claims (14)
-
-
15. An apparatus for sharing virtual functions corresponding to a physical function of a single root input/output virtualization (SR-IOV) endpoint with a single host, the apparatus comprising:
-
means for enumerating a group of available virtual functions corresponding to the physical function; means for mapping the group of available virtual functions to a non-transparent port of the switch by creating a copy of a configuration space for the physical function while assigning unique vendor and device identifications for different classes of devices, wherein the mapping creates a pseudo physical function; means for receiving a request to access the physical function from the single host; and means for providing the pseudo physical function to the single host for loading on the single host, in response to the receiving of the request, wherein the pseudo physical function is designed to call management functions of the single host to enable the group of available virtual functions in a local hierarchy of the single host.
-
-
16. An apparatus for sharing virtual functions corresponding to a physical function of a single root input/output virtualization (SR-IOV) endpoint with a single host, the apparatus comprising:
-
means for, upon enumeration, obtaining a pseudo physical function from a management system of a switch, wherein the pseudo physical function contains a mapping of a group of available virtual functions relating to the physical function, wherein the mapping exposes a subset of the SR-IOV capability from a configuration space for the physical function and was created by using a copy of the configuration space for the physical function while assigning unique vendor and device identifications for different classes of devices; means for using the pseudo physical function to call management functions of the single host to enable the group of available virtual functions in a local hierarchy of the single host; and means for upon invocation of one of the group of available virtual functions, applying CSR redirection via the pseudo physical function.
-
-
17. A program storage device readable by a machine tangibly embodying a program of instructions executable by the machine to perform a method for sharing virtual functions corresponding to a physical function of a single root input/output virtualization (SR-IOV) endpoint with a single host, the method performed by a management system of a switch, the method comprising:
-
enumerating a group of available virtual functions corresponding to the physical function; mapping the group of available virtual functions to a non-transparent port of the switch by creating a copy of a configuration space for the physical function while assigning unique vendor and device identifications for different classes of devices, wherein the mapping creates a pseudo physical function exposing a subset of the SR-IOV capability from the configuration space for the physical function; receiving a request to access the physical function from the single host; and providing the pseudo physical function to the single host for loading on the single host, in response to the receiving of the request, wherein the pseudo physical function is designed to call management functions of the single host to enable the group of available virtual functions in a local hierarchy of the single host.
-
Specification