-
公开(公告)号:US20180307498A1
公开(公告)日:2018-10-25
申请号:US16010958
申请日:2018-06-18
Applicant: Huawei Technologies Co., Ltd.
Inventor: Dongtian Yang , Xinyu Hu , Yuming Xie , Yuping Zhao
CPC classification number: G06F9/445 , G06F9/45558 , G06F9/5077 , G06F2009/45562 , G06F2009/45579 , G06F2213/0026
Abstract: A driver loading method and a server, where when receiving a service request, the server determines a first global index and a first global virtual function (VF) identifier corresponding to a first function description of a designated function included in the service request, determines a virtual machine (VM) corresponding to the service request, associates the first global VF identifier with the VM, allocates a first local index on the VM to the designated function, creates a correspondence between the first local index and the first function description, and sends the correspondence to the VM. The VM loads, according to the correspondence, a driver of the designated function for a first VF corresponding to the first global VF identifier. According to the foregoing method, different drivers can be loaded for VFs that have different functions and that are virtualized by a Peripheral Component Interconnect Express (PCIe) device.
-
公开(公告)号:US11188347B2
公开(公告)日:2021-11-30
申请号:US16010958
申请日:2018-06-18
Applicant: Huawei Technologies Co., Ltd.
Inventor: Dongtian Yang , Xinyu Hu , Yuming Xie , Yuping Zhao
IPC: G06F9/445 , G06F9/4401 , G06F9/455 , G06F9/50
Abstract: A driver loading method and a server, where when receiving a service request, the server determines a first global index and a first global virtual function (VF) identifier corresponding to a first function description of a designated function included in the service request, determines a virtual machine (VM) corresponding to the service request, associates the first global VF identifier with the VM, allocates a first local index on the VM to the designated function, creates a correspondence between the first local index and the first function description, and sends the correspondence to the VM. The VM loads, according to the correspondence, a driver of the designated function for a first VF corresponding to the first global VF identifier. According to the foregoing method, different drivers can be loaded for VFs that have different functions and that are virtualized by a Peripheral Component Interconnect Express (PCIe) device.
-