id
stringlengths
4
63
text
stringlengths
153
8.81M
bnx2fc_rcv(9)
NAME bnx2fc_rcv - This is bnx2fc's receive function called by NET_RX_SOFTIRQ SYNOPSIS int bnx2fc_rcv (struct sk_buff *skb , struct net_device *dev , struct packet_type *ptype , struct net_device *olddev ); ARGUMENTS skb the receive socket buffer dev associated net device ptype co...
bnx2fc_send_fw_fcoe_init_msg(9)
NAME bnx2fc_send_fw_fcoe_init_msg - initiates initial handshake with FCoE f/w SYNOPSIS int bnx2fc_send_fw_fcoe_init_msg (struct bnx2fc_hba *hba ); ARGUMENTS hba adapter structure pointer DESCRIPTION Send down FCoE firmware init KWQEs which initiates the initial handshake with the f/w. SEE ALSO Kernel file ...
bnx2fc_send_session_destroy_req(9)
NAME bnx2fc_send_session_destroy_req - initiates FCoE Session destroy SYNOPSIS int bnx2fc_send_session_destroy_req (struct bnx2fc_hba *hba , struct bnx2fc_rport *tgt ); ARGUMENTS hba adapter structure pointer tgt bnx2fc_rport structure pointer SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2...
bnx2fc_send_session_disable_req(9)
NAME bnx2fc_send_session_disable_req - initiates FCoE Session disable SYNOPSIS int bnx2fc_send_session_disable_req (struct fcoe_port *port , struct bnx2fc_rport *tgt ); ARGUMENTS port port structure pointer tgt bnx2fc_rport structure pointer SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc_...
bnx2fc_send_session_enable_req(9)
NAME bnx2fc_send_session_enable_req - initiates FCoE Session enablement SYNOPSIS int bnx2fc_send_session_enable_req (struct fcoe_port *port , struct bnx2fc_rport *tgt ); ARGUMENTS port port structure pointer tgt bnx2fc_rport structure pointer SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc...
bnx2fc_send_session_ofld_req(9)
NAME bnx2fc_send_session_ofld_req - initiates FCoE Session offload process SYNOPSIS int bnx2fc_send_session_ofld_req (struct fcoe_port *port , struct bnx2fc_rport *tgt ); ARGUMENTS port port structure pointer tgt bnx2fc_rport structure pointer SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2f...
bnx2fc_setup_fw_resc(9)
NAME bnx2fc_setup_fw_resc - Allocate and map hash table and dummy buffer SYNOPSIS int bnx2fc_setup_fw_resc (struct bnx2fc_hba *hba ); ARGUMENTS hba Pointer to adapter structure SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc_hwi.c bnx2fc_send_fw_fcoe_init_msg(9), bnx2fc_send_session_ofld_req(9), bnx2fc_s...
bnx2fc_setup_task_ctx(9)
NAME bnx2fc_setup_task_ctx - allocate and map task context SYNOPSIS int bnx2fc_setup_task_ctx (struct bnx2fc_hba *hba ); ARGUMENTS hba pointer to adapter structure DESCRIPTION allocate memory for task context, and associated BD table to be used by firmware SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc...
bnx2fc_tgt_lookup(9)
NAME bnx2fc_tgt_lookup - Lookup a bnx2fc_rport by port_id SYNOPSIS struct bnx2fc_rport * bnx2fc_tgt_lookup (struct fcoe_port *port , u32 port_id ); ARGUMENTS port fcoe_port struct to lookup the target port on port_id The remote port ID to look up SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc_t...
bnx2fc_ulp_exit(9)
NAME bnx2fc_ulp_exit - shuts down adapter instance and frees all resources SYNOPSIS void bnx2fc_ulp_exit (struct cnic_dev *dev ); ARGUMENTS dev cnic device handle SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_xmit(9), bnx2fc_rcv(9), bnx2fc_percpu_io_thread(9), bnx2fc_get_link_sta...
bnx2fc_ulp_get_stats(9)
NAME bnx2fc_ulp_get_stats - cnic callback to populate FCoE stats SYNOPSIS int bnx2fc_ulp_get_stats (void *handle ); ARGUMENTS handle transport handle pointing to adapter structure SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_xmit(9), bnx2fc_rcv(9), bnx2fc_percpu_io_thread(9), bnx2f...
bnx2fc_ulp_init(9)
NAME bnx2fc_ulp_init - Initialize an adapter instance SYNOPSIS void bnx2fc_ulp_init (struct cnic_dev *dev ); ARGUMENTS dev cnic device handle Called from cnic_register_driver context to initialize all enumerated cnic devices. This routine allocates adapter structure and other device specific resources. SEE A...
bnx2fc_ulp_start(9)
NAME bnx2fc_ulp_start - cnic callback to initialize & start adapter instance SYNOPSIS void bnx2fc_ulp_start (void *handle ); ARGUMENTS handle transport handle pointing to adapter structure DESCRIPTION This function maps adapter structure to pcidev structure and initiates firmware handshake to enable/initialize ...
bnx2fc_ulp_stop(9)
NAME bnx2fc_ulp_stop - cnic callback to shutdown adapter instance SYNOPSIS void bnx2fc_ulp_stop (void *handle ); ARGUMENTS handle transport handle pointing to adapter structure DESCRIPTION Driver checks if adapter is already in shutdown mode, if not start the shutdown process. SEE ALSO Kernel file ./drivers/...
bnx2fc_update_src_mac(9)
NAME bnx2fc_update_src_mac - Update Ethernet MAC filters. SYNOPSIS void bnx2fc_update_src_mac (struct fc_lport *lport , u8 *addr ); ARGUMENTS lport The local port addr Location of data to copy DESCRIPTION Remove any previously-set unicast MAC filter. Add secondary FCoE MAC address filter for ou...
bnx2fc_xmit(9)
NAME bnx2fc_xmit - bnx2fc's FCoE frame transmit function SYNOPSIS int bnx2fc_xmit (struct fc_lport *lport , struct fc_frame *fp ); ARGUMENTS lport the associated local port fp the fc_frame to be transmitted SEE ALSO Kernel file ./drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_rcv(9), bnx2fc_perc...
bnx2i_570x_send_conn_ofld_req(9)
NAME bnx2i_570x_send_conn_ofld_req - initiates iscsi conn context setup process SYNOPSIS int bnx2i_570x_send_conn_ofld_req (struct bnx2i_hba *hba , struct bnx2i_endpoint *ep ); ARGUMENTS hba adapter structure pointer ep endpoint (transport identifier) structure DESCRIPTION 5706/5708/5709 spe...
bnx2i_5771x_send_conn_ofld_req(9)
NAME bnx2i_5771x_send_conn_ofld_req - initiates iscsi connection context creation SYNOPSIS int bnx2i_5771x_send_conn_ofld_req (struct bnx2i_hba *hba , struct bnx2i_endpoint *ep ); ARGUMENTS hba adapter structure pointer ep endpoint (transport identifier) structure DESCRIPTION 57710 specific ...
bnx2i_adjust_qp_size(9)
NAME bnx2i_adjust_qp_size - Adjust SQ/RQ/CQ size for 57710 device type SYNOPSIS void bnx2i_adjust_qp_size (struct bnx2i_hba *hba ); ARGUMENTS hba Adapter for which adjustments is to be made DESCRIPTION Only applicable to 57710 family of devices SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_hwi.c bnx2i_get...
bnx2i_alloc_bdt(9)
NAME bnx2i_alloc_bdt - allocates buffer descriptor (BD) table for the command SYNOPSIS int bnx2i_alloc_bdt (struct bnx2i_hba *hba , struct iscsi_session *session , struct bnx2i_cmd *cmd ); ARGUMENTS hba adapter instance pointer session iscsi session pointer cmd iscsi command struct...
bnx2i_alloc_ep(9)
NAME bnx2i_alloc_ep - allocates ep structure from global pool SYNOPSIS struct iscsi_endpoint * bnx2i_alloc_ep (struct bnx2i_hba *hba ); ARGUMENTS hba pointer to adapter instance DESCRIPTION routine allocates a free endpoint structure from global pool and a tcp port to be used for this connection. Global res...
bnx2i_alloc_hba(9)
NAME bnx2i_alloc_hba - allocate and init adapter instance SYNOPSIS struct bnx2i_hba * bnx2i_alloc_hba (struct cnic_dev *cnic ); ARGUMENTS cnic cnic device pointer DESCRIPTION allocate & initialize adapter structure and call other support routines to do per adapter initialization SEE ALSO Kernel file ...
bnx2i_alloc_iscsi_cid(9)
NAME bnx2i_alloc_iscsi_cid - allocates a iscsi_cid from free pool SYNOPSIS u32 bnx2i_alloc_iscsi_cid (struct bnx2i_hba *hba ); ARGUMENTS hba pointer to adapter instance SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_iscsi.c bnx2i_get_write_cmd_bd_idx(9), bnx2i_setup_write_cmd_bd_info(9), ...
bnx2i_alloc_qp_resc(9)
NAME bnx2i_alloc_qp_resc - allocates required resources for QP. SYNOPSIS int bnx2i_alloc_qp_resc (struct bnx2i_hba *hba , struct bnx2i_endpoint *ep ); ARGUMENTS hba adapter structure pointer ep endpoint (transport identifier) structure DESCRIPTION Allocate QP (transport layer for iSCSI conne...
bnx2i_arm_cq_event_coalescing(9)
NAME bnx2i_arm_cq_event_coalescing - arms CQ to enable EQ notification SYNOPSIS int bnx2i_arm_cq_event_coalescing (struct bnx2i_endpoint *ep , u8 action ); ARGUMENTS ep endpoint (transport identifier) structure action action, ARM or DISARM. For now only ARM_CQE is used DESCRIPTION Arm'ing CQ wi...
bnx2i_bind_conn_to_iscsi_cid(9)
NAME bnx2i_bind_conn_to_iscsi_cid - bind conn structure to 'iscsi_cid' SYNOPSIS int bnx2i_bind_conn_to_iscsi_cid (struct bnx2i_hba *hba , struct bnx2i_conn *bnx2i_conn , u32 iscsi_cid ); ARGUMENTS hba pointer to adapter instance bnx2i_conn pointer to iscsi connection iscsi_cid iscsi context...
bnx2i_check_route(9)
NAME bnx2i_check_route - checks if target IP route belongs to one of NX2 devices SYNOPSIS struct bnx2i_hba * bnx2i_check_route (struct sockaddr *dst_addr ); ARGUMENTS dst_addr target IP address DESCRIPTION check if route resolves to BNX2 device SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_iscsi.c ...
bnx2i_chip_cleanup(9)
NAME bnx2i_chip_cleanup - local routine to handle chip cleanup SYNOPSIS void bnx2i_chip_cleanup (struct bnx2i_hba *hba ); ARGUMENTS hba Adapter instance to register DESCRIPTION Driver checks if adapter still has any active connections before executing the cleanup process SEE ALSO Kernel file ./drivers/scs...
bnx2i_cm_abort_cmpl(9)
NAME bnx2i_cm_abort_cmpl - process abortive tcp conn teardown completion SYNOPSIS void bnx2i_cm_abort_cmpl (struct cnic_sock *cm_sk ); ARGUMENTS cm_sk cnic sock structure pointer DESCRIPTION function callback exported via bnx2i - cnic driver interface to indicate completion of option-2 abortive TCP connect ter...
bnx2i_cm_close_cmpl(9)
NAME bnx2i_cm_close_cmpl - process tcp conn close completion SYNOPSIS void bnx2i_cm_close_cmpl (struct cnic_sock *cm_sk ); ARGUMENTS cm_sk cnic sock structure pointer DESCRIPTION function callback exported via bnx2i - cnic driver interface to indicate completion of option-2 graceful TCP connect shutdown SEE A...
bnx2i_cm_connect_cmpl(9)
NAME bnx2i_cm_connect_cmpl - process iscsi conn establishment completion SYNOPSIS void bnx2i_cm_connect_cmpl (struct cnic_sock *cm_sk ); ARGUMENTS cm_sk cnic sock structure pointer DESCRIPTION function callback exported via bnx2i - cnic driver interface to indicate completion of option-2 TCP connect request. ...
bnx2i_cm_remote_abort(9)
NAME bnx2i_cm_remote_abort - process TCP RST and start conn cleanup SYNOPSIS void bnx2i_cm_remote_abort (struct cnic_sock *cm_sk ); ARGUMENTS cm_sk cnic sock structure pointer DESCRIPTION function callback exported via bnx2i - cnic driver interface to indicate async TCP events (RST) sent by the peer. SEE ALSO...
bnx2i_cm_remote_close(9)
NAME bnx2i_cm_remote_close - process received TCP FIN SYNOPSIS void bnx2i_cm_remote_close (struct cnic_sock *cm_sk ); ARGUMENTS cm_sk cnic sock structure pointer DESCRIPTION function callback exported via bnx2i - cnic driver interface to indicate async TCP events such as FIN SEE ALSO Kernel file ./drive...
bnx2i_conn_alloc_login_resources(9)
NAME bnx2i_conn_alloc_login_resources - alloc DMA resources for login/nop. SYNOPSIS int bnx2i_conn_alloc_login_resources (struct bnx2i_hba *hba , struct bnx2i_conn *bnx2i_conn ); ARGUMENTS hba pointer to adapter instance bnx2i_conn iscsi connection pointer DESCRIPTION Mgmt task DNA resources are all...
bnx2i_conn_bind(9)
NAME bnx2i_conn_bind - binds iscsi sess, conn and ep objects together SYNOPSIS int bnx2i_conn_bind (struct iscsi_cls_session *cls_session , struct iscsi_cls_conn *cls_conn , uint64_t transport_fd , int is_leading ); ARGUMENTS cls_session pointer to iscsi cls session cls_conn pointer to iscsi cls conn ...
bnx2i_conn_create(9)
NAME bnx2i_conn_create - create iscsi connection instance SYNOPSIS struct iscsi_cls_conn * bnx2i_conn_create (struct iscsi_cls_session *cls_session , uint32_t cid ); ARGUMENTS cls_session pointer to iscsi cls session cid iscsi cid as per rfc (not NX2's CID terminology) DESCRIPTION Creates a new iSCSI...
bnx2i_conn_destroy(9)
NAME bnx2i_conn_destroy - destroy iscsi connection instance & release resources SYNOPSIS void bnx2i_conn_destroy (struct iscsi_cls_conn *cls_conn ); ARGUMENTS cls_conn pointer to iscsi cls conn DESCRIPTION Destroy an iSCSI connection instance and release memory resources held by this connection SEE ALSO Kernel ...
bnx2i_conn_free_login_resources(9)
NAME bnx2i_conn_free_login_resources - free DMA resources used for login process SYNOPSIS void bnx2i_conn_free_login_resources (struct bnx2i_hba *hba , struct bnx2i_conn *bnx2i_conn ); ARGUMENTS hba pointer to adapter instance bnx2i_conn iscsi connection pointer DESCRIPTION Login related resources, ...
bnx2i_conn_get_stats(9)
NAME bnx2i_conn_get_stats - returns iSCSI stats SYNOPSIS void bnx2i_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 statistic struct SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_iscsi.c ...
bnx2i_conn_start(9)
NAME bnx2i_conn_start - completes iscsi connection migration to FFP SYNOPSIS int bnx2i_conn_start (struct iscsi_cls_conn *cls_conn ); ARGUMENTS cls_conn pointer to iscsi cls conn DESCRIPTION last call in FFP migration to handover iscsi conn to the driver SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_...
bnx2i_cpu_online(9)
NAME bnx2i_cpu_online - Create a receive thread for an online CPU SYNOPSIS int bnx2i_cpu_online (unsigned int cpu ); ARGUMENTS cpu cpu index for the online cpu SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_init.c bnx2i_identify_device(9), get_adapter_list_head(9), bnx2i_find_hba_for_cnic(9), bnx2i_star...
bnx2i_cpy_scsi_cdb(9)
NAME bnx2i_cpy_scsi_cdb - copies LUN & CDB fields in required format to sq wqe SYNOPSIS void bnx2i_cpy_scsi_cdb (struct scsi_cmnd *sc , struct bnx2i_cmd *cmd ); ARGUMENTS sc SCSI-ML command pointer cmd iscsi cmd pointer SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_iscsi.c bn...
bnx2i_destroy_cmd_pool(9)
NAME bnx2i_destroy_cmd_pool - destroys iscsi command pool and release BD table SYNOPSIS void bnx2i_destroy_cmd_pool (struct bnx2i_hba *hba , struct iscsi_session *session ); ARGUMENTS hba adapter instance pointer session iscsi session pointer SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_is...
bnx2i_dev_to_hba(9)
NAME bnx2i_dev_to_hba - maps dev pointer to adapter struct SYNOPSIS struct bnx2i_hba * bnx2i_dev_to_hba (struct device *dev ); ARGUMENTS dev device pointer DESCRIPTION Map device to hba structure SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_sysfs.c bnx2i_show_sq_info(9), bnx2i_set_sq_info(9), bnx2i_show_...
bnx2i_drop_session(9)
NAME bnx2i_drop_session - notifies iscsid of connection error. SYNOPSIS void bnx2i_drop_session (struct iscsi_cls_session *cls_session ); ARGUMENTS cls_session iscsi cls session pointer DESCRIPTION This notifies iscsid that there is a error, so it can initiate recovery. This relies on caller using the iscsi class i...
bnx2i_ep_active_list_add(9)
NAME bnx2i_ep_active_list_add - add an entry to ep active list SYNOPSIS void bnx2i_ep_active_list_add (struct bnx2i_hba *hba , struct bnx2i_endpoint *ep ); ARGUMENTS hba pointer to adapter instance ep pointer to endpoint (transport identifier) structure DESCRIPTION current active conn queue ...
bnx2i_ep_active_list_del(9)
NAME bnx2i_ep_active_list_del - deletes an entry to ep active list SYNOPSIS void bnx2i_ep_active_list_del (struct bnx2i_hba *hba , struct bnx2i_endpoint *ep ); ARGUMENTS hba pointer to adapter instance ep pointer to endpoint (transport identifier) structure DESCRIPTION current active conn qu...
bnx2i_ep_connect(9)
NAME bnx2i_ep_connect - establish TCP connection to target portal SYNOPSIS struct iscsi_endpoint * bnx2i_ep_connect (struct Scsi_Host *shost , struct sockaddr *dst_addr , int non_blocking ); ARGUMENTS shost scsi host dst_addr target IP address non_blocking blocking or non-b...
bnx2i_ep_destroy_list_add(9)
NAME bnx2i_ep_destroy_list_add - add an entry to EP destroy list SYNOPSIS int bnx2i_ep_destroy_list_add (struct bnx2i_hba *hba , struct bnx2i_endpoint *ep ); ARGUMENTS hba pointer to adapter instance ep pointer to endpoint (transport identifier) structure DESCRIPTION EP destroy queue manager...
bnx2i_ep_destroy_list_del(9)
NAME bnx2i_ep_destroy_list_del - add an entry to EP destroy list SYNOPSIS int bnx2i_ep_destroy_list_del (struct bnx2i_hba *hba , struct bnx2i_endpoint *ep ); ARGUMENTS hba pointer to adapter instance ep pointer to endpoint (transport identifier) structure DESCRIPTION EP destroy queue manager...
bnx2i_ep_disconnect(9)
NAME bnx2i_ep_disconnect - executes TCP connection teardown process SYNOPSIS void bnx2i_ep_disconnect (struct iscsi_endpoint *ep ); ARGUMENTS ep TCP connection (iscsi endpoint) handle DESCRIPTION executes TCP connection teardown process SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_iscsi.c ...
bnx2i_ep_get_param(9)
NAME bnx2i_ep_get_param - return iscsi ep parameter to caller SYNOPSIS int bnx2i_ep_get_param (struct iscsi_endpoint *ep , enum iscsi_param param , char *buf ); ARGUMENTS ep pointer to iscsi endpoint param parameter type identifier buf buffer pointer DESCRIPTION returns iSCSI e...
bnx2i_ep_ofld_list_add(9)
NAME bnx2i_ep_ofld_list_add - add an entry to ep offload pending list SYNOPSIS int bnx2i_ep_ofld_list_add (struct bnx2i_hba *hba , struct bnx2i_endpoint *ep ); ARGUMENTS hba pointer to adapter instance ep pointer to endpoint (transport identifier) structure DESCRIPTION pending conn offload c...
bnx2i_ep_ofld_list_del(9)
NAME bnx2i_ep_ofld_list_del - add an entry to ep offload pending list SYNOPSIS int bnx2i_ep_ofld_list_del (struct bnx2i_hba *hba , struct bnx2i_endpoint *ep ); ARGUMENTS hba pointer to adapter instance ep pointer to endpoint (transport identifier) structure DESCRIPTION pending conn offload c...
bnx2i_ep_ofld_timer(9)
NAME bnx2i_ep_ofld_timer - post iSCSI logout request WQE to hardware SYNOPSIS void bnx2i_ep_ofld_timer (struct timer_list *t ); ARGUMENTS t timer context used to fetch the endpoint (transport handle) structure pointer DESCRIPTION routine to handle connection offload/destroy request timeout SEE ALSO Kernel...
bnx2i_ep_poll(9)
NAME bnx2i_ep_poll - polls for TCP connection establishement SYNOPSIS int bnx2i_ep_poll (struct iscsi_endpoint *ep , int timeout_ms ); ARGUMENTS ep TCP connection (endpoint) handle timeout_ms timeout value in milli secs DESCRIPTION polls for TCP connect request to complete SEE ALSO Kernel fil...
bnx2i_ep_tcp_conn_active(9)
NAME bnx2i_ep_tcp_conn_active - check EP state transition SYNOPSIS int bnx2i_ep_tcp_conn_active (struct bnx2i_endpoint *bnx2i_ep ); ARGUMENTS bnx2i_ep endpoint pointer DESCRIPTION check if underlying TCP connection is active SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_iscsi.c bnx2i_get_write_cm...
bnx2i_fastpath_notification(9)
NAME bnx2i_fastpath_notification - process global event queue (KCQ) SYNOPSIS void bnx2i_fastpath_notification (struct bnx2i_hba *hba , struct iscsi_kcqe *new_cqe_kcqe ); ARGUMENTS hba adapter structure pointer new_cqe_kcqe pointer to newly DMA'ed KCQE entry DESCRIPTION Fast path ev...
bnx2i_find_ep_in_destroy_list(9)
NAME bnx2i_find_ep_in_destroy_list - find iscsi_cid in destroy list SYNOPSIS struct bnx2i_endpoint * bnx2i_find_ep_in_destroy_list (struct bnx2i_hba *hba , u32 iscsi_cid ); ARGUMENTS hba pointer to adapter instance iscsi_cid iscsi context ID to find SEE ALSO Kernel file ./drivers/scsi/bnx...
bnx2i_find_ep_in_ofld_list(9)
NAME bnx2i_find_ep_in_ofld_list - find iscsi_cid in pending list of endpoints SYNOPSIS struct bnx2i_endpoint * bnx2i_find_ep_in_ofld_list (struct bnx2i_hba *hba , u32 iscsi_cid ); ARGUMENTS hba pointer to adapter instance iscsi_cid iscsi context ID to find SEE ALSO Kernel file ./drivers/s...
bnx2i_find_hba_for_cnic(9)
NAME bnx2i_find_hba_for_cnic - maps cnic device instance to bnx2i adapter instance SYNOPSIS struct bnx2i_hba * bnx2i_find_hba_for_cnic (struct cnic_dev *cnic ); ARGUMENTS cnic pointer to cnic device instance SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_init.c bnx2i_identify_device(9), get_adapter_li...
bnx2i_free_ep(9)
NAME bnx2i_free_ep - free endpoint SYNOPSIS void bnx2i_free_ep (struct iscsi_endpoint *ep ); ARGUMENTS ep pointer to iscsi endpoint structure SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_iscsi.c bnx2i_get_write_cmd_bd_idx(9), bnx2i_setup_write_cmd_bd_info(9), bnx2i_map_scsi_sg(9), ...
bnx2i_free_hba(9)
NAME bnx2i_free_hba - releases hba structure and resources held by the adapter SYNOPSIS void bnx2i_free_hba (struct bnx2i_hba *hba ); ARGUMENTS hba pointer to adapter instance DESCRIPTION free adapter structure and call various cleanup routines. SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_iscs...
bnx2i_free_iscsi_cid(9)
NAME bnx2i_free_iscsi_cid - returns tcp port to free list SYNOPSIS void bnx2i_free_iscsi_cid (struct bnx2i_hba *hba , u16 iscsi_cid ); ARGUMENTS hba pointer to adapter instance iscsi_cid iscsi context ID to free SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_iscsi.c bnx2i_get_write_c...
bnx2i_free_mp_bdt(9)
NAME bnx2i_free_mp_bdt - releases ITT back to free pool SYNOPSIS void bnx2i_free_mp_bdt (struct bnx2i_hba *hba ); ARGUMENTS hba pointer to adapter instance DESCRIPTION free MP dummy buffer and associated BD table SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_iscsi.c bnx2i_get_write_cmd_bd_id...
bnx2i_free_qp_resc(9)
NAME bnx2i_free_qp_resc - free memory resources held by QP SYNOPSIS void bnx2i_free_qp_resc (struct bnx2i_hba *hba , struct bnx2i_endpoint *ep ); ARGUMENTS hba adapter structure pointer ep endpoint (transport identifier) structure DESCRIPTION Free QP resources - SQ/RQ/CQ memory and page tabl...
bnx2i_get_cid_num(9)
NAME bnx2i_get_cid_num - get cid from ep SYNOPSIS u32 bnx2i_get_cid_num (struct bnx2i_endpoint *ep ); ARGUMENTS ep endpoint pointer DESCRIPTION Only applicable to 57710 family of devices SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_hwi.c bnx2i_adjust_qp_size(9), bnx2i_get_link_state(9), b...
bnx2i_get_conn_from_id(9)
NAME bnx2i_get_conn_from_id - maps an iscsi cid to corresponding conn ptr SYNOPSIS struct bnx2i_conn * bnx2i_get_conn_from_id (struct bnx2i_hba *hba , u16 iscsi_cid ); ARGUMENTS hba pointer to adapter instance iscsi_cid iscsi context ID, range 0 - (MAX_CONN - 1) SEE ALSO Kernel file ./dri...
bnx2i_get_link_state(9)
NAME bnx2i_get_link_state - get network interface link state SYNOPSIS void bnx2i_get_link_state (struct bnx2i_hba *hba ); ARGUMENTS hba adapter instance pointer DESCRIPTION updates adapter structure flag based on netdev state SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_hwi.c bnx2i_get_cid_num(9), bnx2i_...
bnx2i_get_rq_buf(9)
NAME bnx2i_get_rq_buf - copy RQ buffer contents to driver buffer SYNOPSIS void bnx2i_get_rq_buf (struct bnx2i_conn *bnx2i_conn , char *ptr , int len ); ARGUMENTS bnx2i_conn iscsi connection on which RQ event occurred ptr driver buffer to which RQ buffer contents is to be copied len le...
bnx2i_get_stats(9)
NAME bnx2i_get_stats - Retrieve various statistic from iSCSI offload SYNOPSIS int bnx2i_get_stats (void *handle ); ARGUMENTS handle bnx2i_hba DESCRIPTION function callback exported via bnx2i - cnic driver interface to retrieve various iSCSI offload related statistics. SEE ALSO Kernel file ./drivers/scsi/bnx2...
bnx2i_get_write_cmd_bd_idx(9)
NAME bnx2i_get_write_cmd_bd_idx - identifies various BD bookmarks SYNOPSIS void bnx2i_get_write_cmd_bd_idx (struct bnx2i_cmd *cmd , u32 buf_off , u32 *start_bd_off , u32 *start_bd_idx ); ARGUMENTS cmd iscsi cmd struct pointer buf_off absolute buffer offset start_bd_off u...
bnx2i_host_get_param(9)
NAME bnx2i_host_get_param - returns host (adapter) related parameters SYNOPSIS int bnx2i_host_get_param (struct Scsi_Host *shost , enum iscsi_host_param param , char *buf ); ARGUMENTS shost scsi host pointer param parameter type identifier buf buffer pointer SEE ALSO Kernel f...
bnx2i_hw_ep_disconnect(9)
NAME bnx2i_hw_ep_disconnect - executes TCP connection teardown process in the hw SYNOPSIS int bnx2i_hw_ep_disconnect (struct bnx2i_endpoint *bnx2i_ep ); ARGUMENTS bnx2i_ep TCP connection (bnx2i endpoint) handle DESCRIPTION executes TCP connection teardown process SEE ALSO Kernel file ./drivers/scsi/bn...
bnx2i_identify_device(9)
NAME bnx2i_identify_device - identifies NetXtreme II device type SYNOPSIS void bnx2i_identify_device (struct bnx2i_hba *hba , struct cnic_dev *dev ); ARGUMENTS hba Adapter structure pointer dev Corresponding cnic device DESCRIPTION This function identifies the NX2 device type and sets appropr...
bnx2i_indicate_kcqe(9)
NAME bnx2i_indicate_kcqe - process iscsi conn update completion KCQE SYNOPSIS void bnx2i_indicate_kcqe (void *context , struct kcqe *kcqe[] , u32 num_cqe ); ARGUMENTS context adapter structure pointer kcqe kcqe pointer num_cqe number of kcqes to process DESCRIPTION Generic KCQ event ha...
bnx2i_indicate_netevent(9)
NAME bnx2i_indicate_netevent - Generic netdev event handler SYNOPSIS void bnx2i_indicate_netevent (void *context , unsigned long event , u16 vlan_id ); ARGUMENTS context adapter structure pointer event event type vlan_id vlans id - associated vlan id with this event DESCRIPTION Handles ...
bnx2i_init_one(9)
NAME bnx2i_init_one - initialize an adapter instance and allocate memory resources SYNOPSIS int bnx2i_init_one (struct bnx2i_hba *hba , struct cnic_dev *cnic ); ARGUMENTS hba bnx2i adapter instance cnic cnic device handle DESCRIPTION Global resource lock is held during critical sections below....
bnx2i_iscsi_license_error(9)
NAME bnx2i_iscsi_license_error - displays iscsi license related error message SYNOPSIS void bnx2i_iscsi_license_error (struct bnx2i_hba *hba , u32 error_code ); ARGUMENTS hba adapter instance pointer error_code error classification DESCRIPTION Puts out an error log when driver is unable to offload i...
bnx2i_iscsi_map_sg_list(9)
NAME bnx2i_iscsi_map_sg_list - maps SG list SYNOPSIS void bnx2i_iscsi_map_sg_list (struct bnx2i_cmd *cmd ); ARGUMENTS cmd iscsi cmd struct pointer DESCRIPTION creates BD list table for the command SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_iscsi.c bnx2i_get_write_cmd_bd_idx(9), bnx2i_se...
bnx2i_iscsi_prep_generic_pdu_bd(9)
NAME bnx2i_iscsi_prep_generic_pdu_bd - prepares BD table. SYNOPSIS void bnx2i_iscsi_prep_generic_pdu_bd (struct bnx2i_conn *bnx2i_conn ); ARGUMENTS bnx2i_conn iscsi connection pointer DESCRIPTION Allocates buffers and BD tables before shipping requests to cnic for PDUs prepared by 'iscsid' daemon SEE ALSO Kernel ...
bnx2i_iscsi_send_generic_request(9)
NAME bnx2i_iscsi_send_generic_request - called to send mgmt tasks. SYNOPSIS int bnx2i_iscsi_send_generic_request (struct iscsi_task *task ); ARGUMENTS task transport layer task pointer DESCRIPTION called to transmit PDUs prepared by the 'iscsid' daemon. iSCSI login, Nop-out and Logout requests flow through th...
bnx2i_iscsi_unmap_sg_list(9)
NAME bnx2i_iscsi_unmap_sg_list - unmaps SG list SYNOPSIS void bnx2i_iscsi_unmap_sg_list (struct bnx2i_cmd *cmd ); ARGUMENTS cmd iscsi cmd struct pointer DESCRIPTION unmap IO buffers and invalidate the BD table SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_iscsi.c bnx2i_get_write_cmd_bd_idx(9), bnx2i_setup...
bnx2i_map_ep_dbell_regs(9)
NAME bnx2i_map_ep_dbell_regs - map connection doorbell registers SYNOPSIS int bnx2i_map_ep_dbell_regs (struct bnx2i_endpoint *ep ); ARGUMENTS ep bnx2i endpoint DESCRIPTION maps connection's SQ and RQ doorbell registers, 5706/5708/5709 hosts these register in BAR #0. Whereas in 57710 these register are acces...
bnx2i_map_scsi_sg(9)
NAME bnx2i_map_scsi_sg - maps IO buffer and prepares the BD table SYNOPSIS int bnx2i_map_scsi_sg (struct bnx2i_hba *hba , struct bnx2i_cmd *cmd ); ARGUMENTS hba adapter instance cmd iscsi cmd struct pointer DESCRIPTION map SG list SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_iscsi.c...
bnx2i_mod_exit(9)
NAME bnx2i_mod_exit - module cleanup/exit entry point SYNOPSIS void bnx2i_mod_exit (void ); ARGUMENTS void no arguments DESCRIPTION Global resource lock and host adapter lock is held during critical sections in this function. Driver will browse through the adapter list, cleans-up each instance, unregisters i...
bnx2i_mod_init(9)
NAME bnx2i_mod_init - module init entry point SYNOPSIS int bnx2i_mod_init (void ); ARGUMENTS void no arguments DESCRIPTION initialize any driver wide global data structures such as endpoint pool, tcp port manager/queue, sysfs. finally driver will register itself with the cnic module SEE ALSO Kernel file ./...
bnx2i_mtask_xmit(9)
NAME bnx2i_mtask_xmit - transmit mtask to chip for further processing SYNOPSIS int bnx2i_mtask_xmit (struct iscsi_conn *conn , struct iscsi_task *task ); ARGUMENTS conn transport layer conn structure pointer task transport layer command structure pointer SEE ALSO Kernel file ./drivers...
bnx2i_nl_set_path(9)
NAME bnx2i_nl_set_path - ISCSI_UEVENT_PATH_UPDATE user message handler SYNOPSIS int bnx2i_nl_set_path (struct Scsi_Host *shost , struct iscsi_path *params ); ARGUMENTS shost scsi host pointer params pointer to buffer containing iscsi path message SEE ALSO Kernel file ./drivers/scsi/bnx2i...
bnx2i_percpu_io_thread(9)
NAME bnx2i_percpu_io_thread - thread per cpu for ios SYNOPSIS int bnx2i_percpu_io_thread (void *arg ); ARGUMENTS arg ptr to bnx2i_percpu_info structure SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_hwi.c bnx2i_get_cid_num(9), bnx2i_adjust_qp_size(9), bnx2i_get_link_state(9), bnx2i_iscsi_lic...
bnx2i_process_async_mesg(9)
NAME bnx2i_process_async_mesg - this function handles iscsi async message SYNOPSIS void bnx2i_process_async_mesg (struct iscsi_session *session , struct bnx2i_conn *bnx2i_conn , struct cqe *cqe ); ARGUMENTS session iscsi session pointer bnx2i_conn iscsi connection pointer cqe pointer to n...
bnx2i_process_cmd_cleanup_resp(9)
NAME bnx2i_process_cmd_cleanup_resp - process scsi command clean-up completion SYNOPSIS void bnx2i_process_cmd_cleanup_resp (struct iscsi_session *session , struct bnx2i_conn *bnx2i_conn , struct cqe *cqe ); ARGUMENTS session iscsi session pointer bnx2i_conn iscsi connection pointer cqe p...
bnx2i_process_conn_destroy_cmpl(9)
NAME bnx2i_process_conn_destroy_cmpl - process iscsi conn destroy completion SYNOPSIS void bnx2i_process_conn_destroy_cmpl (struct bnx2i_hba *hba , struct iscsi_kcqe *conn_destroy ); ARGUMENTS hba adapter structure pointer conn_destroy conn destroy kcqe pointer DESCRIPTION handles ...
bnx2i_process_iscsi_error(9)
NAME bnx2i_process_iscsi_error - process error notification on a given connection SYNOPSIS void bnx2i_process_iscsi_error (struct bnx2i_hba *hba , struct iscsi_kcqe *iscsi_err ); ARGUMENTS hba adapter structure pointer iscsi_err iscsi error kcqe pointer DESCRIPTION handles iscsi error notifications...
bnx2i_process_login_resp(9)
NAME bnx2i_process_login_resp - this function handles iscsi login response SYNOPSIS int bnx2i_process_login_resp (struct iscsi_session *session , struct bnx2i_conn *bnx2i_conn , struct cqe *cqe ); ARGUMENTS session iscsi session pointer bnx2i_conn iscsi connection pointer cqe pointer to n...
bnx2i_process_logout_resp(9)
NAME bnx2i_process_logout_resp - this function handles iscsi logout response SYNOPSIS int bnx2i_process_logout_resp (struct iscsi_session *session , struct bnx2i_conn *bnx2i_conn , struct cqe *cqe ); ARGUMENTS session iscsi session pointer bnx2i_conn iscsi connection pointer cqe pointer t...
bnx2i_process_new_cqes(9)
NAME bnx2i_process_new_cqes - process newly DMA'ed CQE's SYNOPSIS int bnx2i_process_new_cqes (struct bnx2i_conn *bnx2i_conn ); ARGUMENTS bnx2i_conn bnx2i connection DESCRIPTION this function is called by generic KCQ handler to process all pending CQE's SEE ALSO Kernel file ./drivers/scsi/bnx2i/bnx2i_hwi.c ...
bnx2i_process_nopin_local_cmpl(9)
NAME bnx2i_process_nopin_local_cmpl - this function handles iscsi nopin CQE SYNOPSIS void bnx2i_process_nopin_local_cmpl (struct iscsi_session *session , struct bnx2i_conn *bnx2i_conn , struct cqe *cqe ); ARGUMENTS session iscsi session pointer bnx2i_conn iscsi connection pointer cqe poin...
bnx2i_process_nopin_mesg(9)
NAME bnx2i_process_nopin_mesg - this function handles iscsi nopin CQE SYNOPSIS int bnx2i_process_nopin_mesg (struct iscsi_session *session , struct bnx2i_conn *bnx2i_conn , struct cqe *cqe ); ARGUMENTS session iscsi session pointer bnx2i_conn iscsi connection pointer cqe pointer to newly ...
bnx2i_process_ofld_cmpl(9)
NAME bnx2i_process_ofld_cmpl - process initial iscsi conn offload completion SYNOPSIS void bnx2i_process_ofld_cmpl (struct bnx2i_hba *hba , struct iscsi_kcqe *ofld_kcqe ); ARGUMENTS hba adapter structure pointer ofld_kcqe conn offload kcqe pointer DESCRIPTION handles initial connection offload comp...