id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
rdma_find_gid_by_port(9) | NAME rdma_find_gid_by_port - Returns the GID entry attributes when it finds a valid GID entry for given search parameters. It searches for the specified GID value in the local software cache.
SYNOPSIS const struct ib_gid_attr * rdma_find_gid_by_port (struct ib_device *ib_dev , const union ib_gid *gid , enum ib_gid_typ... |
rdma_flow_label_to_udp_sport(9) | NAME rdma_flow_label_to_udp_sport - generate a RoCE v2 UDP src port value based on the flow_label
SYNOPSIS u16 rdma_flow_label_to_udp_sport (u32 fl );
ARGUMENTS fl flow_label value
DESCRIPTION This function will convert the 20 bit flow_label input to a valid RoCE v2 UDP src port 14 bit value. All RoCE V2 dr... |
rdma_for_each_block(9) | NAME rdma_for_each_block - iterate over contiguous memory blocks of the sg list
SYNOPSIS rdma_for_each_block (sglist , biter , nents , pgsz );
ARGUMENTS sglist sglist to iterate over
biter block iterator holding the memory block
nents maximum number of sg entries to iterate over
... |
rdma_for_each_port(9) | NAME rdma_for_each_port - Iterate over all valid port numbers of the IB device
SYNOPSIS rdma_for_each_port (device , iter );
ARGUMENTS device The struct ib_device * to iterate over
iter The unsigned int to store the port number
SEE ALSO Kernel file ./include/rdma/ib_verbs.h struct rdma_st... |
rdma_free_hw_stats_struct(9) | NAME rdma_free_hw_stats_struct - Helper function to release rdma_hw_stats
SYNOPSIS void rdma_free_hw_stats_struct (struct rdma_hw_stats *stats );
ARGUMENTS stats statistics to release
SEE ALSO Kernel file ./drivers/infiniband/core/verbs.c __ib_alloc_pd(9), ib_dealloc_pd_user(9), rdma_copy_ah_att... |
rdma_get_gid_attr(9) | NAME rdma_get_gid_attr - Returns GID attributes for a port of a device at a requested gid_index, if a valid GID entry exists.
SYNOPSIS const struct ib_gid_attr * rdma_get_gid_attr (struct ib_device *device , u32 port_num , int index );
ARGUMENTS device The device to query.
port_num The port number on ... |
rdma_get_udp_sport(9) | NAME rdma_get_udp_sport - Calculate and set UDP source port based on the flow label. If flow label is not defined in GRH then calculate it based on lqpn/rqpn.
SYNOPSIS u16 rdma_get_udp_sport (u32 fl , u32 lqpn , u32 rqpn );
ARGUMENTS fl flow label from GRH
lqpn local qp number
rqpn ... |
rdma_hold_gid_attr(9) | NAME rdma_hold_gid_attr - Get reference to existing GID attribute
SYNOPSIS void rdma_hold_gid_attr (const struct ib_gid_attr *attr );
ARGUMENTS attr Pointer to the GID attribute whose reference needs to be taken.
DESCRIPTION Increase the reference count to a GID attribute to keep it from being freed. Callers ... |
rdma_init_qp_attr(9) | NAME rdma_init_qp_attr - Initializes the QP attributes for use in transitioning to a specified QP state.
SYNOPSIS int rdma_init_qp_attr (struct rdma_cm_id *id , struct ib_qp_attr *qp_attr , int *qp_attr_mask );
ARGUMENTS id Communication identifier associated with the QP attributes to initialize.
qp_... |
rdma_is_consumer_reject(9) | NAME rdma_is_consumer_reject - return true if the consumer rejected the connect request.
SYNOPSIS bool rdma_is_consumer_reject (struct rdma_cm_id *id , int reason );
ARGUMENTS id Communication identifier that received the REJECT event.
reason Value returned in the REJECT event status field.
SEE... |
rdma_is_kernel_res(9) | NAME rdma_is_kernel_res - check the owner of resource
SYNOPSIS bool rdma_is_kernel_res (const struct rdma_restrack_entry *res );
ARGUMENTS res resource entry
SEE ALSO Kernel file ./include/rdma/restrack.h enum rdma_restrack_type(9), struct rdma_restrack_entry(9), rdma_restrack_get(9), rdma_restrack_put(9), r... |
rdma_iw_cm_id(9) | NAME rdma_iw_cm_id - return the iw_cm_id pointer for this cm_id.
SYNOPSIS struct iw_cm_id * rdma_iw_cm_id (struct rdma_cm_id *id );
ARGUMENTS id Communication Identifier
SEE ALSO Kernel file ./drivers/infiniband/core/cma.c rdma_is_consumer_reject(9), cma_acquire_dev_by_src_ip(9), cma_ib_acquire_dev(9), ... |
rdma_join_multicast(9) | NAME rdma_join_multicast - Join the multicast group specified by the given address.
SYNOPSIS int rdma_join_multicast (struct rdma_cm_id *id , struct sockaddr *addr , u8 join_state , void *context );
ARGUMENTS id Communication identifier associated with the request.
addr Multicast address ident... |
rdma_leave_multicast(9) | NAME rdma_leave_multicast - Leave the multicast group specified by the given address.
SYNOPSIS void rdma_leave_multicast (struct rdma_cm_id *id , struct sockaddr *addr );
ARGUMENTS id -- undescribed --
addr -- undescribed --
SEE ALSO Kernel file ./include/rdma/rdma_cm.h rdma_create_id(9), ... |
rdma_listen(9) | NAME rdma_listen - This function is called by the passive side to listen for incoming connection requests.
SYNOPSIS int rdma_listen (struct rdma_cm_id *id , int backlog );
ARGUMENTS id -- undescribed --
backlog -- undescribed --
DESCRIPTION Users must have bound the rdma_cm_id to a local address... |
rdma_max_mad_size(9) | NAME rdma_max_mad_size - Return the max MAD size required by this RDMA Port.
SYNOPSIS size_t rdma_max_mad_size (const struct ib_device *device , u32 port_num );
ARGUMENTS device Device
port_num Port number
DESCRIPTION This MAD size includes the MAD headers and MAD payload. No other headers are inclu... |
rdma_modify_ah(9) | NAME rdma_modify_ah - Modifies the address vector associated with an address handle.
SYNOPSIS int rdma_modify_ah (struct ib_ah *ah , struct rdma_ah_attr *ah_attr );
ARGUMENTS ah The address handle to modify.
ah_attr The new address vector attributes to associate with the address handle.
SEE ALSO... |
rdma_move_ah_attr(9) | NAME rdma_move_ah_attr - Move ah_attr pointed by source to destination.
SYNOPSIS void rdma_move_ah_attr (struct rdma_ah_attr *dest , struct rdma_ah_attr *src );
ARGUMENTS dest Pointer to destination ah_attr to copy to. dest is assumed to be valid or zero'd
src Pointer to the new ah_attr.
DESC... |
rdma_move_grh_sgid_attr(9) | NAME rdma_move_grh_sgid_attr - Sets the sgid attribute of GRH, taking ownership of the reference
SYNOPSIS void rdma_move_grh_sgid_attr (struct rdma_ah_attr *attr , union ib_gid *dgid , u32 flow_label , u8 hop_limit , u8 traffic_class , const struct ib_gid_attr *sgid_attr );
ARGUMENTS attr Pointer to AH attribu... |
rdma_mtu_enum_to_int(9) | NAME rdma_mtu_enum_to_int - Return the mtu of the port as an integer value.
SYNOPSIS int rdma_mtu_enum_to_int (struct ib_device *device , u32 port , int mtu );
ARGUMENTS device Device
port Port number
mtu enum value of MTU
DESCRIPTION Return the MTU size supported by the port as a... |
rdma_mtu_from_attr(9) | NAME rdma_mtu_from_attr - Return the mtu of the port from the port attribute.
SYNOPSIS int rdma_mtu_from_attr (struct ib_device *device , u32 port , struct ib_port_attr *attr );
ARGUMENTS device Device
port Port number
attr port attribute
DESCRIPTION Return the MTU size supported b... |
rdma_notify(9) | NAME rdma_notify - Notifies the RDMA CM of an asynchronous event that has occurred on the connection.
SYNOPSIS int rdma_notify (struct rdma_cm_id *id , enum ib_event_type event );
ARGUMENTS id Connection identifier to transition to established.
event Asynchronous event.
DESCRIPTION This routi... |
rdma_put_gid_attr(9) | NAME rdma_put_gid_attr - Release reference to the GID attribute
SYNOPSIS void rdma_put_gid_attr (const struct ib_gid_attr *attr );
ARGUMENTS attr Pointer to the GID attribute whose reference needs to be released.
DESCRIPTION rdma_put_gid_attr must be used to release reference whose reference is acquired using... |
rdma_query_ah(9) | NAME rdma_query_ah - Queries the address vector associated with an address handle.
SYNOPSIS int rdma_query_ah (struct ib_ah *ah , struct rdma_ah_attr *ah_attr );
ARGUMENTS ah The address handle to query.
ah_attr The address vector attributes associated with the address handle.
SEE ALSO Kernel ... |
rdma_query_gid(9) | NAME rdma_query_gid - Read the GID content from the GID software cache
SYNOPSIS int rdma_query_gid (struct ib_device *device , u32 port_num , int index , union ib_gid *gid );
ARGUMENTS device Device to query the GID
port_num Port number of the device
index Index of the GID table entry to... |
rdma_query_gid_table(9) | NAME rdma_query_gid_table - Reads GID table entries of all the ports of a device up to max_entries.
SYNOPSIS ssize_t rdma_query_gid_table (struct ib_device *device , struct ib_uverbs_gid_entry *entries , size_t max_entries );
ARGUMENTS device The device to query.
entries Entries where GID entries are... |
rdma_read_gid_attr_ndev_rcu(9) | NAME rdma_read_gid_attr_ndev_rcu - Read GID attribute netdevice which must be in UP state.
SYNOPSIS struct net_device * rdma_read_gid_attr_ndev_rcu (const struct ib_gid_attr *attr );
ARGUMENTS attr Pointer to the GID attribute
DESCRIPTION Returns pointer to netdevice if the netdevice was attached to GID and n... |
rdma_read_gid_hw_context(9) | NAME rdma_read_gid_hw_context - Read the HW GID context from GID attribute
SYNOPSIS void * rdma_read_gid_hw_context (const struct ib_gid_attr *attr );
ARGUMENTS attr Potinter to the GID attribute
DESCRIPTION rdma_read_gid_hw_context reads the drivers GID HW context corresponding to the SGID attr. Callers are ... |
rdma_read_gid_l2_fields(9) | NAME rdma_read_gid_l2_fields - Read the vlan ID and source MAC address of a GID entry.
SYNOPSIS int rdma_read_gid_l2_fields (const struct ib_gid_attr *attr , u16 *vlan_id , u8 *smac );
ARGUMENTS attr GID attribute pointer whose L2 fields to be read
vlan_id Pointer to vlan id to fill up if the GID e... |
rdma_read_gids(9) | NAME rdma_read_gids - Return the SGID and DGID used for establishing connection. This can be used after rdma_resolve_addr() on client side. This can be use on new connection on server side. This is applicable to IB, RoCE, iWarp. If cm_id is not bound yet to the RDMA device, it doesn't copy and SGID or DGID to the give... |
rdma_reject(9) | NAME rdma_reject - Called to reject a connection request or response.
SYNOPSIS int rdma_reject (struct rdma_cm_id *id , const void *private_data , u8 private_data_len , u8 reason );
ARGUMENTS id -- undescribed --
private_data
-- undescribed --
private_data_len
... |
rdma_reject_msg(9) | NAME rdma_reject_msg - return a pointer to a reject message string.
SYNOPSIS const char * rdma_reject_msg (struct rdma_cm_id *id , int reason );
ARGUMENTS id Communication identifier that received the REJECT event.
reason Value returned in the REJECT event status field.
SEE ALSO Kernel file .... |
rdma_replace_ah_attr(9) | NAME rdma_replace_ah_attr - Replace valid ah_attr with new one.
SYNOPSIS void rdma_replace_ah_attr (struct rdma_ah_attr *old , const struct rdma_ah_attr *new );
ARGUMENTS old Pointer to existing ah_attr which needs to be replaced. old is assumed to be valid or zero'd
new Pointer to the new ah... |
rdma_resolve_addr(9) | NAME rdma_resolve_addr - Resolve destination and optional source addresses from IP addresses to an RDMA address. If successful, the specified rdma_cm_id will be bound to a local device.
SYNOPSIS int rdma_resolve_addr (struct rdma_cm_id *id , struct sockaddr *src_addr , const struct sockaddr *dst_addr , unsigned long t... |
rdma_resolve_ib_service(9) | NAME rdma_resolve_ib_service - Resolve the IB service record of the service with the given service ID or name.
SYNOPSIS int rdma_resolve_ib_service (struct rdma_cm_id *id , struct rdma_ucm_ib_service *ibs );
ARGUMENTS id -- undescribed --
ibs -- undescribed --
DESCRIPTION This function is op... |
rdma_resolve_ip(9) | NAME rdma_resolve_ip - Resolve source and destination IP addresses to RDMA hardware addresses.
SYNOPSIS int rdma_resolve_ip (struct sockaddr *src_addr , const struct sockaddr *dst_addr , struct rdma_dev_addr *addr , unsigned long timeout_ms , void (*callback)(int status, struct sockaddr *src_addr, struct rdma_de... |
rdma_resolve_route(9) | NAME rdma_resolve_route - Resolve the RDMA address bound to the RDMA identifier into route information needed to establish a connection.
SYNOPSIS int rdma_resolve_route (struct rdma_cm_id *id , unsigned long timeout_ms );
ARGUMENTS id -- undescribed --
timeout_ms -- undescribed --
DESCRIPTION This ... |
rdma_restrack_add(9) | NAME rdma_restrack_add - add object to the resource tracking database
SYNOPSIS void rdma_restrack_add (struct rdma_restrack_entry *res );
ARGUMENTS res resource entry
SEE ALSO Kernel file ./drivers/infiniband/core/restrack.c rdma_restrack_init(9), rdma_restrack_clean(9), rdma_restrack_count(9), rdma_re... |
rdma_restrack_attach_task(9) | NAME rdma_restrack_attach_task - attach the task onto this resource, valid for user space restrack entries.
SYNOPSIS void rdma_restrack_attach_task (struct rdma_restrack_entry *res , struct task_struct *task );
ARGUMENTS res resource entry
task the task to attach
SEE ALSO Kernel file ./driver... |
rdma_restrack_clean(9) | NAME rdma_restrack_clean - clean resource tracking
SYNOPSIS void rdma_restrack_clean (struct ib_device *dev );
ARGUMENTS dev IB device
SEE ALSO Kernel file ./drivers/infiniband/core/restrack.c rdma_restrack_init(9), rdma_restrack_count(9), rdma_restrack_attach_task(9), rdma_restrack_set_name(9), rdma_... |
rdma_restrack_count(9) | NAME rdma_restrack_count - the current usage of specific object
SYNOPSIS int rdma_restrack_count (struct ib_device *dev , enum rdma_restrack_type type , bool show_details );
ARGUMENTS dev IB device
type actual type of object to operate
show_details
count driver specif... |
rdma_restrack_del(9) | NAME rdma_restrack_del - delete object from the resource tracking database
SYNOPSIS void rdma_restrack_del (struct rdma_restrack_entry *res );
ARGUMENTS res resource entry
SEE ALSO Kernel file ./drivers/infiniband/core/restrack.c rdma_restrack_init(9), rdma_restrack_clean(9), rdma_restrack_count(9), rd... |
rdma_restrack_get(9) | NAME rdma_restrack_get - grab to protect resource from release
SYNOPSIS int rdma_restrack_get (struct rdma_restrack_entry *res );
ARGUMENTS res resource entry
SEE ALSO Kernel file ./include/rdma/restrack.h enum rdma_restrack_type(9), struct rdma_restrack_entry(9), rdma_is_kernel_res(9), rdma_restrack_put(9),... |
rdma_restrack_get_byid(9) | NAME rdma_restrack_get_byid - translate from ID to restrack object
SYNOPSIS struct rdma_restrack_entry * rdma_restrack_get_byid (struct ib_device *dev , enum rdma_restrack_type type , u32 id );
ARGUMENTS dev IB device
type resource track type
id ID to take a look
RETURN Pointe... |
rdma_restrack_init(9) | NAME rdma_restrack_init - initialize and allocate resource tracking
SYNOPSIS int rdma_restrack_init (struct ib_device *dev );
ARGUMENTS dev IB device
RETURN 0 on success
SEE ALSO Kernel file ./drivers/infiniband/core/restrack.c rdma_restrack_clean(9), rdma_restrack_count(9), rdma_restrack_attach_task(9... |
rdma_restrack_new(9) | NAME rdma_restrack_new - Initializes new restrack entry to allow _put() interface to release memory in fully automatic way.
SYNOPSIS void rdma_restrack_new (struct rdma_restrack_entry *res , enum rdma_restrack_type type );
ARGUMENTS res Entry to initialize
type REstrack type
SEE ALSO Kernel f... |
rdma_restrack_no_track(9) | NAME rdma_restrack_no_track - don't add resource to the DB
SYNOPSIS void rdma_restrack_no_track (struct rdma_restrack_entry *res );
ARGUMENTS res resource entry
DESCRIPTION Every user of this API should be cross examined. Probably you don't need to use this function.
SEE ALSO Kernel file ./include/rdma/res... |
rdma_restrack_parent_name(9) | NAME rdma_restrack_parent_name - set the restrack name properties based on parent restrack
SYNOPSIS void rdma_restrack_parent_name (struct rdma_restrack_entry *dst , const struct rdma_restrack_entry *parent );
ARGUMENTS dst destination resource entry
parent parent resource entry
SEE ALSO Kernel ... |
rdma_restrack_put(9) | NAME rdma_restrack_put - release resource
SYNOPSIS int rdma_restrack_put (struct rdma_restrack_entry *res );
ARGUMENTS res resource entry
SEE ALSO Kernel file ./include/rdma/restrack.h enum rdma_restrack_type(9), struct rdma_restrack_entry(9), rdma_is_kernel_res(9), rdma_restrack_get(9), rdma_restrack_no_tra... |
rdma_restrack_set_name(9) | NAME rdma_restrack_set_name - set the task for this resource
SYNOPSIS void rdma_restrack_set_name (struct rdma_restrack_entry *res , const char *caller );
ARGUMENTS res resource entry
caller kernel name, the current task will be used if the caller is NULL.
SEE ALSO Kernel file ./drivers/infi... |
rdma_restrict_node_type(9) | NAME rdma_restrict_node_type - Restrict an RDMA identifier to specific RDMA device node type.
SYNOPSIS int rdma_restrict_node_type (struct rdma_cm_id *id , u8 node_type );
ARGUMENTS id RDMA identifier.
node_type The device node type. Only RDMA_NODE_UNSPECIFIED (default), RDMA_NODE_RNIC and RDMA_NOD... |
rdma_roce_rescan_device(9) | NAME rdma_roce_rescan_device - Rescan all of the network devices in the system and add their gids, as needed, to the relevant RoCE devices.
SYNOPSIS void rdma_roce_rescan_device (struct ib_device *ibdev );
ARGUMENTS ibdev the rdma device
SEE ALSO Kernel file ./include/rdma/ib_verbs.h struct rdma_stat_d... |
rdma_roce_rescan_port(9) | NAME rdma_roce_rescan_port - Rescan all of the network devices in the system and add their gids if relevant to the port of the RoCE device.
SYNOPSIS void rdma_roce_rescan_port (struct ib_device *ib_dev , u32 port );
ARGUMENTS ib_dev IB device
port Port number
SEE ALSO Kernel file ./drivers/infini... |
rdma_rw_ctx_destroy(9) | NAME rdma_rw_ctx_destroy - release all resources allocated by rdma_rw_ctx_init
SYNOPSIS void rdma_rw_ctx_destroy (struct rdma_rw_ctx *ctx , struct ib_qp *qp , u32 port_num , struct scatterlist *sg , u32 sg_cnt , enum dma_data_direction dir );
ARGUMENTS ctx context to release
qp queue pair to ... |
rdma_rw_ctx_destroy_bvec(9) | NAME rdma_rw_ctx_destroy_bvec - release resources from rdma_rw_ctx_init_bvec
SYNOPSIS void rdma_rw_ctx_destroy_bvec (struct rdma_rw_ctx *ctx , struct ib_qp *qp , u32 __maybe_unused port_num , const struct bio_vec __maybe_unused *bvecs , u32 nr_bvec , enum dma_data_direction dir );
ARGUMENTS ctx context to rel... |
rdma_rw_ctx_destroy_signature(9) | NAME rdma_rw_ctx_destroy_signature - release all resources allocated by rdma_rw_ctx_signature_init
SYNOPSIS void rdma_rw_ctx_destroy_signature (struct rdma_rw_ctx *ctx , struct ib_qp *qp , u32 port_num , struct scatterlist *sg , u32 sg_cnt , struct scatterlist *prot_sg , u32 prot_sg_cnt , enum dma_data_direction dir )... |
rdma_rw_ctx_init(9) | NAME rdma_rw_ctx_init - initialize a RDMA READ/WRITE context
SYNOPSIS int rdma_rw_ctx_init (struct rdma_rw_ctx *ctx , struct ib_qp *qp , u32 port_num , struct scatterlist *sg , u32 sg_cnt , u32 sg_offset , u64 remote_addr , u32 rkey , enum dma_data_direction dir );
ARGUMENTS ctx context to initialize
... |
rdma_rw_ctx_init_bvec(9) | NAME rdma_rw_ctx_init_bvec - initialize a RDMA READ/WRITE context from bio_vec
SYNOPSIS int rdma_rw_ctx_init_bvec (struct rdma_rw_ctx *ctx , struct ib_qp *qp , u32 port_num , const struct bio_vec *bvecs , u32 nr_bvec , struct bvec_iter iter , u64 remote_addr , u32 rkey , enum dma_data_direction dir );
ARGUMENTS ctx ... |
rdma_rw_ctx_post(9) | NAME rdma_rw_ctx_post - post a RDMA READ or RDMA WRITE operation
SYNOPSIS int rdma_rw_ctx_post (struct rdma_rw_ctx *ctx , struct ib_qp *qp , u32 port_num , struct ib_cqe *cqe , struct ib_send_wr *chain_wr );
ARGUMENTS ctx context to operate on
qp queue pair to operate on
port_num p... |
rdma_rw_ctx_signature_init(9) | NAME rdma_rw_ctx_signature_init - initialize a RW context with signature offload
SYNOPSIS int rdma_rw_ctx_signature_init (struct rdma_rw_ctx *ctx , struct ib_qp *qp , u32 port_num , struct scatterlist *sg , u32 sg_cnt , struct scatterlist *prot_sg , u32 prot_sg_cnt , struct ib_sig_attrs *sig_attrs , u64 re‐ mote_ad... |
rdma_rw_ctx_wrs(9) | NAME rdma_rw_ctx_wrs - return chain of WRs for a RDMA READ or WRITE operation
SYNOPSIS struct ib_send_wr * rdma_rw_ctx_wrs (struct rdma_rw_ctx *ctx , struct ib_qp *qp , u32 port_num , struct ib_cqe *cqe , struct ib_send_wr *chain_wr );
ARGUMENTS ctx context to operate on
qp queue pair to oper... |
rdma_rw_max_send_wr(9) | NAME rdma_rw_max_send_wr - compute max Send WRs needed for RDMA R/W contexts
SYNOPSIS unsigned int rdma_rw_max_send_wr (struct ib_device *dev , u32 port_num , unsigned int max_rdma_ctxs , u32 create_flags );
ARGUMENTS dev RDMA device
port_num port number
max_rdma_ctxs
num... |
rdma_rw_mr_factor(9) | NAME rdma_rw_mr_factor - return number of MRs required for a payload
SYNOPSIS unsigned int rdma_rw_mr_factor (struct ib_device *device , u32 port_num , unsigned int maxpages );
ARGUMENTS device device handling the connection
port_num port num to which the connection is bound
maxpages maximu... |
rdma_set_ack_timeout(9) | NAME rdma_set_ack_timeout - Set the ack timeout of QP associated with a connection identifier.
SYNOPSIS int rdma_set_ack_timeout (struct rdma_cm_id *id , u8 timeout );
ARGUMENTS id Communication identifier to associated with service type.
timeout Ack timeout to set a QP, expressed as 4.096 * 2^(t... |
rdma_set_afonly(9) | NAME rdma_set_afonly - Specify that listens are restricted to the bound address family only.
SYNOPSIS int rdma_set_afonly (struct rdma_cm_id *id , int afonly );
ARGUMENTS id Communication identifer to configure.
afonly Value indicating if listens are restricted.
DESCRIPTION Must be set before i... |
rdma_set_cq_moderation(9) | NAME rdma_set_cq_moderation - Modifies moderation params of the CQ
SYNOPSIS int rdma_set_cq_moderation (struct ib_cq *cq , u16 cq_count , u16 cq_period );
ARGUMENTS cq The CQ to modify.
cq_count number of CQEs that will trigger an event
cq_period max period of time in usec before trigger... |
rdma_set_ib_path(9) | NAME rdma_set_ib_path - Manually sets the path record used to establish a connection.
SYNOPSIS int rdma_set_ib_path (struct rdma_cm_id *id , struct sa_path_rec *path_rec );
ARGUMENTS id Connection identifier associated with the request.
path_rec Reference to the path record
DESCRIPTION This call ... |
rdma_set_min_rnr_timer(9) | NAME rdma_set_min_rnr_timer - Set the minimum RNR Retry timer of the QP associated with a connection identifier.
SYNOPSIS int rdma_set_min_rnr_timer (struct rdma_cm_id *id , u8 min_rnr_timer );
ARGUMENTS id Communication identifier to associated with service type.
min_rnr_timer
5-b... |
rdma_set_reuseaddr(9) | NAME rdma_set_reuseaddr - Allow the reuse of local addresses when binding the rdma_cm_id.
SYNOPSIS int rdma_set_reuseaddr (struct rdma_cm_id *id , int reuse );
ARGUMENTS id Communication identifier to configure.
reuse Value indicating if the bound address is reusable.
DESCRIPTION Reuse must be... |
rdma_set_service_type(9) | NAME rdma_set_service_type - Set the type of service associated with a connection identifier.
SYNOPSIS void rdma_set_service_type (struct rdma_cm_id *id , int tos );
ARGUMENTS id Communication identifier to associated with service type.
tos Type of service.
DESCRIPTION The type of service is... |
rdma_start_port(9) | NAME rdma_start_port - Return the first valid port number for the device specified
SYNOPSIS u32 rdma_start_port (const struct ib_device *device );
ARGUMENTS device Device to be checked
DESCRIPTION Return start port number
SEE ALSO Kernel file ./include/rdma/ib_verbs.h struct rdma_stat_desc(9), struct... |
rdma_translate_ip(9) | NAME rdma_translate_ip - Translate a local IP address to an RDMA hardware address.
SYNOPSIS int rdma_translate_ip (const struct sockaddr *addr , struct rdma_dev_addr *dev_addr );
ARGUMENTS addr -- undescribed --
dev_addr -- undescribed --
DESCRIPTION The dev_addr->net field must be initialized.
SE... |
rdma_uattrs_has_raw_cap(9) | NAME rdma_uattrs_has_raw_cap - Returns whether a rdma device linked to the uverbs attributes file has CAP_NET_RAW capability or not.
SYNOPSIS bool rdma_uattrs_has_raw_cap (const struct uverbs_attr_bundle *attrs );
ARGUMENTS attrs Pointer to uverbs attributes
DESCRIPTION Returns true if a rdma device's owning u... |
rdma_umap_priv_init(9) | NAME rdma_umap_priv_init - Initialize the private data of a vma
SYNOPSIS void rdma_umap_priv_init (struct rdma_umap_priv *priv , struct vm_area_struct *vma , struct rdma_user_mmap_entry *entry );
ARGUMENTS priv The already allocated private data
vma The vm area struct that needs private data
... |
rdma_umem_for_each_dma_block(9) | NAME rdma_umem_for_each_dma_block - iterate over contiguous DMA blocks of the umem
SYNOPSIS rdma_umem_for_each_dma_block (umem , biter , pgsz );
ARGUMENTS umem umem to iterate over
biter -- undescribed --
pgsz Page size to split the list into
DESCRIPTION pgsz must be <= PAGE_SI... |
rdma_user_mmap_disassociate(9) | NAME rdma_user_mmap_disassociate - Revoke mmaps for a device
SYNOPSIS void rdma_user_mmap_disassociate (struct ib_device *device );
ARGUMENTS device device to revoke
DESCRIPTION This function should be called by drivers that need to disable mmaps for the device, for instance because it is going to be reset.
SE... |
rdma_user_mmap_entry_get(9) | NAME rdma_user_mmap_entry_get - Get an entry from the mmap_xa
SYNOPSIS struct rdma_user_mmap_entry * rdma_user_mmap_entry_get (struct ib_ucontext *ucontext , struct vm_area_struct *vma );
ARGUMENTS ucontext associated user context
vma the vma being mmap'd into
DESCRIPTION This function is like rdm... |
rdma_user_mmap_entry_get_pgoff(9) | NAME rdma_user_mmap_entry_get_pgoff - Get an entry from the mmap_xa
SYNOPSIS struct rdma_user_mmap_entry * rdma_user_mmap_entry_get_pgoff (struct ib_ucontext *ucontext , unsigned long pgoff );
ARGUMENTS ucontext associated user context
pgoff The mmap offset >> PAGE_SHIFT
DESCRIPTION This function is... |
rdma_user_mmap_entry_insert(9) | NAME rdma_user_mmap_entry_insert - Insert an entry to the mmap_xa.
SYNOPSIS int rdma_user_mmap_entry_insert (struct ib_ucontext *ucontext , struct rdma_user_mmap_entry *entry , size_t length );
ARGUMENTS ucontext associated user context.
entry the entry to insert into the mmap_xa
length ... |
rdma_user_mmap_entry_insert_range(9) | NAME rdma_user_mmap_entry_insert_range - Insert an entry to the mmap_xa in a given range.
SYNOPSIS int rdma_user_mmap_entry_insert_range (struct ib_ucontext *ucontext , struct rdma_user_mmap_entry *entry , size_t length , u32 min_pgoff , u32 max_pgoff );
ARGUMENTS ucontext associated user context.
entry ... |
rdma_user_mmap_entry_put(9) | NAME rdma_user_mmap_entry_put - Drop reference to the mmap entry
SYNOPSIS void rdma_user_mmap_entry_put (struct rdma_user_mmap_entry *entry );
ARGUMENTS entry an entry in the mmap_xa
DESCRIPTION This function is called when the mapping is closed if it was an io mapping or when the driver is done with the... |
rdma_user_mmap_entry_remove(9) | NAME rdma_user_mmap_entry_remove - Drop reference to entry and mark it as unmmapable
SYNOPSIS void rdma_user_mmap_entry_remove (struct rdma_user_mmap_entry *entry );
ARGUMENTS entry the entry to insert into the mmap_xa
DESCRIPTION Drivers can call this to prevent userspace from creating more mappings for entry... |
rdma_user_mmap_io(9) | NAME rdma_user_mmap_io - Map IO memory into a process
SYNOPSIS int rdma_user_mmap_io (struct ib_ucontext *ucontext , struct vm_area_struct *vma , unsigned long pfn , unsigned long size , pgprot_t prot , struct rdma_user_mmap_entry *entry );
ARGUMENTS ucontext associated user context
vma the vma rel... |
rdmacg_css_offline(9) | NAME rdmacg_css_offline - cgroup css_offline callback
SYNOPSIS void rdmacg_css_offline (struct cgroup_subsys_state *css );
ARGUMENTS css css of interest
DESCRIPTION This function is called when css is about to go away and responsible for shooting down all rdmacg associated with css. As part of that it mar... |
rdmacg_register_device(9) | NAME rdmacg_register_device - register rdmacg device to rdma controller.
SYNOPSIS void rdmacg_register_device (struct rdmacg_device *device );
ARGUMENTS device pointer to rdmacg device whose resources need to be accounted.
DESCRIPTION If IB stack wish a device to participate in rdma cgroup resource tracking, it... |
rdmacg_try_charge(9) | NAME rdmacg_try_charge - hierarchically try to charge the rdma resource
SYNOPSIS int rdmacg_try_charge (struct rdma_cgroup **rdmacg , struct rdmacg_device *device , enum rdmacg_resource_type index );
ARGUMENTS rdmacg pointer to rdma cgroup which will own this resource
device pointer to rdmacg device... |
rdmacg_uncharge(9) | NAME rdmacg_uncharge - hierarchically uncharge rdma resource count
SYNOPSIS void rdmacg_uncharge (struct rdma_cgroup *cg , struct rdmacg_device *device , enum rdmacg_resource_type index );
ARGUMENTS cg pointer to cg to uncharge and all parents in hierarchy
device pointer to rdmacg device
... |
rdmacg_uncharge_hierarchy(9) | NAME rdmacg_uncharge_hierarchy - hierarchically uncharge rdma resource count
SYNOPSIS void rdmacg_uncharge_hierarchy (struct rdma_cgroup *cg , struct rdmacg_device *device , struct rdma_cgroup *stop_cg , enum rdmacg_resource_type index );
ARGUMENTS cg pointer to cg to uncharge and all parents in hierarchy
... |
rdmacg_unregister_device(9) | NAME rdmacg_unregister_device - unregister rdmacg device from rdma controller.
SYNOPSIS void rdmacg_unregister_device (struct rdmacg_device *device );
ARGUMENTS device pointer to rdmacg device which was previously registered with rdma controller using rdmacg_register_device.
DESCRIPTION IB stack must invoke thi... |
rds_page_remainder_alloc(9) | NAME rds_page_remainder_alloc - build up regions of a message.
SYNOPSIS int rds_page_remainder_alloc (struct scatterlist *scat , unsigned long bytes , gfp_t gfp );
ARGUMENTS scat Scatter list for message
bytes the number of bytes needed.
gfp the waiting behaviour of the allocation... |
rdtgroup_cbm_overlaps(9) | NAME rdtgroup_cbm_overlaps - Does CBM overlap with other use of hardware
SYNOPSIS bool rdtgroup_cbm_overlaps (struct resctrl_schema *s , struct rdt_ctrl_domain *d , unsigned long cbm , int closid , bool exclusive );
ARGUMENTS s Schema for the resource to which domain instance d belongs.
d ... |
rdtgroup_cbm_overlaps_pseudo_locked(9) | NAME rdtgroup_cbm_overlaps_pseudo_locked - Test if CBM or portion is pseudo-locked
SYNOPSIS bool rdtgroup_cbm_overlaps_pseudo_locked (struct rdt_ctrl_domain *d , unsigned long cbm );
ARGUMENTS d RDT domain
cbm CBM to test
DESCRIPTION d represents a cache instance and cbm a capacity bitmask... |
rdtgroup_cbm_to_size(9) | NAME rdtgroup_cbm_to_size - Translate CBM to size in bytes
SYNOPSIS unsigned int rdtgroup_cbm_to_size (struct rdt_resource *r , struct rdt_ctrl_domain *d , unsigned long cbm );
ARGUMENTS r RDT resource to which d belongs.
d RDT domain instance.
cbm bitmask for which the siz... |
rdtgroup_kn_mode_restore(9) | NAME rdtgroup_kn_mode_restore - Restore user access to named resctrl file
SYNOPSIS int rdtgroup_kn_mode_restore (struct rdtgroup *r , const char *name , umode_t mask );
ARGUMENTS r The resource group with which the file is associated.
name Name of the file
mask Mask of permissi... |
rdtgroup_kn_mode_restrict(9) | NAME rdtgroup_kn_mode_restrict - Restrict user access to named resctrl file
SYNOPSIS int rdtgroup_kn_mode_restrict (struct rdtgroup *r , const char *name );
ARGUMENTS r The resource group with which the file is associated.
name Name of the file
DESCRIPTION The permissions of named resctrl fi... |
rdtgroup_locksetup_enter(9) | NAME rdtgroup_locksetup_enter - Resource group enters locksetup mode
SYNOPSIS int rdtgroup_locksetup_enter (struct rdtgroup *rdtgrp );
ARGUMENTS rdtgrp resource group requested to enter locksetup mode
DESCRIPTION A resource group enters locksetup mode to reflect that it would be used to represent a pseudo-loc... |
rdtgroup_locksetup_exit(9) | NAME rdtgroup_locksetup_exit - resource group exist locksetup mode
SYNOPSIS int rdtgroup_locksetup_exit (struct rdtgroup *rdtgrp );
ARGUMENTS rdtgrp resource group
DESCRIPTION When a resource group exits locksetup mode the earlier restrictions are lifted.
RETURN 0 on success, <0 on failure
SEE ALSO Kernel fi... |
rdtgroup_locksetup_user_restore(9) | NAME rdtgroup_locksetup_user_restore - Restore user access to group
SYNOPSIS int rdtgroup_locksetup_user_restore (struct rdtgroup *rdtgrp );
ARGUMENTS rdtgrp resource group needing access restored
DESCRIPTION Restore all file access previously removed using rdtgroup_locksetup_user_restrict
RETURN 0 on success,... |
rdtgroup_locksetup_user_restrict(9) | NAME rdtgroup_locksetup_user_restrict - Restrict user access to group
SYNOPSIS int rdtgroup_locksetup_user_restrict (struct rdtgroup *rdtgrp );
ARGUMENTS rdtgrp resource group needing access restricted
DESCRIPTION A resource group used for cache pseudo-locking cannot have cpus or tasks assigned to it. This is c... |
rdtgroup_mode_by_closid(9) | NAME rdtgroup_mode_by_closid - Return mode of resource group with closid
SYNOPSIS enum rdtgrp_mode rdtgroup_mode_by_closid (int closid );
ARGUMENTS closid closid if the resource group
DESCRIPTION Each resource group is associated with a closid. Here the mode of a resource group can be queried by searching for i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.