get_p_key


Description:

public int get_p_key ()

Returns the P_Key to use for this device.

A value of -1 means to use the default P_Key (aka "the P_Key at index 0"). Otherwise, it is a 16-bit unsigned integer.

Parameters:

this

the SettingInfiniband

Returns:

the IPoIB P_Key