Change in vdsm[master]: netinfo: Hacked InfiniBand speed.

osvoboda at redhat.com osvoboda at redhat.com
Tue Jun 10 12:23:00 UTC 2014


Ondřej Svoboda has posted comments on this change.

Change subject: netinfo: Hacked InfiniBand speed.
......................................................................


Patch Set 5: Verified+1

(1 comment)

Even with the different way of detecting InfiniBand devices (by checking their kernel driver name), the fake speed is correctly reported and unit tests and functional network tests pass.

http://gerrit.ovirt.org/#/c/28502/5/lib/vdsm/netinfo.py
File lib/vdsm/netinfo.py:

Line 282:     https://bugzilla.redhat.com/show_bug.cgi?id=1101314
Line 283:     """
Line 284:     try:
Line 285:         return 10000 if drv_name(nicName) == 'ib_ipoib' else 0
Line 286:     except IOError:
ENOTSUP = 95 for dummy*
Line 287:         return 0
Line 288: 
Line 289: 
Line 290: def nicSpeed(nicName):


-- 
To view, visit http://gerrit.ovirt.org/28502
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I55089558d59d33da7f44a2f6d7059d291c064f8a
Gerrit-PatchSet: 5
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ondřej Svoboda <osvoboda at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Ondřej Svoboda <osvoboda at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list