id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
bnx2i_process_reject_mesg(9) | NAME bnx2i_process_reject_mesg - process iscsi reject pdu
SYNOPSIS void bnx2i_process_reject_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 DMA'ed CQE... |
bnx2i_process_scsi_cmd_resp(9) | NAME bnx2i_process_scsi_cmd_resp - this function handles scsi cmd completion.
SYNOPSIS int bnx2i_process_scsi_cmd_resp (struct iscsi_session *session , struct bnx2i_conn *bnx2i_conn , struct cqe *cqe );
ARGUMENTS session iscsi session
bnx2i_conn bnx2i connection
cqe pointer to newly DMA'e... |
bnx2i_process_tcp_error(9) | NAME bnx2i_process_tcp_error - process error notification on a given connection
SYNOPSIS void bnx2i_process_tcp_error (struct bnx2i_hba *hba , struct iscsi_kcqe *tcp_err );
ARGUMENTS hba adapter structure pointer
tcp_err tcp error kcqe pointer
DESCRIPTION handles tcp level error notifications fro... |
bnx2i_process_text_resp(9) | NAME bnx2i_process_text_resp - this function handles iscsi text response
SYNOPSIS int bnx2i_process_text_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 newl... |
bnx2i_process_tmf_resp(9) | NAME bnx2i_process_tmf_resp - this function handles iscsi TMF response
SYNOPSIS int bnx2i_process_tmf_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 newly D... |
bnx2i_process_update_conn_cmpl(9) | NAME bnx2i_process_update_conn_cmpl - process iscsi conn update completion KCQE
SYNOPSIS void bnx2i_process_update_conn_cmpl (struct bnx2i_hba *hba , struct iscsi_kcqe *update_kcqe );
ARGUMENTS hba adapter structure pointer
update_kcqe kcqe pointer
DESCRIPTION CONN_UPDATE completion handler, this com... |
bnx2i_put_rq_buf(9) | NAME bnx2i_put_rq_buf - Replenish RQ buffer, if required ring on chip doorbell
SYNOPSIS void bnx2i_put_rq_buf (struct bnx2i_conn *bnx2i_conn , int count );
ARGUMENTS bnx2i_conn iscsi connection on which event to post
count number of RQ buffer being posted to chip
DESCRIPTION No need to ring hardware d... |
bnx2i_queue_scsi_cmd_resp(9) | NAME bnx2i_queue_scsi_cmd_resp - queue cmd completion to the percpu thread
SYNOPSIS int bnx2i_queue_scsi_cmd_resp (struct iscsi_session *session , struct bnx2i_conn *bnx2i_conn , struct bnx2i_nop_in_msg *cqe );
ARGUMENTS session iscsi session
bnx2i_conn bnx2i connection
cqe pointer to new... |
bnx2i_recovery_que_add_conn(9) | NAME bnx2i_recovery_que_add_conn - add connection to recovery queue
SYNOPSIS void bnx2i_recovery_que_add_conn (struct bnx2i_hba *hba , struct bnx2i_conn *bnx2i_conn );
ARGUMENTS hba adapter structure pointer
bnx2i_conn iscsi connection
DESCRIPTION Add connection to recovery queue and schedule adapte... |
bnx2i_release_free_cid_que(9) | NAME bnx2i_release_free_cid_que - releases 'iscsi_cid' queue resources
SYNOPSIS void bnx2i_release_free_cid_que (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... |
bnx2i_ring_dbell_update_sq_params(9) | NAME bnx2i_ring_dbell_update_sq_params - update SQ driver parameters
SYNOPSIS void bnx2i_ring_dbell_update_sq_params (struct bnx2i_conn *bnx2i_conn , int count );
ARGUMENTS bnx2i_conn iscsi connection to which new SQ entries belong
count number of SQ WQEs to post
DESCRIPTION this routine will update S... |
bnx2i_ring_sq_dbell(9) | NAME bnx2i_ring_sq_dbell - Ring SQ doorbell to wake-up the processing engine
SYNOPSIS void bnx2i_ring_sq_dbell (struct bnx2i_conn *bnx2i_conn , int count );
ARGUMENTS bnx2i_conn iscsi connection to which new SQ entries belong
count number of SQ WQEs to post
DESCRIPTION SQ DB is updated in host memory ... |
bnx2i_send_cmd_cleanup_req(9) | NAME bnx2i_send_cmd_cleanup_req - send iscsi cmd context clean-up request
SYNOPSIS void bnx2i_send_cmd_cleanup_req (struct bnx2i_hba *hba , struct bnx2i_cmd *cmd );
ARGUMENTS hba adapter structure pointer
cmd driver command structure which is requesting a WQE to sent to chip for further proces... |
bnx2i_send_conn_destroy(9) | NAME bnx2i_send_conn_destroy - initiates iscsi connection teardown process
SYNOPSIS int bnx2i_send_conn_destroy (struct bnx2i_hba *hba , struct bnx2i_endpoint *ep );
ARGUMENTS hba adapter structure pointer
ep endpoint (transport identifier) structure
DESCRIPTION this routine prepares and pos... |
bnx2i_send_conn_ofld_req(9) | NAME bnx2i_send_conn_ofld_req - initiates iscsi connection context setup process
SYNOPSIS int bnx2i_send_conn_ofld_req (struct bnx2i_hba *hba , struct bnx2i_endpoint *ep );
ARGUMENTS hba adapter structure pointer
ep endpoint (transport identifier) structure
DESCRIPTION this routine prepares ... |
bnx2i_send_fw_iscsi_init_msg(9) | NAME bnx2i_send_fw_iscsi_init_msg - initiates initial handshake with iscsi f/w
SYNOPSIS int bnx2i_send_fw_iscsi_init_msg (struct bnx2i_hba *hba );
ARGUMENTS hba adapter structure pointer
DESCRIPTION Send down iscsi_init KWQEs which initiates the initial handshake with the f/w This results in iSCSi support va... |
bnx2i_send_iscsi_login(9) | NAME bnx2i_send_iscsi_login - post iSCSI login request MP WQE to hardware
SYNOPSIS int bnx2i_send_iscsi_login (struct bnx2i_conn *bnx2i_conn , struct iscsi_task *task );
ARGUMENTS bnx2i_conn iscsi connection
task transport layer's command structure pointer which is requesting a WQE to sent to chip for... |
bnx2i_send_iscsi_logout(9) | NAME bnx2i_send_iscsi_logout - post iSCSI logout request WQE to hardware
SYNOPSIS int bnx2i_send_iscsi_logout (struct bnx2i_conn *bnx2i_conn , struct iscsi_task *task );
ARGUMENTS bnx2i_conn iscsi connection
task transport layer's command structure pointer which is requesting a WQE to sent to chip for... |
bnx2i_send_iscsi_nopout(9) | NAME bnx2i_send_iscsi_nopout - post iSCSI NOPOUT request WQE to hardware
SYNOPSIS int bnx2i_send_iscsi_nopout (struct bnx2i_conn *bnx2i_conn , struct iscsi_task *task , char *datap , int data_len , int unsol );
ARGUMENTS bnx2i_conn iscsi connection
task transport layer's command structure pointer whic... |
bnx2i_send_iscsi_scsicmd(9) | NAME bnx2i_send_iscsi_scsicmd - post iSCSI scsicmd request WQE to hardware
SYNOPSIS int bnx2i_send_iscsi_scsicmd (struct bnx2i_conn *bnx2i_conn , struct bnx2i_cmd *cmd );
ARGUMENTS bnx2i_conn iscsi connection
cmd driver command structure which is requesting a WQE to sent to chip for further processin... |
bnx2i_send_iscsi_text(9) | NAME bnx2i_send_iscsi_text - post iSCSI text WQE to hardware
SYNOPSIS int bnx2i_send_iscsi_text (struct bnx2i_conn *bnx2i_conn , struct iscsi_task *mtask );
ARGUMENTS bnx2i_conn iscsi connection
mtask driver command structure which is requesting a WQE to sent to chip for further processing
DESCRIPTION... |
bnx2i_send_iscsi_tmf(9) | NAME bnx2i_send_iscsi_tmf - post iSCSI task management request MP WQE to hardware
SYNOPSIS int bnx2i_send_iscsi_tmf (struct bnx2i_conn *bnx2i_conn , struct iscsi_task *mtask );
ARGUMENTS bnx2i_conn iscsi connection
mtask driver command structure which is requesting a WQE to sent to chip for further pro... |
bnx2i_session_create(9) | NAME bnx2i_session_create - create a new iscsi session
SYNOPSIS struct iscsi_cls_session * bnx2i_session_create (struct iscsi_endpoint *ep , uint16_t cmds_max , uint16_t qdepth , uint32_t initial_cmdsn );
ARGUMENTS ep pointer to iscsi endpoint
cmds_max user specified maximum commands
qdept... |
bnx2i_session_destroy(9) | NAME bnx2i_session_destroy - destroys iscsi session
SYNOPSIS void bnx2i_session_destroy (struct iscsi_cls_session *cls_session );
ARGUMENTS cls_session pointer to iscsi cls session
DESCRIPTION Destroys previously created iSCSI session instance and releases all resources held by it
SEE ALSO Kernel file ./d... |
bnx2i_set_ccell_info(9) | NAME bnx2i_set_ccell_info - set command cell (HQ) size
SYNOPSIS ssize_t bnx2i_set_ccell_info (struct device *dev , struct device_attribute *attr , const char *buf , size_t count );
ARGUMENTS dev device pointer
attr device attribute (unused)
buf buffer to return current SQ size p... |
bnx2i_set_sq_info(9) | NAME bnx2i_set_sq_info - update send queue (SQ) size parameter
SYNOPSIS ssize_t bnx2i_set_sq_info (struct device *dev , struct device_attribute *attr , const char *buf , size_t count );
ARGUMENTS dev device pointer
attr device attribute (unused)
buf buffer to return current SQ s... |
bnx2i_setup_cmd_pool(9) | NAME bnx2i_setup_cmd_pool - sets up iscsi command pool for the session
SYNOPSIS int bnx2i_setup_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_iscsi.c... |
bnx2i_setup_free_cid_que(9) | NAME bnx2i_setup_free_cid_que - sets up free iscsi cid queue
SYNOPSIS int bnx2i_setup_free_cid_que (struct bnx2i_hba *hba );
ARGUMENTS hba pointer to adapter instance
DESCRIPTION allocates memory for iscsi cid queue & 'cid - conn ptr' mapping table, and initialize table attributes
SEE ALSO Kernel file ... |
bnx2i_setup_host_queue_size(9) | NAME bnx2i_setup_host_queue_size - assigns shost->can_queue param
SYNOPSIS void bnx2i_setup_host_queue_size (struct bnx2i_hba *hba , struct Scsi_Host *shost );
ARGUMENTS hba pointer to adapter instance
shost scsi host pointer
DESCRIPTION Initializes 'can_queue' parameter based on how many outst... |
bnx2i_setup_mp_bdt(9) | NAME bnx2i_setup_mp_bdt - allocate BD table resources
SYNOPSIS int bnx2i_setup_mp_bdt (struct bnx2i_hba *hba );
ARGUMENTS hba pointer to adapter structure
DESCRIPTION Allocate memory for dummy buffer and associated BD table to be used by middle path (MP) requests
SEE ALSO Kernel file ./drivers/scs... |
bnx2i_setup_write_cmd_bd_info(9) | NAME bnx2i_setup_write_cmd_bd_info - sets up BD various information
SYNOPSIS void bnx2i_setup_write_cmd_bd_info (struct iscsi_task *task );
ARGUMENTS task transport layer's cmd struct pointer
DESCRIPTION identifies & marks various bd info for scsi command's immediate data, unsolicited data and first solicited... |
bnx2i_show_ccell_info(9) | NAME bnx2i_show_ccell_info - returns command cell (HQ) size
SYNOPSIS ssize_t bnx2i_show_ccell_info (struct device *dev , struct device_attribute *attr , char *buf );
ARGUMENTS dev device pointer
attr device attribute (unused)
buf buffer to return current SQ size parameter
DESCR... |
bnx2i_show_sq_info(9) | NAME bnx2i_show_sq_info - return(s currently configured send queue (SQ) size
SYNOPSIS ssize_t bnx2i_show_sq_info (struct device *dev , struct device_attribute *attr , char *buf );
ARGUMENTS dev device pointer
attr device attribute (unused)
buf buffer to return current SQ size pa... |
bnx2i_start(9) | NAME bnx2i_start - cnic callback to initialize & start adapter instance
SYNOPSIS void bnx2i_start (void *handle );
ARGUMENTS handle transparent handle pointing to adapter structure
DESCRIPTION This function maps adapter structure to pcidev structure and initiates firmware handshake to enable/initialize on chi... |
bnx2i_stop(9) | NAME bnx2i_stop - cnic callback to shutdown adapter instance
SYNOPSIS void bnx2i_stop (void *handle );
ARGUMENTS handle transparent 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/scsi/bnx2i/... |
bnx2i_task_xmit(9) | NAME bnx2i_task_xmit - transmit iscsi command to chip for further processing
SYNOPSIS int bnx2i_task_xmit (struct iscsi_task *task );
ARGUMENTS task transport layer command structure pointer
DESCRIPTION maps SG buffers and send request to chip/firmware in the form of SQ WQE
SEE ALSO Kernel file ./d... |
bnx2i_tear_down_conn(9) | NAME bnx2i_tear_down_conn - tear down iscsi/tcp connection and free resources
SYNOPSIS int bnx2i_tear_down_conn (struct bnx2i_hba *hba , struct bnx2i_endpoint *ep );
ARGUMENTS hba pointer to adapter instance
ep endpoint (transport identifier) structure
DESCRIPTION destroys cm_sock structure ... |
bnx2i_ulp_exit(9) | NAME bnx2i_ulp_exit - shuts down adapter instance and frees all resources
SYNOPSIS void bnx2i_ulp_exit (struct cnic_dev *dev );
ARGUMENTS dev cnic device handle
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_sta... |
bnx2i_ulp_init(9) | NAME bnx2i_ulp_init - initialize an adapter instance
SYNOPSIS void bnx2i_ulp_init (struct cnic_dev *dev );
ARGUMENTS dev cnic device handle
DESCRIPTION Called from cnic_register_driver context to initialize all enumerated cnic devices. This routine allocate adapter structure and other device specific resourc... |
bnx2i_unsol_pdu_adjust_rq(9) | NAME bnx2i_unsol_pdu_adjust_rq - makes adjustments to RQ after unsol pdu is recvd
SYNOPSIS void bnx2i_unsol_pdu_adjust_rq (struct bnx2i_conn *bnx2i_conn );
ARGUMENTS bnx2i_conn iscsi connection
DESCRIPTION Firmware advances RQ producer index for every unsolicited PDU even if payload data length is '0'. This functio... |
bnx2i_update_iscsi_conn(9) | NAME bnx2i_update_iscsi_conn - post iSCSI logout request WQE to hardware
SYNOPSIS void bnx2i_update_iscsi_conn (struct iscsi_conn *conn );
ARGUMENTS conn iscsi connection which requires iscsi parameter update
DESCRIPTION sends down iSCSI Conn Update request to move iSCSI conn to FFP
SEE ALSO Kernel file ... |
bnx2x__init_func_obj(9) | NAME bnx2x__init_func_obj - init function object
SYNOPSIS void bnx2x__init_func_obj (struct bnx2x *bp );
ARGUMENTS bp driver handle
DESCRIPTION Initializes the Function Object with the appropriate parameters which include a function slow path driver interface.
SEE ALSO Kernel file ./drivers/net/etherne... |
bnx2x__link_status_update(9) | NAME bnx2x__link_status_update - handles link status change.
SYNOPSIS void bnx2x__link_status_update (struct bnx2x *bp );
ARGUMENTS bp driver handle
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h bnx2x_send_unload_req(9), bnx2x_send_unload_done(9), bnx2x__init_func_obj(9), bnx2x_... |
bnx2x_acquire_hw_lock(9) | NAME bnx2x_acquire_hw_lock - acquire HW lock.
SYNOPSIS int bnx2x_acquire_hw_lock (struct bnx2x *bp , u32 resource );
ARGUMENTS bp driver handle
resource resource bit which was locked
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h bnx2x_send_unload_req(9), bnx2x_send_un... |
bnx2x_alloc_mem(9) | NAME bnx2x_alloc_mem - allocate driver's memory.
SYNOPSIS int bnx2x_alloc_mem (struct bnx2x *bp );
ARGUMENTS bp driver handle
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h bnx2x_send_unload_req(9), bnx2x_send_unload_done(9), bnx2x__init_func_obj(9), bnx2x_setup_queue(9), bnx2x_s... |
bnx2x_alloc_mem_bp(9) | NAME bnx2x_alloc_mem_bp - allocate memories outsize main driver structure
SYNOPSIS int bnx2x_alloc_mem_bp (struct bnx2x *bp );
ARGUMENTS bp driver handle
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h bnx2x_send_unload_req(9), bnx2x_send_unload_done(9), bnx2x__init_func_obj(9), b... |
bnx2x_alloc_mem_cnic(9) | NAME bnx2x_alloc_mem_cnic - allocate driver's memory for cnic.
SYNOPSIS int bnx2x_alloc_mem_cnic (struct bnx2x *bp );
ARGUMENTS bp driver handle
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h bnx2x_send_unload_req(9), bnx2x_send_unload_done(9), bnx2x__init_func_obj(9), bnx2x_setup... |
bnx2x_bz_fp(9) | NAME bnx2x_bz_fp - zero content of the fastpath structure.
SYNOPSIS void bnx2x_bz_fp (struct bnx2x *bp , int index );
ARGUMENTS bp driver handle
index fastpath index to be zeroed
DESCRIPTION Makes sure the contents of the bp->fp[index].napi is kept intact.
SEE ALSO Kernel file ./drivers/net... |
bnx2x_change_mtu(9) | NAME bnx2x_change_mtu - change mtu netdev callback
SYNOPSIS int bnx2x_change_mtu (struct net_device *dev , int new_mtu );
ARGUMENTS dev net device
new_mtu requested mtu
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h bnx2x_send_unload_req(9), bnx2x_send_unload_done(9), ... |
bnx2x_change_num_queues(9) | NAME bnx2x_change_num_queues - change the number of RSS queues.
SYNOPSIS void bnx2x_change_num_queues (struct bnx2x *bp , int num_rss );
ARGUMENTS bp bnx2x private structure
num_rss rss count
DESCRIPTION Re-configure interrupt mode to get the new number of MSI-X vectors and re-add NAPI objects.
... |
bnx2x_chip_cleanup(9) | NAME bnx2x_chip_cleanup - cleanup chip internals.
SYNOPSIS void bnx2x_chip_cleanup (struct bnx2x *bp , int unload_mode , bool keep_link );
ARGUMENTS bp driver handle
unload_mode COMMON, PORT, FUNCTION
keep_link true iff link should be kept up.
DESCRIPTION - Cleanup MAC configuration. - Cl... |
bnx2x_chk_parity_attn(9) | NAME bnx2x_chk_parity_attn - checks for parity attentions.
SYNOPSIS bool bnx2x_chk_parity_attn (struct bnx2x *bp , bool *global , bool print );
ARGUMENTS bp driver handle
global true if there was a global attention
print show parity attention in syslog
SEE ALSO Kernel file .... |
bnx2x_clear_pf_load(9) | NAME bnx2x_clear_pf_load - clear pf load mark
SYNOPSIS bool bnx2x_clear_pf_load (struct bnx2x *bp );
ARGUMENTS bp driver handle
DESCRIPTION Should be run under rtnl lock. Decrements the load counter for the current engine. Returns whether other functions are still loaded
SEE ALSO Kernel file ./drivers/n... |
bnx2x_clp_reset_done(9) | NAME bnx2x_clp_reset_done - restore the value of the `magic' bit.
SYNOPSIS void bnx2x_clp_reset_done (struct bnx2x *bp , u32 magic_val );
ARGUMENTS bp driver handle
magic_val old value of the `magic' bit.
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_get_le... |
bnx2x_cnic_notify(9) | NAME bnx2x_cnic_notify - send command to cnic driver
SYNOPSIS int bnx2x_cnic_notify (struct bnx2x *bp , int cmd );
ARGUMENTS bp driver handle
cmd command
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h bnx2x_send_unload_req(9), bnx2x_send_unload_done(9), bnx2x__ini... |
bnx2x_complete_vlan_mac(9) | NAME bnx2x_complete_vlan_mac - complete one VLAN-MAC ramrod
SYNOPSIS int bnx2x_complete_vlan_mac (struct bnx2x *bp , struct bnx2x_vlan_mac_obj *o , union event_ring_elem *cqe , unsigned long *ramrod_flags );
ARGUMENTS bp device handle
o bnx2x_vlan_mac_obj
cqe completion elem... |
bnx2x_config_mcast(9) | NAME bnx2x_config_mcast - Configure multicast MACs list.
SYNOPSIS int bnx2x_config_mcast (struct bnx2x *bp , struct bnx2x_mcast_ramrod_params *p , enum bnx2x_mcast_cmd cmd );
ARGUMENTS bp -- undescribed --
p -- undescribed --
cmd command to execute: BNX2X_MCAST_CMD_X
DESCRI... |
bnx2x_config_rss(9) | NAME bnx2x_config_rss - Updates RSS configuration according to provided parameters
SYNOPSIS int bnx2x_config_rss (struct bnx2x *bp , struct bnx2x_config_rss_params *p );
ARGUMENTS bp -- undescribed --
p -- undescribed --
RETURN 0 in case of success
SEE ALSO Kernel file ./drivers/net/ether... |
bnx2x_config_rx_mode(9) | NAME bnx2x_config_rx_mode - Send and RX_MODE ramrod according to the provided parameters.
SYNOPSIS int bnx2x_config_rx_mode (struct bnx2x *bp , struct bnx2x_rx_mode_ramrod_params *p );
ARGUMENTS bp -- undescribed --
p Command parameters
RETURN 0 - if operation was successful and there is n... |
bnx2x_config_vlan_mac(9) | NAME bnx2x_config_vlan_mac - configure VLAN/MAC/VLAN_MAC filtering rules.
SYNOPSIS int bnx2x_config_vlan_mac (struct bnx2x *bp , struct bnx2x_vlan_mac_ramrod_params *p );
ARGUMENTS bp device handle
p
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c bnx2x_exe_queue_i... |
bnx2x_dcbx_init(9) | NAME bnx2x_dcbx_init - initialize dcbx protocol.
SYNOPSIS void bnx2x_dcbx_init (struct bnx2x *bp , bool update_shmem );
ARGUMENTS bp driver handle
update_shmem
-- undescribed --
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h bnx2x_send_unload_req(9), bn... |
bnx2x_debug_print_ind_table(9) | NAME bnx2x_debug_print_ind_table - prints the indirection table configuration.
SYNOPSIS void bnx2x_debug_print_ind_table (struct bnx2x *bp , struct bnx2x_config_rss_params *p );
ARGUMENTS bp driver handle
p pointer to rss configuration
DESCRIPTION Prints it when NETIF_MSG_IFUP debug level ... |
bnx2x_del_all_macs(9) | NAME bnx2x_del_all_macs - delete all MACs configured for the specific MAC object
SYNOPSIS int bnx2x_del_all_macs (struct bnx2x *bp , struct bnx2x_vlan_mac_obj *mac_obj , int mac_type , bool wait_for_comp );
ARGUMENTS bp driver handle
mac_obj MAC object handle
mac_type type of the MACs ... |
bnx2x_drv_pulse(9) | NAME bnx2x_drv_pulse - write driver pulse to shmem
SYNOPSIS void bnx2x_drv_pulse (struct bnx2x *bp );
ARGUMENTS bp driver handle
DESCRIPTION writes the value in bp->fw_drv_pulse_wr_seq to drv_pulse mbox in the shmem.
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h bnx2x_send_unloa... |
bnx2x_enable_msi(9) | NAME bnx2x_enable_msi - request msi mode from OS, updated internals accordingly
SYNOPSIS int bnx2x_enable_msi (struct bnx2x *bp );
ARGUMENTS bp driver handle
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h bnx2x_send_unload_req(9), bnx2x_send_unload_done(9), bnx2x__init_func_obj(9... |
bnx2x_enable_msix(9) | NAME bnx2x_enable_msix - set msix configuration.
SYNOPSIS int bnx2x_enable_msix (struct bnx2x *bp );
ARGUMENTS bp driver handle
DESCRIPTION fills msix_table, requests vectors, updates num_queues according to number of available vectors.
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn... |
bnx2x_er_poll_igu_vq(9) | NAME bnx2x_er_poll_igu_vq - poll for pending writes bit. It should get cleared in no more than 1s.
SYNOPSIS int bnx2x_er_poll_igu_vq (struct bnx2x *bp );
ARGUMENTS bp driver handle
DESCRIPTION It should get cleared in no more than 1s. Returns 0 if pending writes bit gets cleared.
SEE ALSO Kernel file ... |
bnx2x_exe_queue_add(9) | NAME bnx2x_exe_queue_add - add a new element to the execution queue
SYNOPSIS int bnx2x_exe_queue_add (struct bnx2x *bp , struct bnx2x_exe_queue_obj *o , struct bnx2x_exeq_elem *elem , bool restore );
ARGUMENTS bp driver handle
o queue
elem new command to add
restore ... |
bnx2x_exe_queue_init(9) | NAME bnx2x_exe_queue_init - init the Exe Queue object
SYNOPSIS void bnx2x_exe_queue_init (struct bnx2x *bp , struct bnx2x_exe_queue_obj *o , int exe_len , union bnx2x_qable_obj *owner , exe_q_validate validate , exe_q_remove remove , exe_q_optimize optimize , exe_q_execute exec , exe_q_get get );
ARGUMENTS bp ... |
bnx2x_exe_queue_step(9) | NAME bnx2x_exe_queue_step - execute one execution chunk atomically
SYNOPSIS int bnx2x_exe_queue_step (struct bnx2x *bp , struct bnx2x_exe_queue_obj *o , unsigned long *ramrod_flags );
ARGUMENTS bp driver handle
o queue
ramrod_flags
flags
DESCRIPTION (Should be ca... |
bnx2x_execute_vlan_mac(9) | NAME bnx2x_execute_vlan_mac - execute vlan mac command
SYNOPSIS int bnx2x_execute_vlan_mac (struct bnx2x *bp , union bnx2x_qable_obj *qo , struct list_head *exe_chunk , unsigned long *ramrod_flags );
ARGUMENTS bp device handle
qo bnx2x_qable_obj pointer
exe_chunk chunk
ramr... |
bnx2x_extract_max_cfg(9) | NAME bnx2x_extract_max_cfg - extract MAX BW part from MF configuration.
SYNOPSIS u16 bnx2x_extract_max_cfg (struct bnx2x *bp , u32 mf_cfg );
ARGUMENTS bp driver handle
mf_cfg MF configuration
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h bnx2x_send_unload_req(9), bn... |
bnx2x_fcoe_get_wwn(9) | NAME bnx2x_fcoe_get_wwn - return the requested WWN value for this port
SYNOPSIS int bnx2x_fcoe_get_wwn (struct net_device *dev , u64 *wwn , int type );
ARGUMENTS dev net_device
wwn output buffer
type WWN type: NETDEV_FCOE_WWNN (node) or NETDEV_FCOE_WWPN (port)
SEE ALSO Kernel ... |
bnx2x_fill_fw_str(9) | NAME bnx2x_fill_fw_str - Fill buffer with FW version string
SYNOPSIS void bnx2x_fill_fw_str (struct bnx2x *bp , char *buf , size_t buf_len );
ARGUMENTS bp driver handle
buf character buffer to fill with the fw name
buf_len length of the above buffer
SEE ALSO Kernel file ./drive... |
bnx2x_fill_report_data(9) | NAME bnx2x_fill_report_data - fill link report data to report
SYNOPSIS void bnx2x_fill_report_data (struct bnx2x *bp , struct bnx2x_link_report_data *data );
ARGUMENTS bp driver handle
data link state to update
DESCRIPTION It uses a none-atomic bit operations because is called under the mutex... |
bnx2x_force_link_reset(9) | NAME bnx2x_force_link_reset - Forces link reset, and put the PHY in reset as well.
SYNOPSIS void bnx2x_force_link_reset (struct bnx2x *bp );
ARGUMENTS bp driver handle
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h bnx2x_send_unload_req(9), bnx2x_send_unload_done(9), bnx2x__init_... |
bnx2x_free_mem(9) | NAME bnx2x_free_mem - release driver's memory.
SYNOPSIS void bnx2x_free_mem (struct bnx2x *bp );
ARGUMENTS bp driver handle
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h bnx2x_send_unload_req(9), bnx2x_send_unload_done(9), bnx2x__init_func_obj(9), bnx2x_setup_queue(9), bnx2x_set... |
bnx2x_free_mem_bp(9) | NAME bnx2x_free_mem_bp - release memories outsize main driver structure
SYNOPSIS void bnx2x_free_mem_bp (struct bnx2x *bp );
ARGUMENTS bp driver handle
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h bnx2x_send_unload_req(9), bnx2x_send_unload_done(9), bnx2x__init_func_obj(9), bnx... |
bnx2x_free_mem_cnic(9) | NAME bnx2x_free_mem_cnic - release driver's memory for cnic.
SYNOPSIS void bnx2x_free_mem_cnic (struct bnx2x *bp );
ARGUMENTS bp driver handle
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h bnx2x_send_unload_req(9), bnx2x_send_unload_done(9), bnx2x__init_func_obj(9), bnx2x_setup_... |
bnx2x_free_msix_irqs(9) | NAME bnx2x_free_msix_irqs - free previously requested MSI-X IRQ vectors
SYNOPSIS void bnx2x_free_msix_irqs (struct bnx2x *bp , int nvecs );
ARGUMENTS bp driver handle
nvecs number of vectors to be released
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bnx2x_move_fp(... |
bnx2x_func_chk_transition(9) | NAME bnx2x_func_chk_transition - perform function state machine transition
SYNOPSIS int bnx2x_func_chk_transition (struct bnx2x *bp , struct bnx2x_func_sp_obj *o , struct bnx2x_func_state_params *params );
ARGUMENTS bp device handle
o function info
params state parameters
DESC... |
bnx2x_func_comp_cmd(9) | NAME bnx2x_func_comp_cmd - complete the state change command
SYNOPSIS int bnx2x_func_comp_cmd (struct bnx2x *bp , struct bnx2x_func_sp_obj *o , enum bnx2x_func_cmd cmd );
ARGUMENTS bp device handle
o function info
cmd more info
DESCRIPTION Checks that the arrived completion... |
bnx2x_func_init_cmn(9) | NAME bnx2x_func_init_cmn - performs HW init at common stage
SYNOPSIS int bnx2x_func_init_cmn (struct bnx2x *bp , const struct bnx2x_func_sp_drv_ops *drv );
ARGUMENTS bp device handle
drv
DESCRIPTION Init HW when the current phase is FW_MSG_CODE_DRV_LOAD_COMMON_CHIP: initialize COMMON, PORT-only and ... |
bnx2x_func_init_cmn_chip(9) | NAME bnx2x_func_init_cmn_chip - performs HW init at chip-common stage
SYNOPSIS int bnx2x_func_init_cmn_chip (struct bnx2x *bp , const struct bnx2x_func_sp_drv_ops *drv );
ARGUMENTS bp device handle
drv
DESCRIPTION Init HW when the current phase is FW_MSG_CODE_DRV_LOAD_COMMON_CHIP: initialize COMMON_... |
bnx2x_func_init_func(9) | NAME bnx2x_func_init_func - performs HW init at function stage
SYNOPSIS int bnx2x_func_init_func (struct bnx2x *bp , const struct bnx2x_func_sp_drv_ops *drv );
ARGUMENTS bp device handle
drv
DESCRIPTION Init HW when the current phase is FW_MSG_CODE_DRV_LOAD_FUNCTION: initialize only FUNCTION-only HW... |
bnx2x_func_init_port(9) | NAME bnx2x_func_init_port - performs HW init at port stage
SYNOPSIS int bnx2x_func_init_port (struct bnx2x *bp , const struct bnx2x_func_sp_drv_ops *drv );
ARGUMENTS bp device handle
drv
DESCRIPTION Init HW when the current phase is FW_MSG_CODE_DRV_LOAD_PORT: initialize PORT-only and FUNCTION-only H... |
bnx2x_func_reset_cmn(9) | NAME bnx2x_func_reset_cmn - reset HW at common stage
SYNOPSIS void bnx2x_func_reset_cmn (struct bnx2x *bp , const struct bnx2x_func_sp_drv_ops *drv );
ARGUMENTS bp device handle
drv
DESCRIPTION Reset HW at FW_MSG_CODE_DRV_UNLOAD_COMMON and FW_MSG_CODE_DRV_UNLOAD_COMMON_CHIP stages: reset COMMON, COM... |
bnx2x_func_reset_func(9) | NAME bnx2x_func_reset_func - reset HW at function stage
SYNOPSIS void bnx2x_func_reset_func (struct bnx2x *bp , const struct bnx2x_func_sp_drv_ops *drv );
ARGUMENTS bp device handle
drv
DESCRIPTION Reset HW at FW_MSG_CODE_DRV_UNLOAD_FUNCTION stage: reset only FUNCTION-only HW blocks.
SEE ALSO Kerne... |
bnx2x_func_reset_port(9) | NAME bnx2x_func_reset_port - reset HW at port stage
SYNOPSIS void bnx2x_func_reset_port (struct bnx2x *bp , const struct bnx2x_func_sp_drv_ops *drv );
ARGUMENTS bp device handle
drv
DESCRIPTION Reset HW at FW_MSG_CODE_DRV_UNLOAD_PORT stage: reset FUNCTION-only and PORT-only HW blocks. !!!IMPORTAN... |
bnx2x_func_start(9) | NAME bnx2x_func_start - init function
SYNOPSIS int bnx2x_func_start (struct bnx2x *bp );
ARGUMENTS bp driver handle
DESCRIPTION Must be called before sending CLIENT_SETUP for the first client.
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h bnx2x_send_unload_req(9), bnx2x_send_un... |
bnx2x_func_state_change(9) | NAME bnx2x_func_state_change - perform Function state change transition
SYNOPSIS int bnx2x_func_state_change (struct bnx2x *bp , struct bnx2x_func_state_params *params );
ARGUMENTS bp device handle
params parameters to perform the transaction
DESCRIPTION returns 0 in case of successfully co... |
bnx2x_func_state_change_comp(9) | NAME bnx2x_func_state_change_comp - complete the state machine transition
SYNOPSIS int bnx2x_func_state_change_comp (struct bnx2x *bp , struct bnx2x_func_sp_obj *o , enum bnx2x_func_cmd cmd );
ARGUMENTS bp device handle
o function info
cmd more info
DESCRIPTION Called on st... |
bnx2x_fw_command(9) | NAME bnx2x_fw_command - send the MCP a request
SYNOPSIS u32 bnx2x_fw_command (struct bnx2x *bp , u32 command , u32 param );
ARGUMENTS bp driver handle
command request
param request's parameter
DESCRIPTION block until there is a reply
SEE ALSO Kernel file ./drivers/net/ethernet/... |
bnx2x_get_channels(9) | NAME bnx2x_get_channels - gets the number of RSS queues.
SYNOPSIS void bnx2x_get_channels (struct net_device *dev , struct ethtool_channels *channels );
ARGUMENTS dev net device
channels returns the number of max / current queues
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_eth... |
bnx2x_get_common_flags(9) | NAME bnx2x_get_common_flags - Return common flags
SYNOPSIS unsigned long bnx2x_get_common_flags (struct bnx2x *bp , struct bnx2x_fastpath *fp , bool zero_stats );
ARGUMENTS bp device handle
fp queue handle
zero_stats TRUE if statistics zeroing is needed
DESCRIPTION Return the flags... |
bnx2x_get_emac_base(9) | NAME bnx2x_get_emac_base - retrive emac base address
SYNOPSIS u32 bnx2x_get_emac_base (struct bnx2x *bp , u32 mdc_mdio_access , u8 port );
ARGUMENTS bp driver handle
mdc_mdio_access
access type
port port id
DESCRIPTION This function selects the MDC/MDIO access (thro... |
bnx2x_get_fw_mac_addr(9) | NAME bnx2x_get_fw_mac_addr - revert the bnx2x_set_fw_mac_addr().
SYNOPSIS void bnx2x_get_fw_mac_addr (__le16 *fw_hi , __le16 *fw_mid , __le16 *fw_lo , u8 *mac );
ARGUMENTS fw_hi address
fw_mid address
fw_lo address
mac mac address
SEE ALSO Kernel file ./drive... |
bnx2x_get_iscsi_info(9) | NAME bnx2x_get_iscsi_info - update iSCSI params according to licensing info.
SYNOPSIS void bnx2x_get_iscsi_info (struct bnx2x *bp );
ARGUMENTS bp driver handle
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h bnx2x_send_unload_req(9), bnx2x_send_unload_done(9), bnx2x__init_func_obj... |
bnx2x_get_leader_lock_resource(9) | NAME bnx2x_get_leader_lock_resource - get the recovery leader resource id
SYNOPSIS int bnx2x_get_leader_lock_resource (struct bnx2x *bp );
ARGUMENTS bp driver handle
DESCRIPTION Returns the recovery leader resource id according to the engine this function belongs to. Currently only 2 engines is supported.
... |
bnx2x_get_mf_speed(9) | NAME bnx2x_get_mf_speed - calculate MF speed.
SYNOPSIS u16 bnx2x_get_mf_speed (struct bnx2x *bp );
ARGUMENTS bp driver handle
DESCRIPTION Takes into account current linespeed and MF configuration.
SEE ALSO Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h bnx2x_send_unload_req(9), bnx2x_sen... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.