RDMA(8)

๐Ÿ’– RDMA(8) ๐Ÿ’–

okay bestie, so this is the manual page for the rdma tool โ€” the Linux RDMA tool, section 8 of the man pages. yes it's a whole vibe. let's get into it ๐Ÿฆ‹


โœจ NAME โœจ

rdma โ€” the RDMA tool. that's it, that's the name, and it's iconic for it ๐Ÿ’…


๐ŸŒธ SYNOPSIS ๐ŸŒธ

the way you actually call this thing:

rdma [ OPTIONS ] OBJECT { COMMAND | help }

rdma [ -force ] -batch filename

OBJECT := { dev | link | resource | system | statistic | monitor }

OPTIONS := { -V[ersion] | -d[etails] | -j[son] | -o[neline] | -p[retty] }

like, you pick an OBJECT, you give it a COMMAND or just ask for help, and if you're being fancy with batch mode there's a whole separate shape for that. no cap โœจ


๐Ÿ’… OPTIONS ๐Ÿ’…

  • -V, -Version โ€” prints out which version of the rdma tool you're running, then dips out immediately. short and sweet, we love a queen who knows when to leave ๐Ÿซถ
  • -b, -batch <FILENAME> โ€” reads commands from the file you point at, or from standard input, and runs them all. heads up bestie: the first failure will terminate rdma. one strike and she's out ๐Ÿ˜ญ
  • -force โ€” the "we don't stop, we keep going" flag. it stops rdma from terminating on errors while in batch mode. but lowkey there's a catch: if any errors happened during the commands, the application return code will be non-zero. so like, she finished the job but she's telling on you ๐Ÿ’€
  • -d, --details โ€” outputs detailed information. and here's the tea: adding a second -d includes driver-specific details. yes, -d -d. double the d, double the drama ๐Ÿ‘‘
  • -r, --raw โ€” output includes driver-specific details, but in raw format. no glow-up, no styling, just the unfiltered truth ๐Ÿ“
  • -p, --pretty โ€” when you combine this with -j, you get pretty JSON output. it's giving main character formatting energy โœจ
  • -j, --json โ€” generate JSON output. for when you want your data in the universally beloved curly-brace language ๐ŸŒˆ
  • -o, -oneline โ€” outputs each record on a single line, replacing line feeds with the '\' character. compact queen behavior ๐Ÿ’œ

OBJECT โ€” pick your fighter ๐ŸŽ€

  • dev โ€” RDMA device.
  • link โ€” RDMA port related.
  • resource โ€” RDMA resource configuration.
  • sys โ€” RDMA subsystem related.
  • statistic โ€” RDMA counter statistic related.
  • monitor โ€” RDMA events monitor.

and the cute part: the names of all objects may be written in full or abbreviated form. for example stats can be abbreviated as stat or just s. bestie said "I don't have time for vowels" and honestly? valid ๐Ÿ™ˆ


COMMAND โ€” what are we doing today ๐Ÿ’ซ

this is the action you want to perform on the object. the set of possible actions depends on the object type. as a rule, it's possible to show (or list) objects, but some objects do not allow all of these operations, or they have some additional commands. every single object has the help command available โ€” it prints out a list of available commands and argument syntax conventions. so if you're lost, just ask for help, she'll never judge you ๐Ÿซถ

if no command is given, some default command is assumed. usually it's list or, if the objects of this class cannot be listed, help. the tool is literally holding your hand, we stan a supportive icon ๐Ÿ˜ญ


๐Ÿ‘‘ EXIT STATUS ๐Ÿ‘‘

exit status is 0 if the command was successful, or a positive integer upon failure. slay when it works, number when it doesn't. that's the whole system ๐Ÿ’ฏ


๐ŸŒˆ SEE ALSO ๐ŸŒˆ

go read these too, they're all connected, it's a whole cinematic universe:


๐Ÿ› REPORTING BUGS ๐Ÿ›

found a bug? report it to the Linux RDMA mailing list: linux-rdma@vger.kernel.org โ€” that's where the development and maintenance is primarily done. and the best part: you do not have to be subscribed to the list to send a message there. no gatekeeping, we love to see it ๐Ÿซถโœจ


๐Ÿ’œ AUTHOR ๐Ÿ’œ

Leon Romanovsky <leonro@mellanox.com> โ€” thank you for your service king ๐Ÿ‘‘


and that's the whole page bestie!! this one ships as part of iproute2, dated 28 Mar 2017. it's giving vintage but the RDMA tool is still out here thriving. go forth and rdma responsibly ๐Ÿ’…โœจ๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from