[Trivial] Fix a grammar error in comments
Fix a grammar error in comments. Change-Id: Idf2860638a66abc7c4b45a6578c0eb4e5930bcdd Signed-off-by: Xuanzhou Perry Dong <oss_xzdong@163.com>
This commit is contained in:
parent
39d60220f7
commit
51bddcc8a9
@ -76,7 +76,7 @@ def get_pci_address(domain, bus, slot, func):
|
||||
|
||||
def get_function_by_ifname(ifname):
|
||||
"""Given the device name, returns the PCI address of a device
|
||||
and returns True if the address in a physical function.
|
||||
and returns True if the address is in a physical function.
|
||||
"""
|
||||
dev_path = "/sys/class/net/%s/device" % ifname
|
||||
sriov_totalvfs = 0
|
||||
|
Loading…
Reference in New Issue
Block a user