logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rdma-dev - RDMA device configuration

Author

       Leon Romanovsky <leonro@mellanox.com>
       Mark Zhang <markzhang@nvidia.com>

iproute2                                           06 Jul 2017                                       RDMA-DEV(8)

Description

rdmadevset-renameRDMAdeviceorsetnetworknamespaceorsetRDMAdeviceadaptive-moderationrdmadevshow-displayRDMAdeviceattributesDEV - specifies the RDMA device to show.  If this argument is omitted all devices are listed.

   rdmadevadd-AddaRDMAdevicewithaspecifictypeandparentIBdevice;ThisnewdeviceprovidessubsetoffunctionalitiesdefinedinIBTAspec.rdmadevdelete-DeleteaRDMAdevicewhichiscreatedwiththeaddcommand.NAME - The name of the device being added/deleted.

       TYPE - The type of the device being added; It specifies which functionalities it provides. Supported
       device type:

               SMI - A device with this type provides SMI (QP0) interface. This device and it's parent
               associates with the same HCA port and shares the physical link, so when the parent doesn't
               support SMI, then this type of device can be created to allow the subnet manager to configure the
               link.

       PARENT_DEV - The name of its parent IB device.

Examples

       rdma dev
           Shows the state of all RDMA devices on the system.

       rdma dev show mlx5_3
           Shows the state of specified RDMA device.

       rdma dev set mlx5_3 name rdma_0
           Renames the mlx5_3 device to rdma_0.

       rdma dev set mlx5_3 netns foo
           Changes the network namespace of RDMA device to foo where foo is previously created using iproute2 ip
           command.

       rdma dev set mlx5_3 adaptive-moderation [on/off]
           Sets the state of adaptive interrupt moderation for the RDMA device.
           This is a global setting for the RDMA device but the value is printed for each CQ individually
           because the state is constant from CQ allocation.

       rdma dev add smi1 type SMI parent ibp8s0f1
           Add a new IB device with name "smi1", type "SMI", and "ibp8s0f1" as its parent device.

       rdma dev delete smi1
           Delete the IB device "smi1".

Name

       rdma-dev - RDMA device configuration

See Also

ip(8), rdma(8), rdma-link(8), rdma-resource(8), rdma-system(8), rdma-statistic(8),

Synopsis

rdma [ OPTIONS ] dev  { COMMAND | help }

       OPTIONS := { -V[ersion] | -d[etails] }

       rdmadevshow [ DEV ]

       rdmadevset [ DEV ] nameNEWNAMErdmadevset [ DEV ] netnsNSNAMErdmadevset [ DEV ] adaptive-moderation[on/off]rdmadevadd [ NAME ] type [ TYPE ] parent [ PARENT_DEV ]

       rdmadevdelete [ NAME ]

       rdmadevhelp

See Also