id
stringlengths
4
63
text
stringlengths
153
8.81M
rvt_qp_sends_has_lkey(9)
NAME rvt_qp_sends_has_lkey - return true is qp sends use lkey SYNOPSIS bool rvt_qp_sends_has_lkey (struct rvt_qp *qp , u32 lkey ); ARGUMENTS qp the rvt_qp lkey the lkey SEE ALSO Kernel file ./drivers/infiniband/sw/rdmavt/qp.c init_qpn_table(9), free_qpn_table(9), rvt_driver_qp_init(9)...
rvt_qp_swqe_incr(9)
NAME rvt_qp_swqe_incr - increment ring index SYNOPSIS u32 rvt_qp_swqe_incr (struct rvt_qp *qp , u32 val ); ARGUMENTS qp the qp val the starting value RETURN the new value wrapping as appropriate SEE ALSO Kernel file ./include/rdma/rdmavt_qp.h struct rvt_ud_wr(9), struct rvt_krwq(9), rvt...
rvt_qp_valid_operation(9)
NAME rvt_qp_valid_operation - validate post send wr request SYNOPSIS int rvt_qp_valid_operation (struct rvt_qp *qp , const struct rvt_operation_params *post_parms , const struct ib_send_wr *wr ); ARGUMENTS qp the qp post_parms the post send table for the driver wr the work request ...
rvt_qp_wqe_reserve(9)
NAME rvt_qp_wqe_reserve - reserve operation SYNOPSIS void rvt_qp_wqe_reserve (struct rvt_qp *qp , struct rvt_swqe *wqe ); ARGUMENTS qp the rvt qp wqe the send wqe DESCRIPTION This routine used in post send to record a wqe relative reserved operation use. SEE ALSO Kernel file ./include/rdm...
rvt_qp_wqe_unreserve(9)
NAME rvt_qp_wqe_unreserve - clean reserved operation SYNOPSIS void rvt_qp_wqe_unreserve (struct rvt_qp *qp , int flags ); ARGUMENTS qp the rvt qp flags send wqe flags DESCRIPTION This decrements the reserve use count. This call MUST precede the change to s_last to insure that post send sees ...
rvt_query_ah(9)
NAME rvt_query_ah - return attrs for ah SYNOPSIS int rvt_query_ah (struct ib_ah *ibah , struct rdma_ah_attr *ah_attr ); ARGUMENTS ibah address handle to query ah_attr return info in this RETURN always 0 SEE ALSO Kernel file ./drivers/infiniband/sw/rdmavt/ah.c rvt_check_ah(9), rvt_create_ah(9), rv...
rvt_query_gid(9)
NAME rvt_query_gid - Return a gid from the table SYNOPSIS int rvt_query_gid (struct ib_device *ibdev , u32 port_num , int guid_index , union ib_gid *gid ); ARGUMENTS ibdev Verbs IB dev port_num Port number, 1 based from ib core guid_index Index in table gid Gid to return RET...
rvt_query_pkey(9)
NAME rvt_query_pkey - Return a pkey from the table at a given index SYNOPSIS int rvt_query_pkey (struct ib_device *ibdev , u32 port_num , u16 index , u16 *pkey ); ARGUMENTS ibdev Verbs IB dev port_num Port number, 1 based from ib core index Index into pkey table pkey retu...
rvt_query_port(9)
NAME rvt_query_port - Passes the query port call to the driver SYNOPSIS int rvt_query_port (struct ib_device *ibdev , u32 port_num , struct ib_port_attr *props ); ARGUMENTS ibdev Verbs IB dev port_num port number, 1 based from ib core props structure to hold returned properties RETURN ...
rvt_query_qp(9)
NAME rvt_query_qp - query an ipbq SYNOPSIS int rvt_query_qp (struct ib_qp *ibqp , struct ib_qp_attr *attr , int attr_mask , struct ib_qp_init_attr *init_attr ); ARGUMENTS ibqp IB qp to query attr attr struct to fill in attr_mask attr mask ignored init_attr struct to fill in ...
rvt_query_srq(9)
NAME rvt_query_srq - query srq data SYNOPSIS int rvt_query_srq (struct ib_srq *ibsrq , struct ib_srq_attr *attr ); ARGUMENTS ibsrq srq to query attr return info in attr RETURN always 0 SEE ALSO Kernel file ./drivers/infiniband/sw/rdmavt/srq.c rvt_driver_srq_init(9), rvt_create_srq(9), rvt_modif...
rvt_rc_credit_avail(9)
NAME rvt_rc_credit_avail - Check if there are enough RC credits for the request SYNOPSIS bool rvt_rc_credit_avail (struct rvt_qp *qp , struct rvt_swqe *wqe ); ARGUMENTS qp the qp wqe the request DESCRIPTION This function returns false when there are not enough credits for the given request a...
rvt_recv_cq(9)
NAME rvt_recv_cq - add a new entry to completion queue by receive queue SYNOPSIS void rvt_recv_cq (struct rvt_qp *qp , struct ib_wc *wc , bool solicited ); ARGUMENTS qp receive queue wc work completion entry to add solicited true if entry is solicited DESCRIPTION This is wrapper f...
rvt_reg_user_mr(9)
NAME rvt_reg_user_mr - register a userspace memory region SYNOPSIS struct ib_mr * rvt_reg_user_mr (struct ib_pd *pd , u64 start , u64 length , u64 virt_addr , int mr_access_flags , struct ib_dmah *dmah , struct ib_udata *udata ); ARGUMENTS pd protection domain for this memory region start start...
rvt_register_device(9)
NAME rvt_register_device - register a driver SYNOPSIS int rvt_register_device (struct rvt_dev_info *rdi ); ARGUMENTS rdi main dev structure for all of rdmavt operations DESCRIPTION It is up to drivers to allocate the rdi and fill in the appropriate information. RETURN 0 on success otherwise an errno. SEE A...
rvt_release_mmap_info(9)
NAME rvt_release_mmap_info - free mmap info structure SYNOPSIS void rvt_release_mmap_info (struct kref *ref ); ARGUMENTS ref a pointer to the kref within struct rvt_mmap_info SEE ALSO Kernel file ./drivers/infiniband/sw/rdmavt/mmap.c rvt_mmap_init(9), rvt_mmap(9), rvt_create_mmap_info(9), rvt_update_mmap_inf...
rvt_remove_qp(9)
NAME rvt_remove_qp - remove qp form table SYNOPSIS void rvt_remove_qp (struct rvt_dev_info *rdi , struct rvt_qp *qp ); ARGUMENTS rdi rvt dev struct qp qp to remove DESCRIPTION Remove the QP from the table so it can't be found asynchronously by the receive routine. SEE ALSO Kernel file ...
rvt_req_notify_cq(9)
NAME rvt_req_notify_cq - change the notification type for a completion queue SYNOPSIS int rvt_req_notify_cq (struct ib_cq *ibcq , enum ib_cq_notify_flags notify_flags ); ARGUMENTS ibcq the completion queue notify_flags the type of notification to request DESCRIPTION This may be call...
rvt_reset_qp(9)
NAME rvt_reset_qp - initialize the QP state to the reset state SYNOPSIS void rvt_reset_qp (struct rvt_dev_info *rdi , struct rvt_qp *qp , enum ib_qp_type type ); ARGUMENTS rdi the device info qp the QP to reset type the QP type DESCRIPTION This is the wrapper function to acqui...
rvt_restart_sge(9)
NAME rvt_restart_sge - rewind the sge state for a wqe SYNOPSIS u32 rvt_restart_sge (struct rvt_sge_state *ss , struct rvt_swqe *wqe , u32 len ); ARGUMENTS ss the sge state pointer wqe the wqe to rewind len the data length from the start of the wqe in bytes DESCRIPTION Returns...
rvt_rkey_ok(9)
NAME rvt_rkey_ok - check the IB virtual address, length, and RKEY SYNOPSIS int rvt_rkey_ok (struct rvt_qp *qp , struct rvt_sge *sge , u32 len , u64 vaddr , u32 rkey , int acc ); ARGUMENTS qp qp for validation sge SGE state len length of data vaddr virtual address...
rvt_ruc_loopback(9)
NAME rvt_ruc_loopback - handle UC and RC loopback requests SYNOPSIS void rvt_ruc_loopback (struct rvt_qp *sqp ); ARGUMENTS sqp the sending QP DESCRIPTION This is called from rvt_do_send to forward a WQE addressed to the same HFI Note that although we are single threaded due to the send engine, we still ha...
rvt_send_cq(9)
NAME rvt_send_cq - add a new entry to completion queue by send queue SYNOPSIS void rvt_send_cq (struct rvt_qp *qp , struct ib_wc *wc , bool solicited ); ARGUMENTS qp send queue wc work completion entry to add solicited true if entry is solicited DESCRIPTION This is wrapper functio...
rvt_set_ibdev_name(9)
NAME rvt_set_ibdev_name - Craft an IB device name from client info SYNOPSIS void rvt_set_ibdev_name (struct rvt_dev_info *rdi , const char *fmt , const char *name , const int unit ); ARGUMENTS rdi pointer to the client rvt_dev_info structure fmt -- undescribed -- name client spe...
rvt_set_page(9)
NAME rvt_set_page - page assignment function called by ib_sg_to_pages SYNOPSIS int rvt_set_page (struct ib_mr *ibmr , u64 addr ); ARGUMENTS ibmr memory region addr dma address of mapped page RETURN 0 on success SEE ALSO Kernel file ./drivers/infiniband/sw/rdmavt/mr.c rvt_driver_mr_init(9), ...
rvt_sge_adjacent(9)
NAME rvt_sge_adjacent - is isge compressible SYNOPSIS bool rvt_sge_adjacent (struct rvt_sge *last_sge , struct ib_sge *sge ); ARGUMENTS last_sge last outgoing SGE written sge SGE to check DESCRIPTION If adjacent will update last_sge to add length. RETURN true if isge is adjacent to last sge SEE ...
rvt_ss_has_lkey(9)
NAME rvt_ss_has_lkey - is mr in sge tests SYNOPSIS bool rvt_ss_has_lkey (struct rvt_sge_state *ss , u32 lkey ); ARGUMENTS ss the sge state lkey the lkey DESCRIPTION This code tests for an MR in the indicated sge state. SEE ALSO Kernel file ./drivers/infiniband/sw/rdmavt/mr.c rvt_driver_mr...
rvt_stop_rc_timers(9)
NAME rvt_stop_rc_timers - stop all timers SYNOPSIS void rvt_stop_rc_timers (struct rvt_qp *qp ); ARGUMENTS qp the QP stop any pending timers SEE ALSO Kernel file ./drivers/infiniband/sw/rdmavt/qp.c init_qpn_table(9), free_qpn_table(9), rvt_driver_qp_init(9), rvt_free_qp_cb(9), rvt_free_all_qp...
rvt_stop_rnr_timer(9)
NAME rvt_stop_rnr_timer - stop an rnr timer SYNOPSIS void rvt_stop_rnr_timer (struct rvt_qp *qp ); ARGUMENTS qp the QP DESCRIPTION stop an rnr timer and return if the timer had been pending. SEE ALSO Kernel file ./drivers/infiniband/sw/rdmavt/qp.c init_qpn_table(9), free_qpn_table(9), rvt_driver...
rvt_swqe_has_lkey(9)
NAME rvt_swqe_has_lkey - return true if lkey is used by swqe SYNOPSIS bool rvt_swqe_has_lkey (struct rvt_swqe *wqe , u32 lkey ); ARGUMENTS wqe the send wqe lkey the lkey DESCRIPTION Test the swqe for using lkey SEE ALSO Kernel file ./drivers/infiniband/sw/rdmavt/qp.c init_qpn_table(9),...
rvt_timeout_to_jiffies(9)
NAME rvt_timeout_to_jiffies - Convert a ULP timeout input into jiffies SYNOPSIS unsigned long rvt_timeout_to_jiffies (u8 timeout ); ARGUMENTS timeout timeout input(0 - 31). DESCRIPTION Return a timeout value in jiffies. SEE ALSO Kernel file ./include/rdma/rdmavt_qp.h struct rvt_ud_wr(9), struct rvt_krwq(9),...
rvt_to_iport(9)
NAME rvt_to_iport - Get the ibport pointer SYNOPSIS struct rvt_ibport * rvt_to_iport (struct rvt_qp *qp ); ARGUMENTS qp the qp pointer DESCRIPTION This function returns the ibport pointer from the qp pointer. SEE ALSO Kernel file ./include/rdma/rdmavt_qp.h struct rvt_ud_wr(9), struct rvt_krwq(9), rvt_g...
rvt_unregister_device(9)
NAME rvt_unregister_device - remove a driver SYNOPSIS void rvt_unregister_device (struct rvt_dev_info *rdi ); ARGUMENTS rdi rvt dev struct SEE ALSO Kernel file ./drivers/infiniband/sw/rdmavt/vt.c rvt_alloc_device(9), rvt_dealloc_device(9), rvt_query_port(9), rvt_modify_port(9), rvt_query_pkey(9), rvt_q...
rvt_update_mmap_info(9)
NAME rvt_update_mmap_info - update a mem map SYNOPSIS void rvt_update_mmap_info (struct rvt_dev_info *rdi , struct rvt_mmap_info *ip , u32 size , void *obj ); ARGUMENTS rdi rvt dev struct ip mmap info pointer size size to grow by obj opaque pointer to cq, wq, et...
rvu_exact_calculate_hash(9)
NAME rvu_exact_calculate_hash - calculate hash index to mem table. SYNOPSIS u32 rvu_exact_calculate_hash (struct rvu *rvu , u16 chan , u16 ctype , u8 *mac , u64 mask , u32 table_depth ); ARGUMENTS rvu resource virtualization unit. chan Channel number ctype Channel type. ma...
rvu_exact_config_result_ctrl(9)
NAME rvu_exact_config_result_ctrl - Set exact table hash control SYNOPSIS void rvu_exact_config_result_ctrl (struct rvu *rvu , uint32_t depth ); ARGUMENTS rvu Resource virtualization unit. depth Depth of Exact match table. DESCRIPTION Sets mask and offset for hash for mem table. SEE ALSO Kerne...
rvu_exact_config_search_key(9)
NAME rvu_exact_config_search_key - Configure search key SYNOPSIS void rvu_exact_config_search_key (struct rvu *rvu ); ARGUMENTS rvu Resource virtualization unit. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c rvu_exact_prepare_mdata(9), rvu_exact_calculate_hash(9), rvu_npc_e...
rvu_exact_config_secret_key(9)
NAME rvu_exact_config_secret_key - Configure secret key. SYNOPSIS void rvu_exact_config_secret_key (struct rvu *rvu ); ARGUMENTS rvu Resource virtualization unit. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c rvu_exact_prepare_mdata(9), rvu_exact_calculate_hash(9), rvu_npc_...
rvu_exact_config_table_mask(9)
NAME rvu_exact_config_table_mask - Set exact table mask. SYNOPSIS void rvu_exact_config_table_mask (struct rvu *rvu ); ARGUMENTS rvu Resource virtualization unit. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c rvu_exact_prepare_mdata(9), rvu_exact_calculate_hash(9), rvu_npc_...
rvu_exact_prepare_mdata(9)
NAME rvu_exact_prepare_mdata - Make mdata for mcam entry SYNOPSIS u64 rvu_exact_prepare_mdata (u8 *mac , u16 chan , u16 ctype , u64 mask ); ARGUMENTS mac MAC address chan Channel number. ctype Channel Type. mask LDATA mask. RETURN Meta data SEE ALSO Kernel file ....
rvu_exact_prepare_table_entry(9)
NAME rvu_exact_prepare_table_entry - Data for exact match table entry. SYNOPSIS u64 rvu_exact_prepare_table_entry (struct rvu *rvu , bool enable , u8 ctype , u16 chan , u8 *mac_addr ); ARGUMENTS rvu Resource virtualization unit. enable Enable/Disable entry ctype Software defined cha...
rvu_npc_exact_add_table_entry(9)
NAME rvu_npc_exact_add_table_entry - Adds a table entry SYNOPSIS int rvu_npc_exact_add_table_entry (struct rvu *rvu , u8 cgx_id , u8 lmac_id , u8 *mac , u16 chan , u8 ctype , u32 *seq_id , bool cmd , u32 mcam_idx , u16 pcifunc ); ARGUMENTS rvu resource virtualization unit. cgx_id cgx identifier. ...
rvu_npc_exact_add_to_list(9)
NAME rvu_npc_exact_add_to_list - Add entry to list SYNOPSIS int rvu_npc_exact_add_to_list (struct rvu *rvu , enum npc_exact_opc_type opc_type , u8 ways , u32 index , u8 cgx_id , u8 lmac_id , u8 *mac_addr , u16 chan , u8 ctype , u32 *seq_id , bool cmd , u32 mcam_idx , u16 pcifunc ); ARGUMENTS rvu resource vi...
rvu_npc_exact_alloc_cam_table_entry(9)
NAME rvu_npc_exact_alloc_cam_table_entry - find free slot in fully associative table. SYNOPSIS int rvu_npc_exact_alloc_cam_table_entry (struct rvu *rvu , int *index ); ARGUMENTS rvu resource virtualization unit. index Index to exact CAM table. RETURN 0 upon success; else error number. SEE ALSO...
rvu_npc_exact_alloc_id(9)
NAME rvu_npc_exact_alloc_id - Alloc seq id from bitmap. SYNOPSIS bool rvu_npc_exact_alloc_id (struct rvu *rvu , u32 *seq_id ); ARGUMENTS rvu Resource virtualization unit. seq_id Sequence identifier. RETURN True or false. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_h...
rvu_npc_exact_alloc_mem_table_entry(9)
NAME rvu_npc_exact_alloc_mem_table_entry - find free entry in 4 way table. SYNOPSIS int rvu_npc_exact_alloc_mem_table_entry (struct rvu *rvu , u8 *way , u32 *index , unsigned int hash ); ARGUMENTS rvu resource virtualization unit. way Indicate way to table. index Hash index to 4 ...
rvu_npc_exact_alloc_table_entry(9)
NAME rvu_npc_exact_alloc_table_entry - Allociate an entry SYNOPSIS int rvu_npc_exact_alloc_table_entry (struct rvu *rvu , char *mac , u16 chan , u8 ctype , u32 *index , u8 *ways , enum npc_exact_opc_type *opc_type ); ARGUMENTS rvu resource virtualization unit. mac MAC address. chan ...
rvu_npc_exact_calc_drop_rule_chan_and_mask(9)
NAME rvu_npc_exact_calc_drop_rule_chan_and_mask - Calculate Channel number and mask. SYNOPSIS bool rvu_npc_exact_calc_drop_rule_chan_and_mask (struct rvu *rvu , u8 intf_type , u8 cgx_id , u8 lmac_id , u64 *val , u64 *mask ); ARGUMENTS rvu resource virtualization unit. intf_type Interface type (SDK, ...
rvu_npc_exact_cam_table_write(9)
NAME rvu_npc_exact_cam_table_write - Wrapper for register write SYNOPSIS void rvu_npc_exact_cam_table_write (struct rvu *rvu , int blkaddr , u32 index , u64 mdata ); ARGUMENTS rvu resource virtualization unit. blkaddr Block address index Index in MEM mdata Meta data to ...
rvu_npc_exact_can_disable_feature(9)
NAME rvu_npc_exact_can_disable_feature - Check if feature can be disabled. SYNOPSIS bool rvu_npc_exact_can_disable_feature (struct rvu *rvu ); ARGUMENTS rvu resource virtualization unit. RETURN True if exact match feature is supported. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeontx2/af/rvu_np...
rvu_npc_exact_dealloc_table_entry(9)
NAME rvu_npc_exact_dealloc_table_entry - dealloc table entry SYNOPSIS int rvu_npc_exact_dealloc_table_entry (struct rvu *rvu , enum npc_exact_opc_type opc_type , u8 ways , u32 index ); ARGUMENTS rvu resource virtualization unit. opc_type OPCODE for selection of table(MEM or CAM) ways ...
rvu_npc_exact_del_table_entry_by_id(9)
NAME rvu_npc_exact_del_table_entry_by_id - Delete and free table entry. SYNOPSIS int rvu_npc_exact_del_table_entry_by_id (struct rvu *rvu , u32 seq_id ); ARGUMENTS rvu resource virtualization unit. seq_id Sequence identifier of the entry. DESCRIPTION Deletes entry from linked lists and free up s...
rvu_npc_exact_disable_feature(9)
NAME rvu_npc_exact_disable_feature - Disable feature. SYNOPSIS void rvu_npc_exact_disable_feature (struct rvu *rvu ); ARGUMENTS rvu resource virtualization unit. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c rvu_exact_prepare_mdata(9), rvu_exact_calculate_hash(9), rvu_npc_e...
rvu_npc_exact_drop_rule_to_pcifunc(9)
NAME rvu_npc_exact_drop_rule_to_pcifunc - Retrieve pcifunc SYNOPSIS u16 rvu_npc_exact_drop_rule_to_pcifunc (struct rvu *rvu , u32 drop_rule_idx ); ARGUMENTS rvu resource virtualization unit. drop_rule_idx Drop rule index in NPC mcam. DESCRIPTION Debugfs (exact_drop_cnt) entry displ...
rvu_npc_exact_free_id(9)
NAME rvu_npc_exact_free_id - Free seq id from bitmat. SYNOPSIS void rvu_npc_exact_free_id (struct rvu *rvu , u32 seq_id ); ARGUMENTS rvu Resource virtualization unit. seq_id Sequence identifier to be freed. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c rvu_...
rvu_npc_exact_get_drop_rule_info(9)
NAME rvu_npc_exact_get_drop_rule_info - Get drop rule information. SYNOPSIS bool rvu_npc_exact_get_drop_rule_info (struct rvu *rvu , u8 intf_type , u8 cgx_id , u8 lmac_id , u32 *drop_mcam_idx , u64 *val , u64 *mask , u16 *pcifunc ); ARGUMENTS rvu resource virtualization unit. intf_type Interface typ...
rvu_npc_exact_get_max_entries(9)
NAME rvu_npc_exact_get_max_entries - Get total number of entries in table. SYNOPSIS u32 rvu_npc_exact_get_max_entries (struct rvu *rvu ); ARGUMENTS rvu resource virtualization unit. RETURN Maximum table entries possible. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c rvu_ex...
rvu_npc_exact_has_match_table(9)
NAME rvu_npc_exact_has_match_table - Checks support for exact match. SYNOPSIS bool rvu_npc_exact_has_match_table (struct rvu *rvu ); ARGUMENTS rvu resource virtualization unit. RETURN True if exact match table is supported/enabled. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_ha...
rvu_npc_exact_init(9)
NAME rvu_npc_exact_init - initialize exact match table SYNOPSIS int rvu_npc_exact_init (struct rvu *rvu ); ARGUMENTS rvu resource virtualization unit. DESCRIPTION Initialize HW and SW resources to manage 4way-2K table and fully associative 32-entry mcam table. RETURN 0 upon success. SEE ALSO Kernel file ....
rvu_npc_exact_mac_addr_add(9)
NAME rvu_npc_exact_mac_addr_add - Adds MAC address to exact match table. SYNOPSIS int rvu_npc_exact_mac_addr_add (struct rvu *rvu , struct cgx_mac_addr_add_req *req , struct cgx_mac_addr_add_rsp *rsp ); ARGUMENTS rvu resource virtualization unit. req Add request. rsp Add respon...
rvu_npc_exact_mac_addr_del(9)
NAME rvu_npc_exact_mac_addr_del - Delete DMAC filter SYNOPSIS int rvu_npc_exact_mac_addr_del (struct rvu *rvu , struct cgx_mac_addr_del_req *req , struct msg_rsp *rsp ); ARGUMENTS rvu resource virtualization unit. req Delete request. rsp Delete response. RETURN 0 upon success ...
rvu_npc_exact_mac_addr_reset(9)
NAME rvu_npc_exact_mac_addr_reset - Delete PF mac address. SYNOPSIS int rvu_npc_exact_mac_addr_reset (struct rvu *rvu , struct cgx_mac_addr_reset_req *req , struct msg_rsp *rsp ); ARGUMENTS rvu resource virtualization unit. req Reset request rsp Reset response. RETURN 0 upon s...
rvu_npc_exact_mac_addr_set(9)
NAME rvu_npc_exact_mac_addr_set - Add PF mac address to dmac filter. SYNOPSIS int rvu_npc_exact_mac_addr_set (struct rvu *rvu , struct cgx_mac_addr_set_or_get *req , struct cgx_mac_addr_set_or_get *rsp ); ARGUMENTS rvu resource virtualization unit. req Set request. rsp Set resp...
rvu_npc_exact_mac_addr_update(9)
NAME rvu_npc_exact_mac_addr_update - Update mac address field with new value. SYNOPSIS int rvu_npc_exact_mac_addr_update (struct rvu *rvu , struct cgx_mac_addr_update_req *req , struct cgx_mac_addr_update_rsp *rsp ); ARGUMENTS rvu resource virtualization unit. req Update request. rsp ...
rvu_npc_exact_mem_table_write(9)
NAME rvu_npc_exact_mem_table_write - Wrapper for register write SYNOPSIS void rvu_npc_exact_mem_table_write (struct rvu *rvu , int blkaddr , u8 ways , u32 index , u64 mdata ); ARGUMENTS rvu resource virtualization unit. blkaddr Block address ways ways for MEM table. index ...
rvu_npc_exact_promisc_disable(9)
NAME rvu_npc_exact_promisc_disable - Disable promiscuous mode. SYNOPSIS int rvu_npc_exact_promisc_disable (struct rvu *rvu , u16 pcifunc ); ARGUMENTS rvu resource virtualization unit. pcifunc pcifunc DESCRIPTION Drop rule is against each PF. We dont support DMAC filter for VF. RETURN 0 upon succ...
rvu_npc_exact_promisc_enable(9)
NAME rvu_npc_exact_promisc_enable - Enable promiscuous mode. SYNOPSIS int rvu_npc_exact_promisc_enable (struct rvu *rvu , u16 pcifunc ); ARGUMENTS rvu resource virtualization unit. pcifunc pcifunc. RETURN 0 upon success SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_ha...
rvu_npc_exact_reset(9)
NAME rvu_npc_exact_reset - Delete and free all entry which match pcifunc. SYNOPSIS void rvu_npc_exact_reset (struct rvu *rvu , u16 pcifunc ); ARGUMENTS rvu resource virtualization unit. pcifunc PCI func to match. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c rvu...
rvu_npc_exact_save_drop_rule_chan_and_mask(9)
NAME rvu_npc_exact_save_drop_rule_chan_and_mask - Save drop rules info in data base. SYNOPSIS bool rvu_npc_exact_save_drop_rule_chan_and_mask (struct rvu *rvu , int drop_mcam_idx , u64 chan_val , u64 chan_mask , u16 pcifunc ); ARGUMENTS rvu resource virtualization unit. drop_mcam_idx ...
rvu_npc_exact_update_table_entry(9)
NAME rvu_npc_exact_update_table_entry - Update exact match table. SYNOPSIS int rvu_npc_exact_update_table_entry (struct rvu *rvu , u8 cgx_id , u8 lmac_id , u8 *old_mac , u8 *new_mac , u32 *seq_id ); ARGUMENTS rvu resource virtualization unit. cgx_id CGX identifier. lmac_id LMAC identi...
rwarray.3am(3)
NAME writea, reada, writeall, readall - write and read gawk arrays to/from files SYNOPSIS @load "rwarray" ret = writea(file, array) ret = reada(file, array) ret = writeall(file) ret = readall(file) DESCRIPTION The rwarray extension adds functions named writea(), reada(), writeall(), and r...
rx51_secure_dispatcher(9)
NAME rx51_secure_dispatcher - Routine to dispatch secure PPA API calls SYNOPSIS u32 rx51_secure_dispatcher (u32 idx , u32 process , u32 flag , u32 nargs , u32 arg1 , u32 arg2 , u32 arg3 , u32 arg4 ); ARGUMENTS idx The PPA API index process Process ID flag The flag indicating critica...
rx51_secure_rng_call(9)
NAME rx51_secure_rng_call - Routine for HW random generator SYNOPSIS u32 rx51_secure_rng_call (u32 ptr , u32 count , u32 flag ); ARGUMENTS ptr -- undescribed -- count -- undescribed -- flag -- undescribed -- SEE ALSO Kernel file ./arch/arm/mach-omap2/omap-secure.c omap_secure_dis...
rx51_secure_update_aux_cr(9)
NAME rx51_secure_update_aux_cr - Routine to modify the contents of Auxiliary Control Register SYNOPSIS u32 rx51_secure_update_aux_cr (u32 set_bits , u32 clear_bits ); ARGUMENTS set_bits bits to set in ACR clear_bits bits to clear in ACR DESCRIPTION Return the non-zero error value on failure. SEE ALSO Ke...
rx6110_data_to_rtc_tm(9)
NAME rx6110_data_to_rtc_tm - convert native time encoding to rtc_time SYNOPSIS int rx6110_data_to_rtc_tm (u8 *data , struct rtc_time *tm ); ARGUMENTS data holds the encoding in rx6110 native form tm holds date and time SEE ALSO Kernel file ./drivers/rtc/rtc-rx6110.c rx6110_rtc_tm_to_data(9), ...
rx6110_get_time(9)
NAME rx6110_get_time - get the current time from the rx6110 registers SYNOPSIS int rx6110_get_time (struct device *dev , struct rtc_time *tm ); ARGUMENTS dev the rtc device in use tm holds date and time SEE ALSO Kernel file ./drivers/rtc/rtc-rx6110.c rx6110_rtc_tm_to_data(9), rx6110_data_to_...
rx6110_init(9)
NAME rx6110_init - initialize the rx6110 registers SYNOPSIS int rx6110_init (struct rx6110_data *rx6110 ); ARGUMENTS rx6110 pointer to the rx6110 struct in use SEE ALSO Kernel file ./drivers/rtc/rtc-rx6110.c rx6110_rtc_tm_to_data(9), rx6110_data_to_rtc_tm(9), rx6110_set_time(9), rx6110_get_time(9), rx6110_spi_p...
rx6110_rtc_tm_to_data(9)
NAME rx6110_rtc_tm_to_data - convert rtc_time to native time encoding SYNOPSIS int rx6110_rtc_tm_to_data (struct rtc_time *tm , u8 *data ); ARGUMENTS tm holds date and time data holds the encoding in rx6110 native form SEE ALSO Kernel file ./drivers/rtc/rtc-rx6110.c rx6110_data_to_rtc_tm(9), ...
rx6110_set_time(9)
NAME rx6110_set_time - set the current time in the rx6110 registers SYNOPSIS int rx6110_set_time (struct device *dev , struct rtc_time *tm ); ARGUMENTS dev the rtc device in use tm holds date and time DESCRIPTION BUG: The HW assumes every year that is a multiple of 4 to be a leap year. Next ...
rx6110_spi_probe(9)
NAME rx6110_spi_probe - initialize rtc driver SYNOPSIS int rx6110_spi_probe (struct spi_device *spi ); ARGUMENTS spi pointer to spi device SEE ALSO Kernel file ./drivers/rtc/rtc-rx6110.c rx6110_rtc_tm_to_data(9), rx6110_data_to_rtc_tm(9), rx6110_set_time(9), rx6110_get_time(9), rx6110_init(9) April 2026 ...
rx_alloc_pkts(9)
NAME rx_alloc_pkts - allocate pkts in rx queue SYNOPSIS int rx_alloc_pkts (struct hinic_rxq *rxq ); ARGUMENTS rxq rx queue DESCRIPTION Return number of skbs allocated SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_rx.c hinic_rxq_clean_stats(9), hinic_rxq_get_stats(9), rxq_stats_init(9), rx_...
rx_alloc_skb(9)
NAME rx_alloc_skb - allocate skb and map it to dma address SYNOPSIS struct sk_buff * rx_alloc_skb (struct hinic_rxq *rxq , dma_addr_t *dma_addr ); ARGUMENTS rxq rx queue dma_addr returned dma address for the skb DESCRIPTION Return skb SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic...
rx_eth(9)
NAME rx_eth - process an ingress ethernet packet SYNOPSIS void rx_eth (struct adapter *adap , struct sge_rspq *rq , struct sk_buff *skb , int pad , int lro ); ARGUMENTS adap the adapter rq the response queue that received the packet skb the packet pad padding ...
rx_free_skb(9)
NAME rx_free_skb - unmap and free skb SYNOPSIS void rx_free_skb (struct hinic_rxq *rxq , struct sk_buff *skb , dma_addr_t dma_addr ); ARGUMENTS rxq rx queue skb skb to free dma_addr dma address of the skb SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_rx.c ...
rx_offload(9)
NAME rx_offload - process a received offload packet SYNOPSIS int rx_offload (struct t3cdev *tdev , struct sge_rspq *rq , struct sk_buff *skb , struct sk_buff *rx_gather[] , unsigned int gather_idx ); ARGUMENTS tdev the offload device receiving the packet rq the response queue that received the...
rx_recv_jumbo_pkt(9)
NAME rx_recv_jumbo_pkt - Rx handler for jumbo pkt SYNOPSIS int rx_recv_jumbo_pkt (struct hinic_rxq *rxq , struct sk_buff *head_skb , unsigned int left_pkt_len , u16 ci ); ARGUMENTS rxq rx queue head_skb the first skb in the list left_pkt_len left size of the pkt exclude h...
rx_sync_cmd(9)
NAME rx_sync_cmd - send a command and wait SYNOPSIS int rx_sync_cmd (struct aac_dev *dev , u32 command , u32 p1 , u32 p2 , u32 p3 , u32 p4 , u32 p5 , u32 p6 , u32 *status , u32 * r1 , u32 * r2 , u32 * r3 , u32 * r4 ); ARGUMENTS dev Adapter command Command to execute p1 first param...
rx_unmap_skb(9)
NAME rx_unmap_skb - unmap the dma address of the skb SYNOPSIS void rx_unmap_skb (struct hinic_rxq *rxq , dma_addr_t dma_addr ); ARGUMENTS rxq rx queue dma_addr dma address of the skb SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_rx.c hinic_rxq_clean_stats(9), hinic_rxq_get_stats(9...
rxe_attach_mcast(9)
NAME rxe_attach_mcast - attach qp to multicast group (see IBA-11.3.1) SYNOPSIS int rxe_attach_mcast (struct ib_qp *ibqp , union ib_gid *mgid , u16 mlid ); ARGUMENTS ibqp (IB) qp object mgid multicast IP address mlid multicast LID, ignored for RoCEv2 (see IBA-A17.5.6) RETURN 0 on ...
rxe_attach_mcg(9)
NAME rxe_attach_mcg - attach qp to mcg if not already attached SYNOPSIS int rxe_attach_mcg (struct rxe_mcg *mcg , struct rxe_qp *qp ); ARGUMENTS mcg mcg object qp qp object CONTEXT caller must hold reference on qp and mcg. RETURN 0 on success else an error SEE ALSO Kernel file ./driver...
rxe_chk_dgid(9)
NAME rxe_chk_dgid - validate destination IP address SYNOPSIS int rxe_chk_dgid (struct rxe_dev *rxe , struct sk_buff *skb ); ARGUMENTS rxe rxe device that received packet skb the received packet buffer DESCRIPTION Accept any loopback packets Extract IP address from packet and Accept if multica...
rxe_cleanup_mcg(9)
NAME rxe_cleanup_mcg - cleanup mcg for kref_put SYNOPSIS void rxe_cleanup_mcg (struct kref *kref ); ARGUMENTS kref struct kref embnedded in mcg SEE ALSO Kernel file ./drivers/infiniband/sw/rxe/rxe_mcast.c rxe_mcast_add(9), rxe_mcast_del(9), __rxe_insert_mcg(9), __rxe_remove_mcg(9), __rxe_lookup_mcg(9),...
rxe_crc32(9)
NAME rxe_crc32 - Compute cumulative crc32 for a contiguous segment SYNOPSIS __be32 rxe_crc32 (struct rxe_dev *rxe , __be32 crc , void *next , size_t len ); ARGUMENTS rxe rdma_rxe device object crc starting crc32 value from previous segments next starting address of current segme...
rxe_destroy_mcg(9)
NAME rxe_destroy_mcg - destroy mcg object SYNOPSIS void rxe_destroy_mcg (struct rxe_mcg *mcg ); ARGUMENTS mcg the mcg object CONTEXT no qp's are attached to mcg SEE ALSO Kernel file ./drivers/infiniband/sw/rxe/rxe_mcast.c rxe_mcast_add(9), rxe_mcast_del(9), __rxe_insert_mcg(9), __rxe_remove_mcg(...
rxe_detach_mcast(9)
NAME rxe_detach_mcast - detach qp from multicast group (see IBA-11.3.2) SYNOPSIS int rxe_detach_mcast (struct ib_qp *ibqp , union ib_gid *mgid , u16 mlid ); ARGUMENTS ibqp address of (IB) qp object mgid multicast IP address mlid multicast LID, ignored for RoCEv2 (see IBA-A17.5.6) ...
rxe_detach_mcg(9)
NAME rxe_detach_mcg - detach qp from mcg SYNOPSIS int rxe_detach_mcg (struct rxe_mcg *mcg , struct rxe_qp *qp ); ARGUMENTS mcg mcg object qp qp object RETURN 0 on success else an error if qp is not attached. SEE ALSO Kernel file ./drivers/infiniband/sw/rxe/rxe_mcast.c rxe_mcast_add(9)...
rxe_get_mcg(9)
NAME rxe_get_mcg - lookup or allocate a mcg SYNOPSIS struct rxe_mcg * rxe_get_mcg (struct rxe_dev *rxe , union ib_gid *mgid ); ARGUMENTS rxe rxe device object mgid multicast IP address as a gid RETURN mcg on success else ERR_PTR(error) SEE ALSO Kernel file ./drivers/infiniband/sw/rxe/rxe_mc...
rxe_icrc_check(9)
NAME rxe_icrc_check - Compute ICRC for a packet and compare to the ICRC delivered in the packet. SYNOPSIS int rxe_icrc_check (struct sk_buff *skb , struct rxe_pkt_info *pkt ); ARGUMENTS skb packet buffer pkt packet information RETURN 0 if the values match else an error SEE ALSO Kernel file ....
rxe_icrc_generate(9)
NAME rxe_icrc_generate - compute ICRC for a packet. SYNOPSIS void rxe_icrc_generate (struct sk_buff *skb , struct rxe_pkt_info *pkt ); ARGUMENTS skb packet buffer pkt packet information SEE ALSO Kernel file ./drivers/infiniband/sw/rxe/rxe_icrc.c rxe_crc32(9), rxe_icrc_hdr(9), rxe_icrc_check(9...
rxe_icrc_hdr(9)
NAME rxe_icrc_hdr - Compute the partial ICRC for the network and transport headers of a packet. SYNOPSIS __be32 rxe_icrc_hdr (struct sk_buff *skb , struct rxe_pkt_info *pkt ); ARGUMENTS skb packet buffer pkt packet information RETURN the partial ICRC SEE ALSO Kernel file ./drivers/infiniband...