umad_get_cas_names(3)

umad_get_cas_names3

Get list of available infiniband device names

Usage

#include <infiniband/umad.h>

int umad_get_cas_names(char cas[][UMAD_CA_NAME_LEN], int max);

Overview

umad_get_cas_names() fills the cas array with up to max local IB devices (CAs) names. The argument cas is a character array with max entries, each with UMAD_CA_NAME_LEN characters.

Return value

umad_get_cas_names() returns a non-negative value equal to the number of entries filled, or -1 on errors.

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0–9
  2. 10
  3. 11–Arch