MFD libibverbs utils
Module for libibverbs - tools to get information about RDMA devices on system.
Usage
IBVDevices
from mfd_libibverbs_utils import IBVDevices
from mfd_connect import RPyCConnection
conn = RPyCConnection(name='10.10.10.10')
ibv_dev = IBVDevices(connection=conn)
devices = ibv_dev.get_list()
example output:
[IBDevice(device='mlx5_0', node_guid='506b4b0300ccf69e'),
IBDevice(device='cxgb4_0', node_guid='0007434742000000')]
IBVDevinfo
from mfd_libibverbs_utils import IBVDevinfo
from mfd_connect import RPyCConnection
conn = RPyCConnection(name='10.10.10.10')
devinfo = IBVDevinfo(connection=conn)
devices = devinfo.get_info()
example output:
[IBDeviceInfo(name='cxgb4_0', transport='iWARP (1)', fw_ver='1.23.4.0', node_guid='0007:4347:4200:0000',
sys_image_guid='0007:4347:4200:0000', vendor_id='0x1425', vendor_part_id='25608',
hw_ver='0x0', board_id='1425.6408', phys_port_cnt=2,
physical_ports=[
IBDevPhysicalPort(number=1, state='PORT_DOWN (1)', max_mtu=4096,
active_mtu=1024, sm_lid=0, port_lid=0,
port_lmc='0x00', link_layer='Ethernet')])]
Implemented methods
IBVDevices
get_list() -> List[Optional[IBDevice]] - List RDMA devices available for use from userspace.
IBVDevinfo
get_info(ib_device: Optional[Union[str, IBDevice]], ib_port: Optional[int]) -> List[Optional[IBDeviceInfo]] - Get detailed info about RDMA devices available for use from userspace.
OS supported:
- LNX
- FREEBSD
Issue reporting
If you encounter any bugs or have suggestions for improvements, you're welcome to contribute directly or open an issue here.
Metadata
Release files for mfd-libibverbs-utils 1.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mfd_libibverbs_utils-1.7.0-py3-none-any.whl | Python 3 | none | any | Details for mfd_libibverbs_utils-1.7.0-py3-none-any.whl |
Release files / mfd_libibverbs_utils-1.7.0-py3-none-any.whl
| Download URL | mfd_libibverbs_utils-1.7.0-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
06f230f92a9248f83c4c735c4a9374f6f9aa0fa6cf9afd442cee68eb50658a60
|
|
BLAKE2b-256 checksum How to use checksums |
a43640db14ec9f065e56c4aea0f6a50fa681a4c381262d19fe93625b40e7891c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for mfd-libibverbs-utils 1.7.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.