# phpman > man > RDMA-DEV(8)

[RDMA-DEV(8)](https://www.chedong.com/phpMan.php/man/RDMA-DEV/8/markdown)                                     Linux                                    [RDMA-DEV(8)](https://www.chedong.com/phpMan.php/man/RDMA-DEV/8/markdown)



## NAME
       rdma-dev - RDMA device configuration

## SYNOPSIS
       **rdma** [ _OPTIONS_ ] **dev**  { _COMMAND_ | **help** }


       _OPTIONS_ := { **-V**[_ersion_] | **-d**[_etails_] }

       **rdma** **dev** **show** [ _DEV_ ]

       **rdma** **dev** **set** [ _DEV_ ] **name** **NEWNAME**

       **rdma** **dev** **set** [ _DEV_ ] **netns** **NSNAME**

       **rdma** **dev** **set** [ _DEV_ ] **adaptive-moderation** **[on/off]**

### rdma dev help


## DESCRIPTION
### rdma dev set - rename RDMA device or set network namespace or set RDMA device adaptive-moderation
### rdma dev show - display RDMA device attributes
       _DEV_ - specifies the RDMA device to show.  If this argument is omitted all devices are listed.


## 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 indi‐
           vidually because the state is constant from CQ allocation.

## SEE ALSO
       [**ip**(8)](https://www.chedong.com/phpMan.php/man/ip/8/markdown), [**rdma**(8)](https://www.chedong.com/phpMan.php/man/rdma/8/markdown), [**rdma-link**(8)](https://www.chedong.com/phpMan.php/man/rdma-link/8/markdown), [**rdma-resource**(8)](https://www.chedong.com/phpMan.php/man/rdma-resource/8/markdown), [**rdma-system**(8)](https://www.chedong.com/phpMan.php/man/rdma-system/8/markdown), [**rdma-statistic**(8)](https://www.chedong.com/phpMan.php/man/rdma-statistic/8/markdown),


## AUTHOR
       Leon Romanovsky <<leonro@mellanox.com>>



iproute2                                     06 Jul 2017                                 [RDMA-DEV(8)](https://www.chedong.com/phpMan.php/man/RDMA-DEV/8/markdown)
