RDMA-LINK(8)

okay bestie, welcome to rdma-link from section 8 of the Linux manual โ€” this is the little command that handles rdma link configuration and honestly? it's giving main character energy for your RoCE and iWARP soft links. ๐Ÿฆ‹


โœจ SYNOPSIS โœจ

rdma [ OPTIONS ] link  { COMMAND | help }

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

rdma link show [ DEV/PORT_INDEX ]

rdma link add NAME type TYPE netdev NETDEV

rdma link delete NAME

rdma link help

so like, you've got your global OPTIONS (-V[ersion] and -d[etails], iconic pair), and then link takes one of four moves: show, add, delete, or help. no cap. ๐Ÿ’…


๐ŸŒธ DESCRIPTION ๐ŸŒธ

  • DEV/PORT_INDEX โ€” this one says which RDMA link you wanna see. lowkey the whole point. and if you justโ€ฆ don't pass it? then all links get listed, every single one, the whole squad. ๐Ÿ‘‘

it adds an rdma link for the type you picked, and binds it to the network device. that's it, that's the vibe. โœจ

  • NAME โ€” the brand-new name you're giving the rdma link you're adding. choose wisely bestie, it's her name now. ๐ŸŽ€
  • TYPE โ€” which rdma type to use. the link types are:
    • rxe โ€” Soft RoCE driver ๐ŸŒˆ
    • siw โ€” Soft iWARP driver ๐ŸŒŠ
  • NETDEV โ€” the network device this link is bound to. fr fr, this is the one it's attached to. ๐Ÿ”—
  • NAME โ€” the name of the rdma link you want to yeet into the void. ๐Ÿ’€

๐Ÿ“ EXAMPLES ๐Ÿ“

okay so here's the demo reel, watch her work:

rdma link show

Shows the state of all rdma links on the system. the full roster. ๐Ÿ‘‘

rdma link show mlx5_2/1

Shows the state of the specified rdma link. just the one, she's specific. ๐ŸŽฏ

rdma link add rxe_eth0 type rxe netdev eth0

Adds a RXE link named rxe_eth0 to network device eth0. slay. ๐Ÿ”ฅ

rdma link del rxe_eth0

Removes RXE link rxe_eth0. gone, bye, she ate and left no crumbs. ๐Ÿ™ˆ


๐Ÿ‘€ SEE ALSO ๐Ÿ‘€

rdma(8), rdma-dev(8), rdma-resource(8), rdma-statistic(8),


๐Ÿซถ AUTHOR ๐Ÿซถ

Leon Romanovsky <leonro@mellanox.com>


and that's the whole page, bestie!! this one is iproute2, dated 06 Jul 2017, and it's still out here being RDMA-LINK(8) in the Linux man pages. periodt. ๐Ÿ’œโœจ

๐Ÿ“ฆ where this page comes from