3.3. rdma.tools module

These are simple tools used by the implementation. It should probably not be used by end users.

class rdma.tools.SysFSDevice(parent, sys_dir)

Bases: object

Handle to a /dev/ char device kernel interface. This supports the context manager protocol.

close()
rdma.tools.clock_monotonic()

Return the value of CLOCK_MONOTONIC as float seconds. Replace me if Python ever gets this in the standard library. Only works on Linux.

class rdma.tools.finfo

Bases: tuple

finfo(type, mask)

mask

itemgetter(item, ...) –> itemgetter object

Return a callable object that fetches the given item(s) from its operand. After, f=itemgetter(2), the call f(r) returns r[2]. After, g=itemgetter(2,5,3), the call g(r) returns (r[2], r[5], r[3])

type

itemgetter(item, ...) –> itemgetter object

Return a callable object that fetches the given item(s) from its operand. After, f=itemgetter(2), the call f(r) returns r[2]. After, g=itemgetter(2,5,3), the call g(r) returns (r[2], r[5], r[3])

rdma.tools.struct(name, fields)

Construct a mutable collections.namedtuple with a MASK tracking feature.

Previous topic

3.2. RDMA Path

Next topic

4. InfiniBand Architecture (IBA) Definitions

This Page