id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
ib_find_cached_pkey(9) | NAME ib_find_cached_pkey - Returns the PKey table index where a specified PKey value occurs.
SYNOPSIS int ib_find_cached_pkey (struct ib_device *device , u32 port_num , u16 pkey , u16 *index );
ARGUMENTS device The device to query.
port_num The port number of the device to search for the PKey.
... |
ib_find_gid(9) | NAME ib_find_gid - Returns the port number and GID table index where a specified GID value occurs. Its searches only for IB link layer.
SYNOPSIS int ib_find_gid (struct ib_device *device , union ib_gid *gid , u32 *port_num , u16 *index );
ARGUMENTS device The device to query.
gid The GID value to... |
ib_find_pkey(9) | NAME ib_find_pkey - Returns the PKey table index where a specified PKey value occurs.
SYNOPSIS int ib_find_pkey (struct ib_device *device , u32 port_num , u16 pkey , u16 *index );
ARGUMENTS device The device to query.
port_num The port number of the device to search for the PKey.
pkey T... |
ib_free_cq(9) | NAME ib_free_cq - free a completion queue
SYNOPSIS void ib_free_cq (struct ib_cq *cq );
ARGUMENTS cq completion queue to free.
SEE ALSO Kernel file ./drivers/infiniband/core/cq.c ib_process_cq_direct(9), __ib_alloc_cq(9), __ib_alloc_cq_any(9), ib_cq_pool_get(9), ib_cq_pool_put(9)
April 2026 ... |
ib_free_recv_mad(9) | NAME ib_free_recv_mad - Returns data buffers used to receive a MAD.
SYNOPSIS void ib_free_recv_mad (struct ib_mad_recv_wc *mad_recv_wc );
ARGUMENTS mad_recv_wc Work completion information for a received MAD.
DESCRIPTION Clients receiving MADs through their ib_mad_recv_handler must call this routine to return the wor... |
ib_free_send_mad(9) | NAME ib_free_send_mad - Returns data buffers used to send a MAD.
SYNOPSIS void ib_free_send_mad (struct ib_mad_send_buf *send_buf );
ARGUMENTS send_buf Previously allocated send data buffer.
SEE ALSO Kernel file ./include/rdma/ib_mad.h ib_get_cpi_resp_time(9), ib_get_cpi_capmask2(9), ib_set_cpi_capmask2(9), op... |
ib_get_cached_lmc(9) | NAME ib_get_cached_lmc - Returns a cached lmc table entry
SYNOPSIS int ib_get_cached_lmc (struct ib_device *device , u32 port_num , u8 *lmc );
ARGUMENTS device The device to query.
port_num The port number of the device to query.
lmc The lmc value for the specified port for that device... |
ib_get_cached_pkey(9) | NAME ib_get_cached_pkey - Returns a cached PKey table entry
SYNOPSIS int ib_get_cached_pkey (struct ib_device *device_handle , u32 port_num , int index , u16 *pkey );
ARGUMENTS device_handle -- undescribed --
port_num The port number of the device to query.
index The index into the cached PKe... |
ib_get_cached_port_state(9) | NAME ib_get_cached_port_state - Returns a cached port state table entry
SYNOPSIS int ib_get_cached_port_state (struct ib_device *device , u32 port_num , enum ib_port_state *port_active );
ARGUMENTS device The device to query.
port_num The port number of the device to query.
port_active -- unde... |
ib_get_client_data(9) | NAME ib_get_client_data - Get IB client context
SYNOPSIS void * ib_get_client_data (struct ib_device *device , struct ib_client *client );
ARGUMENTS device Device to get context for
client Client to get context for
DESCRIPTION ib_get_client_data returns the client context data set with ib_set_clien... |
ib_get_client_nl_info(9) | NAME ib_get_client_nl_info - Fetch the nl_info from a client
SYNOPSIS int ib_get_client_nl_info (struct ib_device *ibdev , const char *client_name , struct ib_client_nl_info *res );
ARGUMENTS ibdev IB device
client_name Name of the client
res Result of the query
SEE ALSO Kernel file ./... |
ib_get_cpi_capmask2(9) | NAME ib_get_cpi_capmask2 - Returns the capmask2 value from cap_mask2_resp_time in ib_class_port_info.
SYNOPSIS u32 ib_get_cpi_capmask2 (struct ib_class_port_info *cpi );
ARGUMENTS cpi A struct ib_class_port_info mad.
SEE ALSO Kernel file ./include/rdma/ib_mad.h ib_get_cpi_resp_time(9), ib_set_cpi_c... |
ib_get_cpi_resp_time(9) | NAME ib_get_cpi_resp_time - Returns the resp_time value from cap_mask2_resp_time in ib_class_port_info.
SYNOPSIS u8 ib_get_cpi_resp_time (struct ib_class_port_info *cpi );
ARGUMENTS cpi A struct ib_class_port_info mad.
SEE ALSO Kernel file ./include/rdma/ib_mad.h ib_get_cpi_capmask2(9), ib_set_cpi... |
ib_get_gids_from_rdma_hdr(9) | NAME ib_get_gids_from_rdma_hdr - Get sgid and dgid from GRH or IPv4 header work completion.
SYNOPSIS int ib_get_gids_from_rdma_hdr (const union rdma_network_hdr *hdr , enum rdma_network_type net_type , union ib_gid *sgid , union ib_gid *dgid );
ARGUMENTS hdr the L3 header to parse
net_type type of ... |
ib_get_mad_data_offset(9) | NAME ib_get_mad_data_offset - returns the data offset for a given management class.
SYNOPSIS int ib_get_mad_data_offset (u8 mgmt_class );
ARGUMENTS mgmt_class management class
DESCRIPTION This routine returns the data offset in the MAD for the management class requested.
SEE ALSO Kernel file ./include/rdma/ib_ma... |
ib_get_net_dev_by_params(9) | NAME ib_get_net_dev_by_params - Return the appropriate net_dev for a received CM request
SYNOPSIS struct net_device * ib_get_net_dev_by_params (struct ib_device *dev , u32 port , u16 pkey , const union ib_gid *gid , const struct sockaddr *addr );
ARGUMENTS dev An RDMA device on which the request has been rece... |
ib_get_rdma_header_version(9) | NAME ib_get_rdma_header_version - Get the header version
SYNOPSIS int ib_get_rdma_header_version (const union rdma_network_hdr *hdr );
ARGUMENTS hdr the L3 header to parse
SEE ALSO Kernel file ./include/rdma/ib_verbs.h struct rdma_stat_desc(9), struct rdma_hw_stats(9), ib_rate_to_mult(9), ib_rat... |
ib_get_rmpp_flags(9) | NAME ib_get_rmpp_flags - Returns the RMPP flags.
SYNOPSIS u8 ib_get_rmpp_flags (struct ib_rmpp_hdr *rmpp_hdr );
ARGUMENTS rmpp_hdr An RMPP header.
SEE ALSO Kernel file ./include/rdma/ib_mad.h ib_get_cpi_resp_time(9), ib_get_cpi_capmask2(9), ib_set_cpi_capmask2(9), opa_get_cpi_capmask2(9), ib_respons... |
ib_get_rmpp_resptime(9) | NAME ib_get_rmpp_resptime - Returns the RMPP response time.
SYNOPSIS u8 ib_get_rmpp_resptime (struct ib_rmpp_hdr *rmpp_hdr );
ARGUMENTS rmpp_hdr An RMPP header.
SEE ALSO Kernel file ./include/rdma/ib_mad.h ib_get_cpi_resp_time(9), ib_get_cpi_capmask2(9), ib_set_cpi_capmask2(9), opa_get_cpi_capmask2... |
ib_get_rmpp_segment(9) | NAME ib_get_rmpp_segment - returns the data buffer for a given RMPP segment.
SYNOPSIS void * ib_get_rmpp_segment (struct ib_mad_send_buf *send_buf , int seg_num );
ARGUMENTS send_buf Previously allocated send data buffer.
seg_num number of segment to return
DESCRIPTION This routine returns a pointer t... |
ib_get_ucaps(9) | NAME ib_get_ucaps - Get bitmask of ucap types from file descriptors
SYNOPSIS int ib_get_ucaps (int *fds , int fd_count , uint64_t *idx_mask );
ARGUMENTS fds Array of file descriptors
fd_count Number of file descriptors in the array
idx_mask Bitmask to be updated based on the ucaps in the... |
ib_get_vector_affinity(9) | NAME ib_get_vector_affinity - Get the affinity mappings of a given completion vector
SYNOPSIS const struct cpumask * ib_get_vector_affinity (struct ib_device *device , int comp_vector );
ARGUMENTS device the rdma device
comp_vector index of completion vector
DESCRIPTION Returns NULL on failure, otherwis... |
ib_inc_rkey(9) | NAME ib_inc_rkey - increments the key portion of the given rkey. Can be used for calculating a new rkey for type 2 memory windows.
SYNOPSIS u32 ib_inc_rkey (u32 rkey );
ARGUMENTS rkey the rkey to increment.
SEE ALSO Kernel file ./include/rdma/ib_verbs.h struct rdma_stat_desc(9), struct rdma_hw_stat... |
ib_init_ah_attr_from_path(9) | NAME ib_init_ah_attr_from_path - Initialize address handle attributes based on an SA path record.
SYNOPSIS int ib_init_ah_attr_from_path (struct ib_device *device , u32 port_num , struct sa_path_rec *rec , struct rdma_ah_attr *ah_attr , const struct ib_gid_attr *gid_attr );
ARGUMENTS device Device associated ah ... |
ib_init_ah_attr_from_wc(9) | NAME ib_init_ah_attr_from_wc - Initializes address handle attributes from a work completion.
SYNOPSIS int ib_init_ah_attr_from_wc (struct ib_device *device , u32 port_num , const struct ib_wc *wc , const struct ib_grh *grh , struct rdma_ah_attr *ah_attr );
ARGUMENTS device Device on which the received message ar... |
ib_init_ah_from_mcmember(9) | NAME ib_init_ah_from_mcmember - Initialize address handle attributes based on an SA multicast member record.
SYNOPSIS int ib_init_ah_from_mcmember (struct ib_device *device , u32 port_num , struct ib_sa_mcmember_rec *rec , struct net_device *ndev , enum ib_gid_type gid_type , struct rdma_ah_attr *ah_attr );
ARGUMENTS... |
ib_init_query_mad(9) | NAME ib_init_query_mad - Initialize query MAD.
SYNOPSIS void ib_init_query_mad (struct ib_smp *mad );
ARGUMENTS mad MAD to initialize.
SEE ALSO Kernel file ./include/rdma/ib_smi.h
April 2026 ib_init_query_mad ... |
ib_is_mad_class_rmpp(9) | NAME ib_is_mad_class_rmpp - returns whether given management class supports RMPP.
SYNOPSIS int ib_is_mad_class_rmpp (u8 mgmt_class );
ARGUMENTS mgmt_class management class
DESCRIPTION This routine returns whether the management class supports RMPP.
SEE ALSO Kernel file ./include/rdma/ib_mad.h ib_get_cpi_resp_t... |
ib_is_opa_gid(9) | NAME ib_is_opa_gid - Returns true if the top 24 bits of the gid contains the OPA_STL_OUI identifier. This identifies that the provided gid is a special purpose GID meant to carry extended LID information.
SYNOPSIS bool ib_is_opa_gid (const union ib_gid *gid );
ARGUMENTS gid The Global identifier
SEE ALSO Ker... |
ib_lid_be16(9) | NAME ib_lid_be16 - Return lid in 16bit BE encoding.
SYNOPSIS __be16 ib_lid_be16 (u32 lid );
ARGUMENTS lid A 32bit LID
SEE ALSO Kernel file ./include/rdma/ib_verbs.h struct rdma_stat_desc(9), struct rdma_hw_stats(9), ib_rate_to_mult(9), ib_rate_to_mbps(9), ib_port_attr_to_speed_info(9), enum i... |
ib_lid_cpu16(9) | NAME ib_lid_cpu16 - Return lid in 16bit CPU encoding. In the current implementation the only way to get the 32bit lid is from other sources for OPA. For IB, lids will always be 16bits so cast the value accordingly.
SYNOPSIS u16 ib_lid_cpu16 (u32 lid );
ARGUMENTS lid A 32bit LID
SEE ALSO Kernel file ./inc... |
ib_mad_kernel_rmpp_agent(9) | NAME ib_mad_kernel_rmpp_agent - Returns if the agent is performing RMPP.
SYNOPSIS int ib_mad_kernel_rmpp_agent (const struct ib_mad_agent *agent );
ARGUMENTS agent the agent in question
RETURN true if agent is performing rmpp, false otherwise.
SEE ALSO Kernel file ./include/rdma/ib_mad.h ib_get_cpi_resp_ti... |
ib_map_mr_sg(9) | NAME ib_map_mr_sg - Map the largest prefix of a dma mapped SG list and set it the memory region.
SYNOPSIS int ib_map_mr_sg (struct ib_mr *mr , struct scatterlist *sg , int sg_nents , unsigned int *sg_offset , unsigned int page_size );
ARGUMENTS mr memory region
sg dma mapped scatterlist
... |
ib_map_mr_sg_pi(9) | NAME ib_map_mr_sg_pi - Map the dma mapped SG lists for PI (protection information) and set an appropriate memory region for registration.
SYNOPSIS int ib_map_mr_sg_pi (struct ib_mr *mr , struct scatterlist *data_sg , int data_sg_nents , unsigned int *data_sg_offset , struct scatterlist *meta_sg , int meta_sg_ne... |
ib_modify_device(9) | NAME ib_modify_device - Change IB device attributes
SYNOPSIS int ib_modify_device (struct ib_device *device , int device_modify_mask , struct ib_device_modify *device_modify );
ARGUMENTS device Device to modify
device_modify_mask
Mask of attributes to change
device_modify
... |
ib_modify_mad(9) | NAME ib_modify_mad - Modifies an outstanding send MAD operation.
SYNOPSIS int ib_modify_mad (struct ib_mad_send_buf *send_buf , u32 timeout_ms );
ARGUMENTS send_buf Indicates the MAD to modify.
timeout_ms New timeout value for sent MAD.
DESCRIPTION This call will reset the timeout value for a sent MAD to... |
ib_modify_port(9) | NAME ib_modify_port - Modifies the attributes for the specified port.
SYNOPSIS int ib_modify_port (struct ib_device *device , u32 port_num , int port_modify_mask , struct ib_port_modify *port_modify );
ARGUMENTS device The device to modify.
port_num The number of the port to modify.
port_modif... |
ib_modify_qp(9) | NAME ib_modify_qp - Modifies the attributes for the specified QP and then transitions the QP to the given state.
SYNOPSIS int ib_modify_qp (struct ib_qp *qp , struct ib_qp_attr *qp_attr , int qp_attr_mask );
ARGUMENTS qp The QP to modify.
qp_attr On input, specifies the QP attributes to modify. ... |
ib_modify_qp_is_ok(9) | NAME ib_modify_qp_is_ok - Check that the supplied attribute mask contains all required attributes and no attributes not allowed for the given QP state transition.
SYNOPSIS bool ib_modify_qp_is_ok (enum ib_qp_state cur_state , enum ib_qp_state next_state , enum ib_qp_type type , enum ib_qp_attr_mask mask );
ARGUMENTS ... |
ib_modify_qp_with_udata(9) | NAME ib_modify_qp_with_udata - Modifies the attributes for the specified QP.
SYNOPSIS int ib_modify_qp_with_udata (struct ib_qp *qp , struct ib_qp_attr *attr , int attr_mask , struct ib_udata *udata );
ARGUMENTS qp The QP to modify.
attr On input, specifies the QP attributes to modify. On out... |
ib_modify_srq(9) | NAME ib_modify_srq - Modifies the attributes for the specified SRQ.
SYNOPSIS int ib_modify_srq (struct ib_srq *srq , struct ib_srq_attr *srq_attr , enum ib_srq_attr_mask srq_attr_mask );
ARGUMENTS srq The SRQ to modify.
srq_attr On input, specifies the SRQ attributes to modify. On output, the curr... |
ib_open_qp(9) | NAME ib_open_qp - Obtain a reference to an existing sharable QP.
SYNOPSIS struct ib_qp * ib_open_qp (struct ib_xrcd *xrcd , struct ib_qp_open_attr *qp_open_attr );
ARGUMENTS xrcd XRC domain
qp_open_attr
Attributes identifying the QP to open.
DESCRIPTION Returns a reference to a shar... |
ib_pack(9) | NAME ib_pack - Pack a structure into a buffer
SYNOPSIS void ib_pack (const struct ib_field *desc , int desc_len , void *structure , void *buf );
ARGUMENTS desc Array of structure field descriptions
desc_len Number of entries in desc
structure Structure to pack from
buf Buff... |
ib_poll_cq(9) | NAME ib_poll_cq - poll a CQ for completion(s)
SYNOPSIS int ib_poll_cq (struct ib_cq *cq , int num_entries , struct ib_wc *wc );
ARGUMENTS cq the CQ being polled
num_entries maximum number of completions to return
wc array of at least num_entries struct ib_wc where completions will be... |
ib_port_attr_to_speed_info(9) | NAME ib_port_attr_to_speed_info - Convert port attributes to speed information
SYNOPSIS int ib_port_attr_to_speed_info (struct ib_port_attr *attr , struct ib_port_speed_info *speed_info );
ARGUMENTS attr Port attributes containing active_speed and active_width
speed_info Speed information to return
D... |
ib_port_immutable_read(9) | NAME ib_port_immutable_read - Read rdma port's immutable data
SYNOPSIS const struct ib_port_immutable* ib_port_immutable_read (struct ib_device *dev , unsigned int port );
ARGUMENTS dev IB device
port port number whose immutable data to read. It starts with index 1 and valid upto including rdma... |
ib_port_register_client_groups(9) | NAME ib_port_register_client_groups - Add an ib_client's attributes to the port
SYNOPSIS int ib_port_register_client_groups (struct ib_device *ibdev , u32 port_num , const struct attribute_group **groups );
ARGUMENTS ibdev IB device to add counters
port_num valid port number
groups Group... |
ib_post_recv(9) | NAME ib_post_recv - Posts a list of work requests to the receive queue of the specified QP.
SYNOPSIS int ib_post_recv (struct ib_qp *qp , const struct ib_recv_wr *recv_wr , const struct ib_recv_wr **bad_recv_wr );
ARGUMENTS qp The QP to post the work request on.
recv_wr A list of work requests to... |
ib_post_send(9) | NAME ib_post_send - Posts a list of work requests to the send queue of the specified QP.
SYNOPSIS int ib_post_send (struct ib_qp *qp , const struct ib_send_wr *send_wr , const struct ib_send_wr **bad_send_wr );
ARGUMENTS qp The QP to post the work request on.
send_wr A list of work requests to po... |
ib_post_send_mad(9) | NAME ib_post_send_mad - Posts MAD(s) to the send queue of the QP associated with the registered client.
SYNOPSIS int ib_post_send_mad (struct ib_mad_send_buf *send_buf , struct ib_mad_send_buf **bad_send_buf );
ARGUMENTS send_buf Specifies the information needed to send the MAD(s).
bad_send_buf
... |
ib_post_srq_recv(9) | NAME ib_post_srq_recv - Posts a list of work requests to the specified SRQ.
SYNOPSIS int ib_post_srq_recv (struct ib_srq *srq , const struct ib_recv_wr *recv_wr , const struct ib_recv_wr **bad_recv_wr );
ARGUMENTS srq The SRQ to post the work request on.
recv_wr A list of work requests to post on ... |
ib_prepare_cm_mra(9) | NAME ib_prepare_cm_mra - Prepares to send a message receipt acknowledgment to a connection message in case duplicates are received.
SYNOPSIS int ib_prepare_cm_mra (struct ib_cm_id *cm_id );
ARGUMENTS cm_id Connection identifier associated with the connection message.
SEE ALSO Kernel file ./include/rdma/ib_cm... |
ib_process_cq_direct(9) | NAME ib_process_cq_direct - process a CQ in caller context
SYNOPSIS int ib_process_cq_direct (struct ib_cq *cq , int budget );
ARGUMENTS cq CQ to process
budget number of CQEs to poll for
DESCRIPTION This function is used to process all outstanding CQ entries. It does not offload CQ processin... |
ib_query_netdev_port(9) | NAME ib_query_netdev_port - Query the port number of a net_device associated with an ibdev
SYNOPSIS int ib_query_netdev_port (struct ib_device *ibdev , struct net_device *ndev , u32 *port );
ARGUMENTS ibdev IB device
ndev Network device
port IB port the net_device is connected to
... |
ib_query_pkey(9) | NAME ib_query_pkey - Get P_Key table entry
SYNOPSIS int ib_query_pkey (struct ib_device *device , u32 port_num , u16 index , u16 *pkey );
ARGUMENTS device Device to query
port_num Port number to query
index P_Key table index to query
pkey Returned P_Key
DESCRIPTION ib_que... |
ib_query_port(9) | NAME ib_query_port - Query IB port attributes
SYNOPSIS int ib_query_port (struct ib_device *device , u32 port_num , struct ib_port_attr *port_attr );
ARGUMENTS device Device to query
port_num Port number to query
port_attr Port attributes
DESCRIPTION ib_query_port returns the attributes of ... |
ib_query_qp(9) | NAME ib_query_qp - Returns the attribute list and current values for the specified QP.
SYNOPSIS int ib_query_qp (struct ib_qp *qp , struct ib_qp_attr *qp_attr , int qp_attr_mask , struct ib_qp_init_attr *qp_init_attr );
ARGUMENTS qp The QP to query.
qp_attr The attributes of the specified QP.
... |
ib_query_srq(9) | NAME ib_query_srq - Returns the attribute list and current values for the specified SRQ.
SYNOPSIS int ib_query_srq (struct ib_srq *srq , struct ib_srq_attr *srq_attr );
ARGUMENTS srq The SRQ to query.
srq_attr The attributes of the specified SRQ.
SEE ALSO Kernel file ./include/rdma/ib_verbs.h ... |
ib_rate_to_mbps(9) | NAME ib_rate_to_mbps - Convert the IB rate enum to Mbps. For example, IB_RATE_2_5_GBPS will be converted to 2500.
SYNOPSIS int ib_rate_to_mbps (enum ib_rate rate );
ARGUMENTS rate rate to convert.
SEE ALSO Kernel file ./include/rdma/ib_verbs.h struct rdma_stat_desc(9), struct rdma_hw_stats(9), ib_rate_to_mul... |
ib_rate_to_mult(9) | NAME ib_rate_to_mult - Convert the IB rate enum to a multiple of the base rate of 2.5 Gbit/sec. For example, IB_RATE_5_GBPS will be converted to 2, since 5 Gbit/sec is 2 * 2.5 Gbit/sec.
SYNOPSIS int ib_rate_to_mult (enum ib_rate rate );
ARGUMENTS rate rate to convert.
SEE ALSO Kernel file ./include/rdma/ib_v... |
ib_register_client(9) | NAME ib_register_client - Register an IB client
SYNOPSIS int ib_register_client (struct ib_client *client );
ARGUMENTS client Client to register
DESCRIPTION Upper level users of the IB drivers can use ib_register_client to register callbacks for IB device addition and removal. When an IB device is added, ea... |
ib_register_device(9) | NAME ib_register_device - Register an IB device with IB core
SYNOPSIS int ib_register_device (struct ib_device *device , const char *name , struct device *dma_device );
ARGUMENTS device Device to register
name unique string device name. This may include a '%' which will cause a unique index to be ... |
ib_register_event_handler(9) | NAME ib_register_event_handler - Register an IB event handler
SYNOPSIS void ib_register_event_handler (struct ib_event_handler *event_handler );
ARGUMENTS event_handler Handler to register
DESCRIPTION ib_register_event_handler registers an event handler that will be called back when asynchronous IB events occur (... |
ib_register_mad_agent(9) | NAME ib_register_mad_agent - Register to send/receive MADs.
SYNOPSIS struct ib_mad_agent * ib_register_mad_agent (struct ib_device *device , u32 port_num , enum ib_qp_type qp_type , struct ib_mad_reg_req *mad_reg_req , u8 rmpp_version , ib_mad_send_handler send_handler , ib_mad_recv_han‐ dler recv_handler , void *co... |
ib_remove_ucap(9) | NAME ib_remove_ucap - Remove a ucap character device
SYNOPSIS void ib_remove_ucap (enum rdma_user_cap type );
ARGUMENTS type User cap type
DESCRIPTION Removes the ucap character device according to type. The device is completely removed from the filesystem when its reference count reaches 0.
SEE ALSO Kernel ... |
ib_req_notify_cq(9) | NAME ib_req_notify_cq - Request completion notification on a CQ.
SYNOPSIS int ib_req_notify_cq (struct ib_cq *cq , enum ib_cq_notify_flags flags );
ARGUMENTS cq The CQ to generate an event for.
flags Must contain exactly one of IB_CQ_SOLICITED or IB_CQ_NEXT_COMP to request an event on the nex... |
ib_resize_cq(9) | NAME ib_resize_cq - Modifies the capacity of the CQ.
SYNOPSIS int ib_resize_cq (struct ib_cq *cq , int cqe );
ARGUMENTS cq The CQ to resize.
cqe The minimum size of the CQ.
DESCRIPTION Users can examine the cq structure to determine the actual CQ size.
SEE ALSO Kernel file ./include/rdm... |
ib_resolve_eth_dmac(9) | NAME ib_resolve_eth_dmac - Resolve destination mac address
SYNOPSIS int ib_resolve_eth_dmac (struct ib_device *device , struct rdma_ah_attr *ah_attr );
ARGUMENTS device Device to consider
ah_attr address handle attribute which describes the source and destination parameters ib_resolve_eth_dmac reso... |
ib_response_mad(9) | NAME ib_response_mad - Returns if the specified MAD has been generated in response to a sent request or trap.
SYNOPSIS int ib_response_mad (const struct ib_mad_hdr *hdr );
ARGUMENTS hdr -- undescribed --
SEE ALSO Kernel file ./include/rdma/ib_mad.h ib_get_cpi_resp_time(9), ib_get_cpi_capmask2(9), i... |
ib_sa_cancel_query(9) | NAME ib_sa_cancel_query - try to cancel an SA query
SYNOPSIS void ib_sa_cancel_query (int id , struct ib_sa_query *query );
ARGUMENTS id ID of query to cancel
query query pointer to cancel
DESCRIPTION Try to cancel an SA query. If the id and query don't match up or the query has already compl... |
ib_sa_join_multicast(9) | NAME ib_sa_join_multicast - Initiates a join request to the specified multicast group.
SYNOPSIS struct ib_sa_multicast * ib_sa_join_multicast (struct ib_sa_client *client , struct ib_device *device , u32 port_num , struct ib_sa_mcmember_rec *rec , ib_sa_comp_mask comp_mask , gfp_t gfp_mask , int (*callback)(int sta‐ t... |
ib_sa_pack_path(9) | NAME ib_sa_pack_path - Conert a path record from struct ib_sa_path_rec to IB MAD wire format.
SYNOPSIS void ib_sa_pack_path (struct sa_path_rec *rec , void *attribute );
ARGUMENTS rec -- undescribed --
attribute -- undescribed --
SEE ALSO Kernel file ./include/rdma/ib_sa.h struct sa_path_rec_roc... |
ib_sa_pack_service(9) | NAME ib_sa_pack_service - Convert a service record from struct ib_sa_service_rec to IB MAD wire format.
SYNOPSIS void ib_sa_pack_service (struct sa_service_rec *rec , void *attribute );
ARGUMENTS rec -- undescribed --
attribute -- undescribed --
SEE ALSO Kernel file ./include/rdma/ib_sa.h struct... |
ib_sa_path_rec_get(9) | NAME ib_sa_path_rec_get - Start a Path get query
SYNOPSIS int ib_sa_path_rec_get (struct ib_sa_client *client , struct ib_device *device , u32 port_num , struct sa_path_rec *rec , ib_sa_comp_mask comp_mask , unsigned long timeout_ms , gfp_t gfp_mask , void (*callback)(int sta‐ tus, struct sa_path_rec *resp, unsigned... |
ib_sa_register_client(9) | NAME ib_sa_register_client - Register an SA client.
SYNOPSIS void ib_sa_register_client (struct ib_sa_client *client );
ARGUMENTS client -- undescribed --
SEE ALSO Kernel file ./include/rdma/ib_sa.h struct sa_path_rec_roce(9), ib_sa_unregister_client(9), ib_sa_join_multicast(9), ib_init_ah_from_mcmember(... |
ib_sa_service_rec_get(9) | NAME ib_sa_service_rec_get - Start a Service get query
SYNOPSIS int ib_sa_service_rec_get (struct ib_sa_client *client , struct ib_device *device , u32 port_num , struct sa_service_rec *rec , ib_sa_comp_mask comp_mask , unsigned long timeout_ms , gfp_t gfp_mask , void (*callback)(int status, struct sa_service_rec *re... |
ib_sa_unpack_path(9) | NAME ib_sa_unpack_path - Convert a path record from MAD format to struct ib_sa_path_rec.
SYNOPSIS void ib_sa_unpack_path (void *attribute , struct sa_path_rec *rec );
ARGUMENTS attribute -- undescribed --
rec -- undescribed --
SEE ALSO Kernel file ./include/rdma/ib_sa.h struct sa_path_rec_roce(... |
ib_sa_unpack_service(9) | NAME ib_sa_unpack_service - Convert a service record from MAD format to struct ib_sa_service_rec.
SYNOPSIS void ib_sa_unpack_service (void *attribute , struct sa_service_rec *rec );
ARGUMENTS attribute -- undescribed --
rec -- undescribed --
SEE ALSO Kernel file ./include/rdma/ib_sa.h struct sa_pat... |
ib_sa_unregister_client(9) | NAME ib_sa_unregister_client - Deregister an SA client.
SYNOPSIS void ib_sa_unregister_client (struct ib_sa_client *client );
ARGUMENTS client Client object to deregister.
SEE ALSO Kernel file ./include/rdma/ib_sa.h struct sa_path_rec_roce(9), ib_sa_register_client(9), ib_sa_join_multicast(9), ib_init_ah_from_... |
ib_send_cm_drep(9) | NAME ib_send_cm_drep - Sends a disconnection reply to a disconnection request.
SYNOPSIS int ib_send_cm_drep (struct ib_cm_id *cm_id , const void *private_data , u8 private_data_len );
ARGUMENTS cm_id Connection identifier associated with the connection being released.
private_data
Opt... |
ib_send_cm_dreq(9) | NAME ib_send_cm_dreq - Sends a disconnection request for an existing connection.
SYNOPSIS int ib_send_cm_dreq (struct ib_cm_id *cm_id , const void *private_data , u8 private_data_len );
ARGUMENTS cm_id Connection identifier associated with the connection being released.
private_data
O... |
ib_send_cm_rej(9) | NAME ib_send_cm_rej - Sends a connection rejection message to the remote node.
SYNOPSIS int ib_send_cm_rej (struct ib_cm_id *cm_id , enum ib_cm_rej_reason reason , void *ari , u8 ari_length , const void *private_data , u8 private_data_len );
ARGUMENTS cm_id Connection identifier associated with the connection b... |
ib_send_cm_rep(9) | NAME ib_send_cm_rep - Sends a connection reply in response to a connection request.
SYNOPSIS int ib_send_cm_rep (struct ib_cm_id *cm_id , struct ib_cm_rep_param *param );
ARGUMENTS cm_id Connection identifier that will be associated with the connection request.
param Connection reply information n... |
ib_send_cm_req(9) | NAME ib_send_cm_req - Sends a connection request to the remote node.
SYNOPSIS int ib_send_cm_req (struct ib_cm_id *cm_id , struct ib_cm_req_param *param );
ARGUMENTS cm_id Connection identifier that will be associated with the connection request.
param Connection request information needed to esta... |
ib_send_cm_rtu(9) | NAME ib_send_cm_rtu - Sends a connection ready to use message in response to a connection reply message.
SYNOPSIS int ib_send_cm_rtu (struct ib_cm_id *cm_id , const void *private_data , u8 private_data_len );
ARGUMENTS cm_id Connection identifier associated with the connection request.
private_data
... |
ib_send_cm_sidr_rep(9) | NAME ib_send_cm_sidr_rep - Sends a service ID resolution reply to the remote node.
SYNOPSIS int ib_send_cm_sidr_rep (struct ib_cm_id *cm_id , struct ib_cm_sidr_rep_param *param );
ARGUMENTS cm_id Communication identifier associated with the received service ID resolution request.
param Service ID ... |
ib_send_cm_sidr_req(9) | NAME ib_send_cm_sidr_req - Sends a service ID resolution request to the remote node.
SYNOPSIS int ib_send_cm_sidr_req (struct ib_cm_id *cm_id , struct ib_cm_sidr_req_param *param );
ARGUMENTS cm_id Communication identifier that will be associated with the service ID resolution request.
param Servi... |
ib_set_client_data(9) | NAME ib_set_client_data - Set IB client context
SYNOPSIS void ib_set_client_data (struct ib_device *device , struct ib_client *client , void *data );
ARGUMENTS device Device to set context for
client Client to set context for
data Context to set
DESCRIPTION ib_set_client_data sets ... |
ib_set_cpi_capmask2(9) | NAME ib_set_cpi_capmask2 - Sets the capmask2 in an ib_class_port_info mad.
SYNOPSIS void ib_set_cpi_capmask2 (struct ib_class_port_info *cpi , u32 capmask2 );
ARGUMENTS cpi A struct ib_class_port_info.
capmask2 The capmask2 to set.
SEE ALSO Kernel file ./include/rdma/ib_mad.h ib_get_cpi_re... |
ib_set_rmpp_flags(9) | NAME ib_set_rmpp_flags - Sets the flags in an RMPP header.
SYNOPSIS void ib_set_rmpp_flags (struct ib_rmpp_hdr *rmpp_hdr , u8 flags );
ARGUMENTS rmpp_hdr An RMPP header.
flags The flags to set.
SEE ALSO Kernel file ./include/rdma/ib_mad.h ib_get_cpi_resp_time(9), ib_get_cpi_capmask2(9), ib_set_cpi_... |
ib_set_rmpp_resptime(9) | NAME ib_set_rmpp_resptime - Sets the response time in an RMPP header.
SYNOPSIS void ib_set_rmpp_resptime (struct ib_rmpp_hdr *rmpp_hdr , u8 rtime );
ARGUMENTS rmpp_hdr An RMPP header.
rtime The response time to set.
SEE ALSO Kernel file ./include/rdma/ib_mad.h ib_get_cpi_resp_time(9), ib_... |
ib_sg_to_pages(9) | NAME ib_sg_to_pages - Convert the largest prefix of a sg list to a page vector
SYNOPSIS int ib_sg_to_pages (struct ib_mr *mr , struct scatterlist *sgl , int sg_nents , unsigned int *sg_offset_p , int (*set_page)(struct ib_mr *, u64) );
ARGUMENTS mr memory region
sgl dma mapped scatterlist
... |
ib_ucaps_init(9) | NAME ib_ucaps_init - Initialization required before ucap creation.
SYNOPSIS int ib_ucaps_init (void );
ARGUMENTS void no arguments
RETURN 0 on success, or a negative errno value on failure
SEE ALSO Kernel file ./drivers/infiniband/core/ucaps.c ib_cleanup_ucaps(9), ib_create_ucap(9), ib_remove_ucap(9), ib_get... |
ib_ud_header_init(9) | NAME ib_ud_header_init - Initialize UD header structure
SYNOPSIS int ib_ud_header_init (int payload_bytes , int lrh_present , int eth_present , int vlan_present , int grh_present , int ip_version , int udp_present , int immediate_present , struct ib_ud_header *header );
ARGUMENTS payload_bytes Length of packet payloa... |
ib_ud_header_pack(9) | NAME ib_ud_header_pack - Pack UD header struct into wire format
SYNOPSIS int ib_ud_header_pack (struct ib_ud_header *header , void *buf );
ARGUMENTS header UD header struct
buf Buffer to pack into
DESCRIPTION ib_ud_header_pack packs the UD header structure header into wire format in the buffer b... |
ib_umem_find_best_pgoff(9) | NAME ib_umem_find_best_pgoff - Find best HW page size
SYNOPSIS unsigned long ib_umem_find_best_pgoff (struct ib_umem *umem , unsigned long pgsz_bitmap , u64 pgoff_bitmask );
ARGUMENTS umem umem struct pgsz_bitmap bitmap of HW supported page sizes
pgsz_bitmap -- undescribed --
pgoff_bitmask
... |
ib_umem_find_best_pgsz(9) | NAME ib_umem_find_best_pgsz - Find best HW page size to use for this MR
SYNOPSIS unsigned long ib_umem_find_best_pgsz (struct ib_umem *umem , unsigned long pgsz_bitmap , unsigned long virt );
ARGUMENTS umem umem struct
pgsz_bitmap bitmap of HW supported page sizes
virt IOVA
DESCRIPTION ... |
ib_umem_get(9) | NAME ib_umem_get - Pin and DMA map userspace memory.
SYNOPSIS struct ib_umem * ib_umem_get (struct ib_device *device , unsigned long addr , size_t size , int access );
ARGUMENTS device IB device to connect UMEM
addr userspace virtual address to start at
size length of region to pin
... |
ib_umem_odp_alloc_child(9) | NAME ib_umem_odp_alloc_child - Allocate a child ODP umem under an implicit parent ODP umem
SYNOPSIS struct ib_umem_odp * ib_umem_odp_alloc_child (struct ib_umem_odp *root , unsigned long addr , size_t size , const struct mmu_interval_notifier_ops *ops );
ARGUMENTS root The parent umem enclosing the child. This... |
ib_umem_odp_alloc_implicit(9) | NAME ib_umem_odp_alloc_implicit - Allocate a parent implicit ODP umem
SYNOPSIS struct ib_umem_odp * ib_umem_odp_alloc_implicit (struct ib_device *device , int access );
ARGUMENTS device IB device to create UMEM
access ib_reg_mr access flags
DESCRIPTION Implicit ODP umems do not have a VA range and ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.