id
stringlengths
4
63
text
stringlengths
153
8.81M
bdx_isr_napi(9)
NAME bdx_isr_napi - Interrupt Service Routine for Bordeaux NIC SYNOPSIS irqreturn_t bdx_isr_napi (int irq , void *dev ); ARGUMENTS irq interrupt number dev network device DESCRIPTION Return IRQ_NONE if it was not our interrupt, IRQ_HANDLED - otherwise It reads ISR register to know interrup...
bdx_link_changed(9)
NAME bdx_link_changed - notifies OS about hw link state. SYNOPSIS void bdx_link_changed (struct bdx_priv *priv ); ARGUMENTS priv hw adapter structure SEE ALSO Kernel file ./drivers/net/ethernet/tehuti/tehuti.c bdx_fifo_init(9), bdx_fifo_free(9), bdx_isr_napi(9), bdx_fw_load(9), bdx_hw_start(9), bdx_c...
bdx_open(9)
NAME bdx_open - Called when a network interface is made active SYNOPSIS int bdx_open (struct net_device *ndev ); ARGUMENTS ndev network interface device structure DESCRIPTION Returns 0 on success, negative value on failure The open entry point is called when a network interface is made active by the system...
bdx_probe(9)
NAME bdx_probe - Device Initialization Routine SYNOPSIS int bdx_probe (struct pci_dev *pdev , const struct pci_device_id *ent ); ARGUMENTS pdev PCI device information struct ent entry in bdx_pci_tbl DESCRIPTION Returns 0 on success, negative on failure bdx_probe initializes an adapter identi...
bdx_remove(9)
NAME bdx_remove - Device Removal Routine SYNOPSIS void bdx_remove (struct pci_dev *pdev ); ARGUMENTS pdev PCI device information struct DESCRIPTION bdx_remove is called by the PCI subsystem to alert the driver that it should release a PCI device. The could be caused by a Hot-Plug event, or because the driver...
bdx_rx_alloc_skbs(9)
NAME bdx_rx_alloc_skbs - fill rxf fifo with new skbs SYNOPSIS void bdx_rx_alloc_skbs (struct bdx_priv *priv , struct rxf_fifo *f ); ARGUMENTS priv nic's private structure f RXF fifo that needs skbs DESCRIPTION It allocates skbs, build rxf descs and push it (rxf descr) into rxf fifo. skb's v...
bdx_rx_free(9)
NAME bdx_rx_free - release all Rx resources SYNOPSIS void bdx_rx_free (struct bdx_priv *priv ); ARGUMENTS priv NIC private structure DESCRIPTION It assumes that Rx is desabled in HW SEE ALSO Kernel file ./drivers/net/ethernet/tehuti/tehuti.c bdx_fifo_init(9), bdx_fifo_free(9), bdx_link_changed(9), ...
bdx_rx_free_skbs(9)
NAME bdx_rx_free_skbs - frees and unmaps all skbs allocated for the fifo SYNOPSIS void bdx_rx_free_skbs (struct bdx_priv *priv , struct rxf_fifo *f ); ARGUMENTS priv NIC private structure f RXF fifo SEE ALSO Kernel file ./drivers/net/ethernet/tehuti/tehuti.c bdx_fifo_init(9), bdx_fif...
bdx_rx_init(9)
NAME bdx_rx_init - initialize RX all related HW and SW resources SYNOPSIS int bdx_rx_init (struct bdx_priv *priv ); ARGUMENTS priv NIC private structure DESCRIPTION Returns 0 on success, negative value on failure It creates rxf and rxd fifos, update relevant HW registers, preallocate skb for rx. It assumes th...
bdx_rx_receive(9)
NAME bdx_rx_receive - receives full packets from RXD fifo and pass them to OS SYNOPSIS int bdx_rx_receive (struct bdx_priv *priv , struct rxd_fifo *f , int budget ); ARGUMENTS priv nic's private structure f RXF fifo that needs skbs budget maximum number of packets to receive NOT...
bdx_tx_cleanup(9)
NAME bdx_tx_cleanup - clean TXF fifo, run in the context of IRQ. SYNOPSIS void bdx_tx_cleanup (struct bdx_priv *priv ); ARGUMENTS priv bdx adapter DESCRIPTION It scans TXF fifo for descriptors, frees DMA mappings and reports to OS that those packets were sent SEE ALSO Kernel file ./drivers/net/ethernet/t...
bdx_tx_db_close(9)
NAME bdx_tx_db_close - closes tx db and frees all memory SYNOPSIS void bdx_tx_db_close (struct txdb *d ); ARGUMENTS d tx data base SEE ALSO Kernel file ./drivers/net/ethernet/tehuti/tehuti.c bdx_fifo_init(9), bdx_fifo_free(9), bdx_link_changed(9), bdx_isr_napi(9), bdx_fw_load(9), bdx_hw_start(9...
bdx_tx_db_inc_rptr(9)
NAME bdx_tx_db_inc_rptr - increment read pointer SYNOPSIS void bdx_tx_db_inc_rptr (struct txdb *db ); ARGUMENTS db tx data base SEE ALSO Kernel file ./drivers/net/ethernet/tehuti/tehuti.c bdx_fifo_init(9), bdx_fifo_free(9), bdx_link_changed(9), bdx_isr_napi(9), bdx_fw_load(9), bdx_hw_start(9), ...
bdx_tx_db_inc_wptr(9)
NAME bdx_tx_db_inc_wptr - increment write pointer SYNOPSIS void bdx_tx_db_inc_wptr (struct txdb *db ); ARGUMENTS db tx data base SEE ALSO Kernel file ./drivers/net/ethernet/tehuti/tehuti.c bdx_fifo_init(9), bdx_fifo_free(9), bdx_link_changed(9), bdx_isr_napi(9), bdx_fw_load(9), bdx_hw_start(9), ...
bdx_tx_db_init(9)
NAME bdx_tx_db_init - creates and initializes tx db SYNOPSIS int bdx_tx_db_init (struct txdb *d , int sz_type ); ARGUMENTS d tx data base sz_type size of tx fifo DESCRIPTION Returns 0 on success, error code otherwise SEE ALSO Kernel file ./drivers/net/ethernet/tehuti/tehuti.c bdx_fifo_in...
bdx_tx_free_skbs(9)
NAME bdx_tx_free_skbs - frees all skbs from TXD fifo. SYNOPSIS void bdx_tx_free_skbs (struct bdx_priv *priv ); ARGUMENTS priv NIC private structure DESCRIPTION It gets called when OS stops this dev, eg upon "ifconfig down" or rmmod SEE ALSO Kernel file ./drivers/net/ethernet/tehuti/tehuti.c bdx_fifo_in...
bdx_tx_map_skb(9)
NAME bdx_tx_map_skb - creates and stores dma mappings for skb's data blocks SYNOPSIS void bdx_tx_map_skb (struct bdx_priv *priv , struct sk_buff *skb , struct txd_desc *txdd ); ARGUMENTS priv NIC private structure skb socket buffer to map txdd TX descriptor to use DESCRIPTION It...
bdx_tx_push_desc(9)
NAME bdx_tx_push_desc - push descriptor to TxD fifo SYNOPSIS void bdx_tx_push_desc (struct bdx_priv *priv , void *data , int size ); ARGUMENTS priv NIC private structure data desc's data size desc's size DESCRIPTION Pushes desc to TxD fifo and overlaps it if needed. NOTE this fu...
bdx_tx_push_desc_safe(9)
NAME bdx_tx_push_desc_safe - push descriptor to TxD fifo in a safe way SYNOPSIS void bdx_tx_push_desc_safe (struct bdx_priv *priv , void *data , int size ); ARGUMENTS priv NIC private structure data desc's data size desc's size NOTE this func does check for available space and, i...
bdx_tx_space(9)
NAME bdx_tx_space - calculates available space in TX fifo SYNOPSIS int bdx_tx_space (struct bdx_priv *priv ); ARGUMENTS priv NIC private structure DESCRIPTION Returns available space in TX fifo in bytes SEE ALSO Kernel file ./drivers/net/ethernet/tehuti/tehuti.c bdx_fifo_init(9), bdx_fifo_free(9), b...
bdx_tx_transmit(9)
NAME bdx_tx_transmit - send packet to NIC SYNOPSIS netdev_tx_t bdx_tx_transmit (struct sk_buff *skb , struct net_device *ndev ); ARGUMENTS skb packet to send ndev network device assigned to NIC Return codes: o NETDEV_TX_OK everything ok. o NETDEV_TX_BUSY Cannot transmit packet, try later Usua...
bdx_vlan_rx_add_vid(9)
NAME bdx_vlan_rx_add_vid - kernel hook for adding VLAN vid to hw filtering table SYNOPSIS int bdx_vlan_rx_add_vid (struct net_device *ndev , __be16 proto , u16 vid ); ARGUMENTS ndev network device proto unused vid VLAN vid to add SEE ALSO Kernel file ./drivers/net/ethernet/te...
bdx_vlan_rx_kill_vid(9)
NAME bdx_vlan_rx_kill_vid - kernel hook for killing VLAN vid in hw filtering table SYNOPSIS int bdx_vlan_rx_kill_vid (struct net_device *ndev , __be16 proto , u16 vid ); ARGUMENTS ndev network device proto unused vid VLAN vid to kill SEE ALSO Kernel file ./drivers/net/etherne...
be16toh(3)
NAME htobe16, htole16, be16toh, le16toh, htobe32, htole32, be32toh, le32toh, htobe64, htole64, be64toh, le64toh - convert values between host and big-/little-endian byte order LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <endian.h> uint16_t htobe16(uint16_t host_16bits); uint16_t htole16(ui...
be32toh(3)
NAME htobe16, htole16, be16toh, le16toh, htobe32, htole32, be32toh, le32toh, htobe64, htole64, be64toh, le64toh - convert values between host and big-/little-endian byte order LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <endian.h> uint16_t htobe16(uint16_t host_16bits); uint16_t htole16(ui...
be64toh(3)
NAME htobe16, htole16, be16toh, le16toh, htobe32, htole32, be32toh, le32toh, htobe64, htole64, be64toh, le64toh - convert values between host and big-/little-endian byte order LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <endian.h> uint16_t htobe16(uint16_t host_16bits); uint16_t htole16(ui...
be_cmd_create_default_pdu_queue(9)
NAME be_cmd_create_default_pdu_queue - Create DEFQ for the adapter SYNOPSIS int be_cmd_create_default_pdu_queue (struct be_ctrl_info *ctrl , struct be_queue_info *cq , struct be_queue_info *dq , int length , int entry_size , uint8_t is_header , uint8_t ulp_num ); ARGUMENTS ctrl ptr to ctrl_info cq ...
be_cmd_set_vlan(9)
NAME be_cmd_set_vlan - Configure VLAN paramters on the adapter SYNOPSIS int be_cmd_set_vlan (struct beiscsi_hba *phba , uint16_t vlan_tag ); ARGUMENTS phba device priv structure instance vlan_tag TAG to be set DESCRIPTION Set the VLAN_TAG for the adapter or Disable VLAN on adapter returns TAG for t...
be_cmd_wrbq_create(9)
NAME be_cmd_wrbq_create - Create WRBQ SYNOPSIS int be_cmd_wrbq_create (struct be_ctrl_info *ctrl , struct be_dma_mem *q_mem , struct be_queue_info *wrbq , struct hwi_wrb_context *pwrb_context , uint8_t ulp_num ); ARGUMENTS ctrl ptr to ctrl_info q_mem memory details for the queue wrbq ...
be_isr(9)
NAME be_isr - The isr routine of the driver. SYNOPSIS irqreturn_t be_isr (int irq , void *dev_id ); ARGUMENTS irq Not used dev_id Pointer to host adapter structure SEE ALSO Kernel file ./drivers/scsi/be2iscsi/be_main.c beiscsi_get_params(9), be_isr_mcc(9), be_isr_msix(9), alloc_wrb_handl...
be_isr_mcc(9)
NAME be_isr_mcc - The isr routine of the driver. SYNOPSIS irqreturn_t be_isr_mcc (int irq , void *dev_id ); ARGUMENTS irq Not used dev_id Pointer to host adapter structure SEE ALSO Kernel file ./drivers/scsi/be2iscsi/be_main.c beiscsi_get_params(9), be_isr_msix(9), be_isr(9), alloc_w...
be_isr_msix(9)
NAME be_isr_msix - The isr routine of the driver. SYNOPSIS irqreturn_t be_isr_msix (int irq , void *dev_id ); ARGUMENTS irq Not used dev_id Pointer to host adapter structure SEE ALSO Kernel file ./drivers/scsi/be2iscsi/be_main.c beiscsi_get_params(9), be_isr_mcc(9), be_isr(9), alloc_...
bearer_disable(9)
NAME bearer_disable - disable this bearer SYNOPSIS void bearer_disable (struct net *net , struct tipc_bearer *b ); ARGUMENTS net the applicable net namespace b the bearer to disable NOTE This routine assumes caller holds RTNL lock. SEE ALSO Kernel file ./net/tipc/bearer.c tipc_media_...
bearer_name_validate(9)
NAME bearer_name_validate - validate & (optionally) deconstruct bearer name SYNOPSIS int bearer_name_validate (const char *name , struct tipc_bearer_names *name_parts ); ARGUMENTS name ptr to bearer name string name_parts ptr to area for bearer name components (or NULL if not needed) RETURN 1 if bear...
beep.3x(3)
NAME beep, flash - ring the (visual) bell of the terminal with curses SYNOPSIS #include <ncursesw/curses.h> int beep(void); int flash(void); DESCRIPTION The beep and flash routines are used to alert the terminal user. The routine beep sounds an audible alarm on the terminal, if possible; otherwise it...
beep_sp.3x(3)
NAME curs_sp_funcs - curses screen-pointer extension SYNOPSIS #include <ncursesw/curses.h> int alloc_pair_sp(SCREEN* sp, int fg, int bg); int assume_default_colors_sp(SCREEN* sp, int fg, int bg); int baudrate_sp(SCREEN* sp); int beep_sp(SCREEN* sp); bool can_change_color_sp(SCREEN* ...
before_recovery_point(9)
NAME before_recovery_point - Check whether the first point precedes the second point. SYNOPSIS bool before_recovery_point (const struct recovery_point *first , const struct recovery_point *second ); ARGUMENTS first The first recovery point. second The second recovery point. RETURN true if the firs...
befs_bt_get_key(9)
NAME befs_bt_get_key - returns a pointer to the start of a key SYNOPSIS char * befs_bt_get_key (struct super_block *sb , struct befs_btree_node *node , int index , u16 * keylen ); ARGUMENTS sb filesystem superblock node node in which to look for the key index the index of the key...
befs_bt_keydata(9)
NAME befs_bt_keydata - Finds start of keydata array in a node SYNOPSIS char * befs_bt_keydata (struct befs_btree_node *node ); ARGUMENTS node Pointer to the node structure to find the keydata array within DESCRIPTION Returns a pointer to the start of the keydata array of the node pointed to by the node header...
befs_bt_keylen_index(9)
NAME befs_bt_keylen_index - Finds start of keylen index in a node SYNOPSIS fs16 * befs_bt_keylen_index (struct befs_btree_node *node ); ARGUMENTS node Pointer to the node structure to find the keylen index within DESCRIPTION Returns a pointer to the start of the key length index array of the B+tree node *nod...
befs_bt_read_node(9)
NAME befs_bt_read_node - read in btree node and convert to cpu byteorder SYNOPSIS int befs_bt_read_node (struct super_block *sb , const befs_data_stream *ds , struct befs_btree_node *node , befs_off_t node_off ); ARGUMENTS sb Filesystem superblock ds Datastream to read from node ...
befs_bt_read_super(9)
NAME befs_bt_read_super - read in btree superblock convert to cpu byteorder SYNOPSIS int befs_bt_read_super (struct super_block *sb , const befs_data_stream *ds , befs_btree_super * sup ); ARGUMENTS sb Filesystem superblock ds Datastream to read from sup Buffer in which to pl...
befs_bt_valarray(9)
NAME befs_bt_valarray - Finds the start of value array in a node SYNOPSIS fs64 * befs_bt_valarray (struct befs_btree_node *node ); ARGUMENTS node Pointer to the node structure to find the value array within DESCRIPTION Returns a pointer to the start of the value array of the node pointed to by the node header...
befs_btree_find(9)
NAME befs_btree_find - Find a key in a befs B+tree SYNOPSIS int befs_btree_find (struct super_block *sb , const befs_data_stream *ds , const char *key , befs_off_t * value ); ARGUMENTS sb Filesystem superblock ds Datastream containing btree key Key string to lookup in btree ...
befs_btree_read(9)
NAME befs_btree_read - Traverse leafnodes of a btree SYNOPSIS int befs_btree_read (struct super_block *sb , const befs_data_stream *ds , loff_t key_no , size_t bufsize , char *keybuf , size_t * keysize , befs_off_t * value ); ARGUMENTS sb Filesystem superblock ds Datastream containing btree ...
befs_btree_seekleaf(9)
NAME befs_btree_seekleaf - Find the first leafnode in the btree SYNOPSIS int befs_btree_seekleaf (struct super_block *sb , const befs_data_stream *ds , befs_btree_super *bt_super , struct befs_btree_node *this_node , befs_off_t * node_off ); ARGUMENTS sb Filesystem superblock ds Datastream c...
befs_compare_strings(9)
NAME befs_compare_strings - compare two strings SYNOPSIS int befs_compare_strings (const void *key1 , int keylen1 , const void *key2 , int keylen2 ); ARGUMENTS key1 pointer to the first key to be compared keylen1 length in bytes of key1 key2 pointer to the second key to be compared ...
befs_count_blocks(9)
NAME befs_count_blocks - blocks used by a file SYNOPSIS befs_blocknr_t befs_count_blocks (struct super_block *sb , const befs_data_stream *ds ); ARGUMENTS sb Filesystem superblock ds Datastream of the file DESCRIPTION Counts the number of fs blocks that the file represented by inode occupie...
befs_fblock2brun(9)
NAME befs_fblock2brun - give back block run for fblock SYNOPSIS int befs_fblock2brun (struct super_block *sb , const befs_data_stream *data , befs_blocknr_t fblock , befs_block_run *run ); ARGUMENTS sb the superblock data datastream to read from fblock the blocknumber with the fil...
befs_find_brun_dblindirect(9)
NAME befs_find_brun_dblindirect - find a block run in the datastream SYNOPSIS int befs_find_brun_dblindirect (struct super_block *sb , const befs_data_stream *data , befs_blocknr_t blockno , befs_block_run *run ); ARGUMENTS sb the superblock data the datastream blockno the blocknum...
befs_find_brun_direct(9)
NAME befs_find_brun_direct - find a direct block run in the datastream SYNOPSIS int befs_find_brun_direct (struct super_block *sb , const befs_data_stream *data , befs_blocknr_t blockno , befs_block_run *run ); ARGUMENTS sb the superblock data the datastream blockno the blocknumber...
befs_find_brun_indirect(9)
NAME befs_find_brun_indirect - find a block run in the datastream SYNOPSIS int befs_find_brun_indirect (struct super_block *sb , const befs_data_stream *data , befs_blocknr_t blockno , befs_block_run *run ); ARGUMENTS sb the superblock data the datastream blockno the blocknumber to...
befs_find_key(9)
NAME befs_find_key - Search for a key within a node SYNOPSIS int befs_find_key (struct super_block *sb , struct befs_btree_node *node , const char *findkey , befs_off_t * value ); ARGUMENTS sb Filesystem superblock node Node to find the key within findkey Keystring to search for ...
befs_leafnode(9)
NAME befs_leafnode - Determine if the btree node is a leaf node or an interior node SYNOPSIS int befs_leafnode (struct befs_btree_node *node ); ARGUMENTS node Pointer to node structure to test DESCRIPTION Return 1 if leaf, 0 if interior SEE ALSO Kernel file ./fs/befs/btree.c befs_bt_read_super(9), befs_b...
befs_nls2utf(9)
NAME befs_nls2utf - Convert NLS string to utf8 encodeing SYNOPSIS int befs_nls2utf (struct super_block *sb , const char *in , int in_len , char **out , int *out_len ); ARGUMENTS sb Superblock in Input string buffer in NLS format in_len Length of input string in bytes out...
befs_read_datastream(9)
NAME befs_read_datastream - get buffer_head containing data, starting from pos. SYNOPSIS struct buffer_head * befs_read_datastream (struct super_block *sb , const befs_data_stream *ds , befs_off_t pos , uint *off ); ARGUMENTS sb Filesystem superblock ds datastream to find data with p...
begin_current_label_crit_section(9)
NAME begin_current_label_crit_section - current's confining label and update it SYNOPSIS struct aa_label * begin_current_label_crit_section (void ); ARGUMENTS void no arguments RETURN up to date confining label or the ns unconfined label (NOT NULL) DESCRIPTION Not safe to call inside locks The returne...
begin_operation(9)
NAME begin_operation - Begin an operation if it may be started given the current state. SYNOPSIS int begin_operation (struct admin_state *state , const struct admin_state_code *operation , struct vdo_completion *waiter , vdo_admin_initiator_fn initiator ); ARGUMENTS state The current admin state. operat...
beiscsi_active_session_disp(9)
NAME beiscsi_active_session_disp - Display Sessions Active SYNOPSIS ssize_t beiscsi_active_session_disp (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev ptr to device not used. attr device attribute, not used. buf contains formatted text Session C...
beiscsi_adap_family_disp(9)
NAME beiscsi_adap_family_disp - Display adapter family. SYNOPSIS ssize_t beiscsi_adap_family_disp (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev ptr to device to get priv structure attr device attribute, not used. buf contains formatted text dri...
beiscsi_alloc_pdu(9)
NAME beiscsi_alloc_pdu - allocates pdu and related resources SYNOPSIS int beiscsi_alloc_pdu (struct iscsi_task *task , uint8_t opcode ); ARGUMENTS task libiscsi task opcode opcode of pdu for task DESCRIPTION This is called with the session lock held. It will allocate the wrb and sgl if needed for...
beiscsi_boot_get_shandle(9)
NAME beiscsi_boot_get_shandle - Get boot session handle SYNOPSIS int beiscsi_boot_get_shandle (struct beiscsi_hba *phba , unsigned int *s_handle ); ARGUMENTS phba device priv structure instance s_handle session handle returned for boot session. DESCRIPTION return Success: 1 Failure: negative SEE A...
beiscsi_boot_get_sinfo(9)
NAME beiscsi_boot_get_sinfo - Get boot session info SYNOPSIS unsigned int beiscsi_boot_get_sinfo (struct beiscsi_hba *phba ); ARGUMENTS phba device priv structure instance DESCRIPTION Fetches the boot_struct.s_handle info from FW. return the TAG used for MBOX Command SEE ALSO Kernel file ./drivers/scsi/...
beiscsi_boot_logout_sess(9)
NAME beiscsi_boot_logout_sess - Logout from boot FW session SYNOPSIS unsigned int beiscsi_boot_logout_sess (struct beiscsi_hba *phba ); ARGUMENTS phba Device priv structure instance DESCRIPTION return the TAG used for MBOX Command SEE ALSO Kernel file ./drivers/scsi/be2iscsi/be_mgmt.c mgmt_open_connect...
beiscsi_boot_reopen_sess(9)
NAME beiscsi_boot_reopen_sess - Reopen boot session SYNOPSIS unsigned int beiscsi_boot_reopen_sess (struct beiscsi_hba *phba ); ARGUMENTS phba Device priv structure instance DESCRIPTION return the TAG used for MBOX Command SEE ALSO Kernel file ./drivers/scsi/be2iscsi/be_mgmt.c mgmt_open_connection(9), ...
beiscsi_bsg_request(9)
NAME beiscsi_bsg_request - handle bsg request from ISCSI transport SYNOPSIS int beiscsi_bsg_request (struct bsg_job *job ); ARGUMENTS job job to handle SEE ALSO Kernel file ./drivers/scsi/be2iscsi/be_main.c beiscsi_get_params(9), be_isr_mcc(9), be_isr_msix(9), be_isr(9), alloc_wrb_handle(9), free_wrb_handle...
beiscsi_cleanup_task(9)
NAME beiscsi_cleanup_task - Free driver resources of the task SYNOPSIS void beiscsi_cleanup_task (struct iscsi_task *task ); ARGUMENTS task ptr to the iscsi task SEE ALSO Kernel file ./drivers/scsi/be2iscsi/be_main.c beiscsi_get_params(9), be_isr_mcc(9), be_isr_msix(9), be_isr(9), alloc_wrb_handle(9), free_w...
beiscsi_cmd_iscsi_cleanup(9)
NAME beiscsi_cmd_iscsi_cleanup - Inform FW to cleanup EP data structures. SYNOPSIS int beiscsi_cmd_iscsi_cleanup (struct beiscsi_hba *phba , unsigned short ulp ); ARGUMENTS phba pointer to dev priv structure ulp ULP number. DESCRIPTION return Success: 0 Failure: Non-Zero Value SEE ALSO Kernel...
beiscsi_conn_bind(9)
NAME beiscsi_conn_bind - Binds iscsi session/connection with TCP connection SYNOPSIS int beiscsi_conn_bind (struct iscsi_cls_session *cls_session , struct iscsi_cls_conn *cls_conn , u64 transport_fd , int is_leading ); ARGUMENTS cls_session pointer to iscsi cls session cls_conn pointer to iscsi cls conn ...
beiscsi_conn_close(9)
NAME beiscsi_conn_close - Invalidate and upload connection SYNOPSIS int beiscsi_conn_close (struct beiscsi_endpoint *beiscsi_ep ); ARGUMENTS beiscsi_ep pointer to device endpoint struct DESCRIPTION Returns 0 on success, -1 on failure. SEE ALSO Kernel file ./drivers/scsi/be2iscsi/be_iscsi.c beiscsi_session_crea...
beiscsi_conn_create(9)
NAME beiscsi_conn_create - create an instance of iscsi connection SYNOPSIS struct iscsi_cls_conn * beiscsi_conn_create (struct iscsi_cls_session *cls_session , u32 cid ); ARGUMENTS cls_session ptr to iscsi_cls_session cid iscsi cid SEE ALSO Kernel file ./drivers/scsi/be2iscsi/be_iscsi.c beisc...
beiscsi_conn_get_stats(9)
NAME beiscsi_conn_get_stats - get the iscsi stats SYNOPSIS void beiscsi_conn_get_stats (struct iscsi_cls_conn *cls_conn , struct iscsi_stats *stats ); ARGUMENTS cls_conn pointer to iscsi cls conn stats pointer to iscsi_stats structure DESCRIPTION returns iscsi stats SEE ALSO Kernel file ./dri...
beiscsi_conn_start(9)
NAME beiscsi_conn_start - offload of session to chip SYNOPSIS int beiscsi_conn_start (struct iscsi_cls_conn *cls_conn ); ARGUMENTS cls_conn pointer to beiscsi_conn SEE ALSO Kernel file ./drivers/scsi/be2iscsi/be_iscsi.c beiscsi_session_create(9), beiscsi_session_destroy(9), beiscsi_session_fail(9), ...
beiscsi_drvr_ver_disp(9)
NAME beiscsi_drvr_ver_disp - Display the driver Name and Version SYNOPSIS ssize_t beiscsi_drvr_ver_disp (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev ptr to device not used. attr device attribute, not used. buf contains formatted text driver na...
beiscsi_ep_connect(9)
NAME beiscsi_ep_connect - Ask chip to create TCP Conn SYNOPSIS struct iscsi_endpoint * beiscsi_ep_connect (struct Scsi_Host *shost , struct sockaddr *dst_addr , int non_blocking ); ARGUMENTS shost Pointer to scsi_host structure dst_addr The IP address of Target non_blocking ...
beiscsi_ep_disconnect(9)
NAME beiscsi_ep_disconnect - Tears down the TCP connection SYNOPSIS void beiscsi_ep_disconnect (struct iscsi_endpoint *ep ); ARGUMENTS ep endpoint to be used DESCRIPTION Tears down the TCP connection SEE ALSO Kernel file ./drivers/scsi/be2iscsi/be_iscsi.c beiscsi_session_create(9), beiscsi_sessi...
beiscsi_ep_get_param(9)
NAME beiscsi_ep_get_param - get the iscsi parameter SYNOPSIS int beiscsi_ep_get_param (struct iscsi_endpoint *ep , enum iscsi_param param , char *buf ); ARGUMENTS ep pointer to iscsi ep param parameter type identifier buf buffer pointer DESCRIPTION returns iscsi parameter SEE ...
beiscsi_ep_poll(9)
NAME beiscsi_ep_poll - Poll to see if connection is established SYNOPSIS int beiscsi_ep_poll (struct iscsi_endpoint *ep , int timeout_ms ); ARGUMENTS ep endpoint to be used timeout_ms timeout specified in millisecs DESCRIPTION Poll to see if TCP connection established SEE ALSO Kernel file ./...
beiscsi_exec_nemb_cmd(9)
NAME beiscsi_exec_nemb_cmd - execute non-embedded MBX cmd SYNOPSIS int beiscsi_exec_nemb_cmd (struct beiscsi_hba *phba , struct be_dma_mem *nonemb_cmd , void (*cbfn)(struct beiscsi_hba *, unsigned int) , void *resp_buf , u32 resp_buf_len ); ARGUMENTS phba driver priv structure nonemb_cmd DMA address o...
beiscsi_find_mem_req(9)
NAME beiscsi_find_mem_req - Find mem needed SYNOPSIS void beiscsi_find_mem_req (struct beiscsi_hba *phba ); ARGUMENTS phba ptr to HBA struct SEE ALSO Kernel file ./drivers/scsi/be2iscsi/be_main.c beiscsi_get_params(9), be_isr_mcc(9), be_isr_msix(9), be_isr(9), alloc_wrb_handle(9), free_w...
beiscsi_flush_cq(9)
NAME beiscsi_flush_cq - Flush the CQ created. SYNOPSIS void beiscsi_flush_cq (struct beiscsi_hba *phba ); ARGUMENTS phba ptr device priv structure. DESCRIPTION Before the connection resource are freed flush all the CQ enteries SEE ALSO Kernel file ./drivers/scsi/be2iscsi/be_iscsi.c beiscsi_session_c...
beiscsi_free_ep(9)
NAME beiscsi_free_ep - free endpoint SYNOPSIS void beiscsi_free_ep (struct beiscsi_endpoint *beiscsi_ep ); ARGUMENTS beiscsi_ep pointer to device endpoint struct SEE ALSO Kernel file ./drivers/scsi/be2iscsi/be_iscsi.c beiscsi_session_create(9), beiscsi_session_destroy(9), beiscsi_session_fail(9), bei...
beiscsi_free_mgmt_task_handles(9)
NAME beiscsi_free_mgmt_task_handles - Free driver CXN resources SYNOPSIS void beiscsi_free_mgmt_task_handles (struct beiscsi_conn *beiscsi_conn , struct iscsi_task *task ); ARGUMENTS beiscsi_conn ptr to the conn to be cleaned up task ptr to iscsi_task resource to be freed. DESCRIPTION Free driver mgmt...
beiscsi_free_session_disp(9)
NAME beiscsi_free_session_disp - Display Avaliable Session SYNOPSIS ssize_t beiscsi_free_session_disp (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev ptr to device not used. attr device attribute, not used. buf contains formatted text Session Cou...
beiscsi_fw_ver_disp(9)
NAME beiscsi_fw_ver_disp - Display Firmware Version SYNOPSIS ssize_t beiscsi_fw_ver_disp (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev ptr to device not used. attr device attribute, not used. buf contains formatted text Firmware version DESCRI...
beiscsi_get_cid(9)
NAME beiscsi_get_cid - Allocate a cid SYNOPSIS int beiscsi_get_cid (struct beiscsi_hba *phba ); ARGUMENTS phba The phba instance SEE ALSO Kernel file ./drivers/scsi/be2iscsi/be_iscsi.c beiscsi_session_create(9), beiscsi_session_destroy(9), beiscsi_session_fail(9), beiscsi_conn_create(9), beis...
beiscsi_get_fw_config(9)
NAME beiscsi_get_fw_config - Get the FW config for the function SYNOPSIS int beiscsi_get_fw_config (struct be_ctrl_info *ctrl , struct beiscsi_hba *phba ); ARGUMENTS ctrl ptr to Ctrl Info phba ptr to the dev priv structure DESCRIPTION Get the FW config and resources available for the function. ...
beiscsi_get_host_param(9)
NAME beiscsi_get_host_param - get the iscsi parameter SYNOPSIS int beiscsi_get_host_param (struct Scsi_Host *shost , enum iscsi_host_param param , char *buf ); ARGUMENTS shost pointer to scsi_host structure param parameter type identifier buf buffer pointer SEE ALSO Kernel file...
beiscsi_get_initiator_name(9)
NAME beiscsi_get_initiator_name - read initiator name from flash SYNOPSIS int beiscsi_get_initiator_name (struct beiscsi_hba *phba , char *name , bool cfg ); ARGUMENTS phba device priv structure name buffer pointer cfg fetch user configured SEE ALSO Kernel file ./drivers/scs...
beiscsi_get_params(9)
NAME beiscsi_get_params - Set the config paramters SYNOPSIS void beiscsi_get_params (struct beiscsi_hba *phba ); ARGUMENTS phba ptr device priv structure SEE ALSO Kernel file ./drivers/scsi/be2iscsi/be_main.c be_isr_mcc(9), be_isr_msix(9), be_isr(9), alloc_wrb_handle(9), free_wrb_handle(9),...
beiscsi_get_port_name(9)
NAME beiscsi_get_port_name - Get port name for the function SYNOPSIS int beiscsi_get_port_name (struct be_ctrl_info *ctrl , struct beiscsi_hba *phba ); ARGUMENTS ctrl ptr to Ctrl Info phba ptr to the dev priv structure DESCRIPTION Get the alphanumeric character for port SEE ALSO Kernel file ./...
beiscsi_get_port_speed(9)
NAME beiscsi_get_port_speed - Get the Port Speed from Adapter SYNOPSIS void beiscsi_get_port_speed (struct Scsi_Host *shost ); ARGUMENTS shost pointer to scsi_host structure SEE ALSO Kernel file ./drivers/scsi/be2iscsi/be_iscsi.c beiscsi_session_create(9), beiscsi_session_destroy(9), beiscsi_sessi...
beiscsi_get_port_state(9)
NAME beiscsi_get_port_state - Get the Port State SYNOPSIS void beiscsi_get_port_state (struct Scsi_Host *shost ); ARGUMENTS shost pointer to scsi_host structure SEE ALSO Kernel file ./drivers/scsi/be2iscsi/be_iscsi.c beiscsi_session_create(9), beiscsi_session_destroy(9), beiscsi_session_fail(9), ...
beiscsi_if_set_vlan(9)
NAME beiscsi_if_set_vlan - Issue and wait for CMD completion SYNOPSIS int beiscsi_if_set_vlan (struct beiscsi_hba *phba , uint16_t vlan_tag ); ARGUMENTS phba device private structure instance vlan_tag VLAN tag DESCRIPTION Issue the MBX Cmd and wait for the completion of the command. returns Succes...
beiscsi_iface_config_vlan(9)
NAME beiscsi_iface_config_vlan - Set the VLAN TAG SYNOPSIS int beiscsi_iface_config_vlan (struct Scsi_Host *shost , struct iscsi_iface_param_info *iface_param ); ARGUMENTS shost Scsi Host for the driver instance iface_param Interface paramters DESCRIPTION Set the VLAN TAG for the adapter or disable the...
beiscsi_open_conn(9)
NAME beiscsi_open_conn - Ask FW to open a TCP connection SYNOPSIS int beiscsi_open_conn (struct iscsi_endpoint *ep , struct sockaddr *src_addr , struct sockaddr *dst_addr , int non_blocking ); ARGUMENTS ep pointer to device endpoint struct src_addr The source IP address dst_addr The Des...
beiscsi_phys_port_disp(9)
NAME beiscsi_phys_port_disp - Display Physical Port Identifier SYNOPSIS ssize_t beiscsi_phys_port_disp (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev ptr to device not used. attr device attribute, not used. buf contains formatted text port ident...
beiscsi_process_cq(9)
NAME beiscsi_process_cq - Process the Completion Queue SYNOPSIS unsigned int beiscsi_process_cq (struct be_eq_obj *pbe_eq , int budget ); ARGUMENTS pbe_eq Event Q on which the Completion has come budget Max number of events to processed DESCRIPTION return Number of Completion Entries processed. SE...
beiscsi_put_cid(9)
NAME beiscsi_put_cid - Free the cid SYNOPSIS void beiscsi_put_cid (struct beiscsi_hba *phba , unsigned short cid ); ARGUMENTS phba The phba for which the cid is being freed cid The cid to free SEE ALSO Kernel file ./drivers/scsi/be2iscsi/be_iscsi.c beiscsi_session_create(9), beiscsi...
beiscsi_session_create(9)
NAME beiscsi_session_create - creates a new iscsi session SYNOPSIS struct iscsi_cls_session * beiscsi_session_create (struct iscsi_endpoint *ep , u16 cmds_max , u16 qdepth , u32 initial_cmdsn ); ARGUMENTS ep pointer to iscsi ep cmds_max max commands supported qdepth max queue depth su...