UMAD_REGISTER2 - Online Linux Manual Page
Section : 3
Updated : March 25, 2014
Source : OpenIB
Note : OpenIB Programmer's Manual
NAMEumad_register2 − register the specified management class and version for port
SYNOPSIS#include <infiniband/umad.h>
int umad_register2(int port_fd, struct umad_reg_attr *attr, uint32_t *agent_id);
DESCRIPTIONumad_register2() registers for a MAD agent using the provided registration attributes port_fd the port on which to register the agent attr The registration attributes as defined by the structure passed. See below for details of this structure. agent_id returned on success. agent_id identifies the kernel MAD agent a MAD is received by or to be sent by. agent_id is returned in the umad header "struct ib_user_mad" on recv and specified in umad_send when sending.
REGISTRATION ATTRIBUTE STRUCTUREstruct umad_reg_attr {
uint8_t mgmt_class;
uint8_t mgmt_class_version;
uint32_t flags;
uint64_t method_mask[2];
uint32_t oui;
uint8_t rmpp_version;
};
mgmt_class
Management class to register for.
mgmt_class_version
Management class version to register for.
flags
Registration flags. If a flag specified is not supported by the kernel,
an error is returned, and the supported flags are returned in this field.
Current flags are:
UMAD_USER_RMPP -- flag to indicate the kernel should not process
RMPP packets. All RMPP packets will be treated like individual
MADs. The user is responsible for implementing the RMPP
protocol.
method_mask
A bit mask which indicates which unsolicited methods this agent should
receive. Setting this array to 0 will result in the agent only
receiving response MADs for which a request was sent.
oui
The oui (in host order) to use for vendor classes 0x30 - 0x4f.
Otherwise ignored.
rmpp_version
If the class supports RMPP and kernel RMPP is enabled (the default)
indicate which rmpp_version to use.
RETURN VALUE
umad_register2() returns 0 on success and +ERRNO on failure.
SEE ALSOumad_unregister(3)
AUTHORIra Weiny <ira.weiny@intel.com> 0
Johanes Gumabo
Data Size : 6,357 byte
man-umad_register2.3Build : 2025-03-22, 13:26 :
Visitor Screen : x
Visitor Counter ( page / site ) : 55 / 5,093,912
Visitor ID : :
Visitor IP : 216.73.216.0 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 20 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (rof_TP|38|umad_register2.3|81|EOF|Ira Weiny
)