IBPING(8)
π IBPING β ping an InfiniBand address π
okay bestie, so the manual name is IBPING (it lives in section 8, the big-girl admin section, iykyk) and it's part of Open IB Diagnostics π¦ she's from 2012-05-14 and yes she still ate.
β¨ SYNOPSIS β¨
ibping [options] <dest lid | guid>
πΈ DESCRIPTION πΈ
so ibping uses vendor mads to validate connectivity between IB nodes π
like it's literally checking "hey can these two talk to each other" and it does it with vendor mads, no cap.
on exit, you get (IP) ping like output β yep, it's giving classic ping energy but for IB π
and here's the whole vibe: ibping runs as client/server. default is to run as a client. also bestie, note that a default ping server is implemented within the kernel π so the kernel already has your back.
π OPTIONS π
-c,--countβ stop after count packets. like, we're done here, no more π-f,--floodβ flood destination: send packets back to back without delay π₯ full send, zero chill-o,--ouiβ use specified OUI number to multiplex vendor mads-S,--Serverβ start in server mode (do not return). you become the server, main character energy, and you do NOT come back π
π Addressing Flags π
-L,--Lidβ The address specified is a LID-G,--Guidβ The address specified is a Port GUID-s,--sm_port <smlid>β usesmlidas the target lid for SA queries.
π Port Selection flags π
-C,--Ca <ca_name>β use the specifiedca_name.-P,--Port <ca_port>β use the specifiedca_port.-Y,--pkey-idx <idx>β P_Key table index (0-65535, default0) used for the outgoing SA/GMP MADs. SMP (SMI directed-route/LID-routed) MADs always use P_Key index0. β so like, this one's got rules, respect the rules bestie.
π Local port Selection π
Multiple port/Multiple CA support, aka the "which one of u am I talking to" situation: when no IB device or port is specified (see the "local umad parameters" below π), the libibumad library selects the port to use by the following criteria:
- the first port that is ACTIVE.
- if not found, the first port that is UP (physical link up).
If a port and/or CA name is specified, the libibumad library attempts to fulfill the user request, and will fail if it is not possible π no negotiating.
For example:
ibaddr # use the first port (criteria #1 above)
ibaddr -C mthca1 # pick the best port from "mthca1" only.
ibaddr -P 2 # use the second (active/up) port from the first available IB device.
ibaddr -C mthca0 -P 2 # use the specified port only.
π¦ Configuration flags π¦
--config,-z<config_file>β Specify alternate config file. Default:/etc/infiniband-diags/ibdiag.conf-t,--timeout <timeout_ms>β override the default timeout for the solicited mads.
π Debugging flags π
-h,--helpβ show the usage message-dβ raise the IB debugging level. May be used several times (-dddor-d -d -d). stack it like a true queen π-eβ show send and receive errors (timeouts and others)-v,--verboseβ increase the application verbosity level. May be used several times (-vvor-v -v -v)-V,--versionβ show the version info.
π FILES π
CONFIG FILE
/etc/infiniband-diags/ibdiag.conf
A global config file is provided to set some of the common options for all tools. See supplied config file for details. π go read it, it's short, it's cute, it explains itself.
π AUTHOR π
Hal Rosenstock < <halr@voltaire.com> > β thank u for ur service, legend π«Ά
π ok that's the whole page bestie!! it's ibping from Open IB Diagnostics, dated 2012-05-14, and honestly? timeless. slay. periodt. π
β¨
π¦ where this page comes from
- arch rolling: rdma-core 65.0-1 Β· GPL-2.0-or-later OR LicenseRef-OpenIB.org-BSD-MIT AND GPL-2.0-or-later OR LicenseRef-OpenIB.org-BSD-FreeBSD AND GPL-2.0-or-later OR LicenseRef-Intel-BSD-3-Clause AND GPL-2.0-or-later OR LicenseRef-PathScale-BSD-Patent-License AND CC0-1.0 AND MIT AND BSD-2-Clause AND CPL-1.0 OR BSD-2-Clause OR GPL-2.0-or-later
- ubuntu stonking: infiniband-diags 64.0-1ubuntu1 Β· BSD-MIT OR GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms