mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2024-11-22 00:07:21 -06:00
Merge remote-tracking branch 'refs/remotes/origin/develop' into develop
This commit is contained in:
commit
c96e287406
@ -136,7 +136,7 @@ def findQueuesAvailable(interfaceName):
|
||||
print("CPU cores:\t\t\t" + str(cpuCount))
|
||||
if queuesAvailable < 2:
|
||||
raise SystemError(f'Only 1 NIC rx/tx queue available for interface {interfaceName}. You will need to use a NIC with 2 or more rx/tx queues available.')
|
||||
if queuesAvailable < 2:
|
||||
if cpuCount < 2:
|
||||
raise SystemError('Only 1 CPU core available. You will need to use a CPU with 2 or more CPU cores.')
|
||||
queuesAvailable = min(queuesAvailable,cpuCount)
|
||||
print(f"queuesAvailable for interface {interfaceName} set to:\t" + str(queuesAvailable))
|
||||
|
Loading…
Reference in New Issue
Block a user