Emulex Logo
OneCoreā„¢ Storage SDK Release 11.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Command Handlers

Functions

int elxu_cmd_file_info (int argc, char **argv)
 Command handler for the file-info command. More...
 
int elxu_cmd_list (int argc, char **argv)
 Command handler for the list command. More...
 
int elxu_cmd_read (int argc, char **argv)
 Command handler for the read command. More...
 
int elxu_cmd_write (int argc, char **argv)
 Command handler for the write command. More...
 
int elxu_cmd_version (int argc, char **argv)
 Command handler for the version command. More...
 
int elxu_cmd_cmp (int argc, char **argv)
 Command handler for the cmp command. More...
 
int elxu_cmd_dump (int argc, char **argv)
 Command handler for the dump command. More...
 
int elxu_cmd_efdc (int argc, char **argv)
 Command handler for the efdc command. More...
 
int elxu_cmd_objenum (int argc, char **argv)
 Command handler for the objenum command. More...
 
int elxu_cmd_board_temp (int argc, char **argv)
 Command handler for the board temperature. More...
 
int elxu_cmd_sfp (int argc, char **argv)
 Command handler for the sfp command. More...
 
int elxu_cmd_gendump (int argc, char **argv)
 Command handler for the gendump command. More...
 
int elxu_cmd_fw_diagnostic_log (int argc, char **argv)
 Command handler for the fw-diag-log command. More...
 
int elxu_cmd_dump_to_host (int argc, char **argv)
 Command handler for the dump command. More...
 
int elxu_cmd_read_status (int argc, char **argv)
 Command handler for the read-status command. More...
 
int elxu_cmd_read_link_status (int argc, char **argv)
 Command handler for the read-link-status command. More...
 
int elxu_cmd_get_dport_stats (int argc, char **argv)
 Command handler for the get-dport-stats command. More...
 
int elxu_cmd_read_rev (int argc, char **argv)
 Command handler for the read-rev command. More...
 
int elxu_cmd_ack_frequency (int argc, char **argv)
 Command handler for the ack-frequency command. More...
 
int elxu_cmd_delayed_ack_timer (int argc, char **argv)
 Command handler for the delayed-ack-timer command. More...
 
int elxu_cmd_constrain_window (int argc, char **argv)
 Command handler for the constrain-window command. More...
 
int elxu_cmd_driver_dump (int argc, char **argv)
 Command handler for the driver-dump command. More...
 
int elxu_cmd_mgmt_info (int argc, char **argv)
 Command handler for the mgmt-info command. More...
 
int elxu_cmd_connection_info (int argc, char **argv)
 Command handler for the connection-info command. More...
 
int elxu_cmd_route (int argc, char **argv)
 Command handler for the route command. More...
 
int elxu_cmd_vlan (int argc, char **argv)
 Command handler for the vlan command. More...
 
int elxu_cmd_add_ip (int argc, char **argv)
 Command handler for the add-ip command. More...
 
int elxu_cmd_remove_ip (int argc, char **argv)
 Command handler for the remove-ip command. More...
 
int elxu_cmd_show_ips (int argc, char **argv)
 Command handler for the show-ips command. More...
 
int elxu_cmd_set_gateway (int argc, char **argv)
 Command handler for the set-gateway command. More...
 
int elxu_cmd_get_gateway (int argc, char **argv)
 Command handler for the get-gateway command. More...
 
int elxu_cmd_add_chap (int argc, char **argv)
 Command handler for the add-chap command. More...
 
int elxu_cmd_remove_chap (int argc, char **argv)
 Command handler for remove-chap. More...
 
int elxu_cmd_show_chap_list (int argc, char **argv)
 Command handler for show-chap. More...
 
int elxu_cmd_set_require_chap (int argc, char **argv)
 Command handler for set-require-chap. More...
 
int elxu_cmd_get_require_chap (int argc, char **argv)
 Command handler for get-require-chap. More...
 
int elxu_cmd_enable_jumbo (int argc, char **argv)
 Command handler for the enable-jumbo command. More...
 
int elxu_cmd_disable_jumbo (int argc, char **argv)
 Command handler for the disable-jumbo command. More...
 
int elxu_cmd_enable_header_digest (int argc, char **argv)
 Command handler for enable-header-digest. More...
 
int elxu_cmd_disable_header_digest (int argc, char **argv)
 Command handler for the disable-header-digest comand. More...
 
int elxu_cmd_enable_data_digest (int argc, char **argv)
 Command handler for enable-data-digest. More...
 
int elxu_cmd_disable_data_digest (int argc, char **argv)
 Command handler for the disable-data-digest command. More...
 
int elxu_cmd_set_tcp_window_size (int argc, char **argv)
 Command handler for the set-tcp-window-size command. More...
 
int elxu_cmd_get_tcp_window_size (int argc, char **argv)
 Command handler for get-tcp-window-size. More...
 
int elxu_cmd_set_tcp_window_scale (int argc, char **argv)
 Command handler for set-tcp-window-scale. More...
 
int elxu_cmd_get_tcp_window_scale (int argc, char **argv)
 Command handler for get-tcp-window-scale. More...
 
int elxu_cmd_set_max_connections (int argc, char **argv)
 Command handler for set-max-connections. More...
 
int elxu_cmd_get_max_connections (int argc, char **argv)
 Command handler for get-max-connections. More...
 
int elxu_cmd_start_listen (int argc, char **argv)
 Command handler for start-listen. More...
 
int elxu_cmd_stop_listen (int argc, char **argv)
 Command handler for stop-listen. More...
 
int elxu_cmd_set_mac_ocs (int argc, char **argv)
 Command handler for the set-mac command. More...
 
int elxu_cmd_set_nv_mac_pt (int argc, char **argv)
 Command handler for the set-nv-mac command. More...
 
int elxu_cmd_show_mac_ocs (int argc, char **argv)
 Command handler for the show-mac command for the OCS drivers. More...
 
int elxu_cmd_show_mac_pt (int argc, char **argv)
 Command handler for the show-mac command for the elx_pt driver. More...
 
int elxu_cmd_show_wwn (int argc, char **argv)
 Command handler for the show-wwn command. More...
 
int elxu_cmd_set_wwn (int argc, char **argv)
 Command handler for the set-wwn command. More...
 
int elxu_cmd_driver_info (int argc, char **argv)
 Command handler for the driver-info command. More...
 
int elxu_cmd_create_vport (int argc, char **argv)
 Command handler for the create-vport command. More...
 
int elxu_cmd_remove_vport (int argc, char **argv)
 Command handler for the remove-vport command. More...
 
int elxu_cmd_get_linkcfg (int argc, char **argv)
 Command handler for the linkcfg-get command. More...
 
int elxu_cmd_get_linkspeed (int argc, char **argv)
 Command handler for the linkspeed-get command. More...
 
int elxu_cmd_get_linktopology (int argc, char **argv)
 Command handler for the linktopology-get command. More...
 
int elxu_cmd_set_linkcfg (int argc, char **argv)
 Command handler for the linkcfg-set command. More...
 
int elxu_cmd_set_linkspeed (int argc, char **argv)
 Command handler for the link-speed-set command. More...
 
int elxu_cmd_set_linktopology (int argc, char **argv)
 Command handler for the linktopology-set command. More...
 
int elxu_cmd_get_profile_list (int argc, char **argv)
 Command handler for the get-profile-list command. More...
 
int elxu_cmd_get_active_profile (int argc, char **argv)
 Command handler for the get-active-profile command. More...
 
int elxu_cmd_set_active_profile (int argc, char **argv)
 Command handler for the set-active-profile command. More...
 
int elxu_cmd_get_profile_list_pt (int argc, char **argv)
 Command handler for the get-profile-list command for the elx_pt driver. More...
 
int elxu_cmd_get_active_profile_pt (int argc, char **argv)
 Command handler for the get-active-profile command for the elx_pt driver. More...
 
int elxu_cmd_set_active_profile_pt (int argc, char **argv)
 Command handler for the set-active-profile command for the elx_pt driver. More...
 
int elxu_cmd_get_port_protocol (int argc, char **argv)
 Command handler for the get-port-protocol command. More...
 
int elxu_cmd_set_port_protocol (int argc, char **argv)
 Command handler for the set-port-protocol command. More...
 
int elxu_cmd_firmware_reset (int argc, char **argv)
 Command handler for the firmware-reset command. More...
 
int elxu_cmd_get_fdmi_hba_list (int argc, char **argv)
 Command handler for the elxu_cmd_get_fdmi_hba_list command. More...
 
int elxu_cmd_get_fdmi_port_list (int argc, char **argv)
 Command handler for the elxu_cmd_get_fdmi_port_list command. More...
 
int elxu_cmd_get_fdmi_hba_info (int argc, char **argv)
 Command handler for the elxu_cmd_get_fdmi_hba_info command. More...
 
int elxu_cmd_get_fdmi_port_info (int argc, char **argv)
 Command handler for the elxu_cmd_get_fdmi_port_info command. More...
 
int elxu_cmd_set_trunk_mode (int argc, char **argv)
 Command handler for elxu_cmd_set_trunk_mode command. More...
 
int elxu_cmd_get_trunk_config (int argc, char **argv)
 Command handler for elxu_cmd_get_trunk_config command. More...
 
int elxu_cmd_port_migration (int argc, char **argv)
 Command handler for the port-migration command. More...
 
int elxu_cmd_get_parity_stats (int argc, char **argv)
 Command handler for the get-parity-stats command. More...
 
int elxu_cmd_firmware_reset_pt (int argc, char **argv)
 Send a firmware reset via the elx_pt driver. More...
 
int elxu_cmd_unload (int argc, char **argv)
 Command handler for user space driver unload. More...
 
int elxu_cmd_node_abort_cnt (int argc, char **argv)
 Command handler for the node-abort-cnt command. More...
 
int elxu_cmd_help (int argc, char **argv)
 Command handler for the help command. More...
 

Function Details

int elxu_cmd_ack_frequency ( int  argc,
char **  argv 
)

Command handler for the ack-frequency command.

Description
This function processes the ack-frequency command.

Command: ack-frequency
Required Parameters: <frequency>
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 1412 of file elxu_commands.c.

int elxu_cmd_add_chap ( int  argc,
char **  argv 
)

Command handler for the add-chap command.

Description
This function processes the add-chap command

Command: add-chap
Required Parameters: <name>:<secret>
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 2408 of file elxu_commands.c.

int elxu_cmd_add_ip ( int  argc,
char **  argv 
)

Command handler for the add-ip command.

Description
This function processes the add-ip command.

Command: add-ip
Required Parameters: <ip address>=""> <netmask>
Optional Parameters: -d <device> [–vlan-id <vlan_id>]
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 2113 of file elxu_commands.c.

int elxu_cmd_board_temp ( int  argc,
char **  argv 
)

Command handler for the board temperature.

Description
This function processes the Dump Type 4 (Well Known Item) command for Lancer. WKI selection ID 0x1040 (WKI_TAG_SAT_TEM) to read board temperature data.

Command: boardtemp
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Lancer
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 748 of file elxu_commands.c.

int elxu_cmd_cmp ( int  argc,
char **  argv 
)

Command handler for the cmp command.

Description
This function processes the cmp command.

Command: cmp
Required Parameters: -f <filename>
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 370 of file elxu_commands.c.

int elxu_cmd_connection_info ( int  argc,
char **  argv 
)

Command handler for the connection-info command.

Description
This function processes the connection-info command.

Command: connection-info
Required Parameters: None
Optional Parameters: –connection-handle <handle>, -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 1647 of file elxu_commands.c.

int elxu_cmd_constrain_window ( int  argc,
char **  argv 
)

Command handler for the constrain-window command.

Description
This function processes the constrain-window command.

Command: constrain-window
Required Parameters: <window_size>, –connection-id <connection_id>
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 1498 of file elxu_commands.c.

int elxu_cmd_create_vport ( int  argc,
char **  argv 
)

Command handler for the create-vport command.

Description
This function processes the create-vport command.

Command: create-vport
Required Parameters: [<wwnn> <wwpn>] ( –target | –initiator )
Optional Parameters: -d <device>
Supported Devices: All
Supported Protocols: FC

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 3805 of file elxu_commands.c.

int elxu_cmd_delayed_ack_timer ( int  argc,
char **  argv 
)

Command handler for the delayed-ack-timer command.

Description
This function processes the delayed-ack-timer command.

Command: delayed-ack-timer
Required Parameters: <time>
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 1455 of file elxu_commands.c.

int elxu_cmd_disable_data_digest ( int  argc,
char **  argv 
)

Command handler for the disable-data-digest command.

Description
This function processes the disable-data-digest command.

Command: disable-data-digest
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 2959 of file elxu_commands.c.

int elxu_cmd_disable_header_digest ( int  argc,
char **  argv 
)

Command handler for the disable-header-digest comand.

Description
This function processes the disable-header-digest command.

Command: disable-header-digest
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 2873 of file elxu_commands.c.

int elxu_cmd_disable_jumbo ( int  argc,
char **  argv 
)

Command handler for the disable-jumbo command.

Description
This function processes the disable-jumbo command.

Command: disable-jumbo
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 2787 of file elxu_commands.c.

int elxu_cmd_driver_dump ( int  argc,
char **  argv 
)

Command handler for the driver-dump command.

Description
This function processes the driver-dump command.

Command: driver-dump
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Any
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 1546 of file elxu_commands.c.

int elxu_cmd_driver_info ( int  argc,
char **  argv 
)

Command handler for the driver-info command.

Description
This function processes the driver-info command.

Command: driver-info
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: All
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 3736 of file elxu_commands.c.

int elxu_cmd_dump ( int  argc,
char **  argv 
)

Command handler for the dump command.

Description
This function processes the dump command.

Command: dump
Required Parameters: None
Optional Parameters: dump type (–fat, –efd, –ecd), -f <filename>, -d <device>
Supported Devices: Any
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 409 of file elxu_commands.c.

int elxu_cmd_dump_to_host ( int  argc,
char **  argv 
)

Command handler for the dump command.

Description
This function processes the dump command.

Command: dump-to-host
Required Parameters: None
Optional Parameters: -d <device> -f <filename>
Supported Devices: Lancer
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 1077 of file elxu_commands.c.

int elxu_cmd_efdc ( int  argc,
char **  argv 
)

Command handler for the efdc command.

Description
This function processes the efdc command.

Command: efdc
Required Parameters: None
Optional Parameters: -f <filename>, -d <device>
Supported Devices: Skyhawk
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 493 of file elxu_commands.c.

int elxu_cmd_enable_data_digest ( int  argc,
char **  argv 
)

Command handler for enable-data-digest.

Description
This function processes the enable-data-digest command.

Command: enable-data-digest
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 2916 of file elxu_commands.c.

int elxu_cmd_enable_header_digest ( int  argc,
char **  argv 
)

Command handler for enable-header-digest.

Description
This function processes the enable-header-digets command.

Command: enable-header-digest
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 2830 of file elxu_commands.c.

int elxu_cmd_enable_jumbo ( int  argc,
char **  argv 
)

Command handler for the enable-jumbo command.

Description
This function processes the enable-jumbo command

Command: enable-jumbo
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 2744 of file elxu_commands.c.

int elxu_cmd_file_info ( int  argc,
char **  argv 
)

Command handler for the file-info command.

Description
This function processes the file-info command.

Command: file-info
Required Parameters: <filename>
Optional Parameters: None
Supported Devices: N/A
Supported Protocols: N/A
Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 183 of file elxu_commands.c.

int elxu_cmd_firmware_reset ( int  argc,
char **  argv 
)

Command handler for the firmware-reset command.

Description
This function processes the firmware-reset command.

Command: firmware-reset
Required Parameters: none
Optional Parameters: -d <device>
Supported Devices: All
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 4634 of file elxu_commands.c.

int elxu_cmd_firmware_reset_pt ( int  argc,
char **  argv 
)

Send a firmware reset via the elx_pt driver.

Description
This function sends a firmware reset via the elx_pt driver.

Command: firmware-reset
Required Parameters: none
Optional Parameters: -d <device>
Supported Devices: All
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 5372 of file elxu_commands.c.

int elxu_cmd_fw_diagnostic_log ( int  argc,
char **  argv 
)

Command handler for the fw-diag-log command.

Description
This function processes the fw-diag-log command.

Command: fw-diag-log
Required Parameters: -d <device> -f <filename>
Optional Parameters: None
Supported Devices: Lancer G6 and Prism
Supported Protocols: FC

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 1040 of file elxu_commands.c.

int elxu_cmd_gendump ( int  argc,
char **  argv 
)

Command handler for the gendump command.

Description
This function processes the gendump command.

Command: gendump
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Lancer
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 1005 of file elxu_commands.c.

int elxu_cmd_get_active_profile ( int  argc,
char **  argv 
)

Command handler for the get-active-profile command.

Description
This function processes the get-active-profile command.

Command: get-active-profile
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 4295 of file elxu_commands.c.

int elxu_cmd_get_active_profile_pt ( int  argc,
char **  argv 
)

Command handler for the get-active-profile command for the elx_pt driver.

Description
This function processes the get-active-profile command.

Command: get-active-profile
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 4460 of file elxu_commands.c.

int elxu_cmd_get_dport_stats ( int  argc,
char **  argv 
)

Command handler for the get-dport-stats command.

Description
This function processes the get-dport-stats command.

Command: get-dport-stats
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Lancer
Supported Protocols: FC

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 1285 of file elxu_commands.c.

int elxu_cmd_get_fdmi_hba_info ( int  argc,
char **  argv 
)

Command handler for the elxu_cmd_get_fdmi_hba_info command.

Description
This function processes the elxu_cmd_get_fdmi_hba_info command.

Command: elxu_cmd_get_fdmi_hba_list
Required Parameters: none
Optional Parameters: -d <device>
Supported Devices: All
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 4808 of file elxu_commands.c.

int elxu_cmd_get_fdmi_hba_list ( int  argc,
char **  argv 
)

Command handler for the elxu_cmd_get_fdmi_hba_list command.

Description
This function processes the elxu_cmd_get_fdmi_hba_list command.

Command: elxu_cmd_get_fdmi_hba_list
Required Parameters: none
Optional Parameters: -d <device>
Supported Devices: All
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 4672 of file elxu_commands.c.

int elxu_cmd_get_fdmi_port_info ( int  argc,
char **  argv 
)

Command handler for the elxu_cmd_get_fdmi_port_info command.

Description
This function processes the elxu_cmd_get_fdmi_port_info command.

Command: elxu_cmd_get_fdmi_port_info
Required Parameters: none
Optional Parameters: -d <device>
Supported Devices: All
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 4969 of file elxu_commands.c.

int elxu_cmd_get_fdmi_port_list ( int  argc,
char **  argv 
)

Command handler for the elxu_cmd_get_fdmi_port_list command.

Description
This function processes the elxu_cmd_get_fdmi_port_list command.

Command: elxu_cmd_get_fdmi_port_list
Required Parameters: none
Optional Parameters: -d <device>
Supported Devices: All
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 4732 of file elxu_commands.c.

int elxu_cmd_get_gateway ( int  argc,
char **  argv 
)

Command handler for the get-gateway command.

Description
This function processes the get-gateway command.

Command: get-gateway
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 2363 of file elxu_commands.c.

int elxu_cmd_get_linkcfg ( int  argc,
char **  argv 
)

Command handler for the linkcfg-get command.

Description
This function processes the linkcfg-get command.

Command: linkcfg-get
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: All
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 3933 of file elxu_commands.c.

int elxu_cmd_get_linkspeed ( int  argc,
char **  argv 
)

Command handler for the linkspeed-get command.

Description
This function processes the linkspeed-get command.

Command: linkspeed-get
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: All
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 3977 of file elxu_commands.c.

int elxu_cmd_get_linktopology ( int  argc,
char **  argv 
)

Command handler for the linktopology-get command.

Description
This function processes the linktopology-get command.

Command: linktopology-get
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: All
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 4019 of file elxu_commands.c.

int elxu_cmd_get_max_connections ( int  argc,
char **  argv 
)

Command handler for get-max-connections.

Description
This function processes the get-max-connections command.

Command: get-max-connections
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 3252 of file elxu_commands.c.

int elxu_cmd_get_parity_stats ( int  argc,
char **  argv 
)

Command handler for the get-parity-stats command.

Description
This function processes the get-parity-stats command.

Command: get-parity-stats
Required Parameters: none
Optional Parameters: -d <device> –cc
Supported Devices: All
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 5312 of file elxu_commands.c.

int elxu_cmd_get_port_protocol ( int  argc,
char **  argv 
)

Command handler for the get-port-protocol command.

Description
This function processes the get-port-protocol command.

Command: get-port-protocol
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 4541 of file elxu_commands.c.

int elxu_cmd_get_profile_list ( int  argc,
char **  argv 
)

Command handler for the get-profile-list command.

Description
This function processes the get-profile-list command.

Command: get-profile-list
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 4248 of file elxu_commands.c.

int elxu_cmd_get_profile_list_pt ( int  argc,
char **  argv 
)

Command handler for the get-profile-list command for the elx_pt driver.

Description
This function processes the get-profile-list command.

Command: get-profile-list
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 4421 of file elxu_commands.c.

int elxu_cmd_get_require_chap ( int  argc,
char **  argv 
)

Command handler for get-require-chap.

Description
This function processes the set-require-chap command

Command: get-require-chap
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 2701 of file elxu_commands.c.

int elxu_cmd_get_tcp_window_scale ( int  argc,
char **  argv 
)

Command handler for get-tcp-window-scale.

Description
This function processes the get-tcp-window-scale command.

Command: get-tcp-window-scale
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 3158 of file elxu_commands.c.

int elxu_cmd_get_tcp_window_size ( int  argc,
char **  argv 
)

Command handler for get-tcp-window-size.

Description
This function processes the get-tcp-window-size command.

Command: get-tcp-window-size
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 3057 of file elxu_commands.c.

int elxu_cmd_get_trunk_config ( int  argc,
char **  argv 
)

Command handler for elxu_cmd_get_trunk_config command.

Description
This function processes the elxu_cmd_get_trunk_config command.

Command: elxu_cmd_get_trunk_config
Required Parameters: -d <device>
Optional Parameters: None
Supported Devices: Prism
Supported Protocols: FC

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 5197 of file elxu_commands.c.

int elxu_cmd_help ( int  argc,
char **  argv 
)

Command handler for the help command.

Description
This function processes the help command.

Command: help
Required Parameters: None
Optional Parameters: <command>
Supported Devices: N/A
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 5490 of file elxu_commands.c.

int elxu_cmd_list ( int  argc,
char **  argv 
)

Command handler for the list command.

Description
This function processes the list command.

Command: list
Required Parameters: None
Optional Parameters: None
Supported Devices: N/A
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 226 of file elxu_commands.c.

int elxu_cmd_mgmt_info ( int  argc,
char **  argv 
)

Command handler for the mgmt-info command.

Description
This function processes the mgmt-info command.

Command: mgmt-info
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Any
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 1616 of file elxu_commands.c.

int elxu_cmd_node_abort_cnt ( int  argc,
char **  argv 
)

Command handler for the node-abort-cnt command.

Description
This function processes the node-abort-cnt command.

Command: get-node-abort-cnt
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: All
Supported Protocols: FC and FCoE

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 5446 of file elxu_commands.c.

int elxu_cmd_objenum ( int  argc,
char **  argv 
)

Command handler for the objenum command.

Description
This function processes the objenum command.

Command: objenum
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Lancer
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 532 of file elxu_commands.c.

int elxu_cmd_port_migration ( int  argc,
char **  argv 
)

Command handler for the port-migration command.

Description
This function processes the port-migration command.

Command: port-migration
Required Parameters: none
Optional Parameters: -d <device>
Supported Devices: All
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 5274 of file elxu_commands.c.

int elxu_cmd_read ( int  argc,
char **  argv 
)

Command handler for the read command.

Description
This function processes the read command.

Command: read
Required Parameters: <objname>
Optional Parameters: -d <device> -f <filename>
Supported Devices: Lancer
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 257 of file elxu_commands.c.

int elxu_cmd_read_link_status ( int  argc,
char **  argv 
)

Command handler for the read-link-status command.

Description
This function processes the read-link-status command.

Command: read-link-status
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Lancer
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 1161 of file elxu_commands.c.

int elxu_cmd_read_rev ( int  argc,
char **  argv 
)

Command handler for the read-rev command.

Description
This function processes the read-rev command.

Command: read-rev
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Lancer, Skyhawk
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 1383 of file elxu_commands.c.

int elxu_cmd_read_status ( int  argc,
char **  argv 
)

Command handler for the read-status command.

Description
This function processes the read-status command.

Command: read-status
Required Parameters: None
Optional Parameters: -d <device> –cc
Supported Devices: Lancer
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 1127 of file elxu_commands.c.

int elxu_cmd_remove_chap ( int  argc,
char **  argv 
)

Command handler for remove-chap.

Description
This function processes the remove-chap command

Command: remove-chap
Required Parameters: name
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 2490 of file elxu_commands.c.

int elxu_cmd_remove_ip ( int  argc,
char **  argv 
)

Command handler for the remove-ip command.

Description
This function processes the remove-ip command.

Command: remove-ip
Required Parameters: <ip_address>
Optional Parameters: -d <device> [–vlan-id <vlan_id>]
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 2182 of file elxu_commands.c.

int elxu_cmd_remove_vport ( int  argc,
char **  argv 
)

Command handler for the remove-vport command.

Description
This function processes the remove-vport command.

Command: remove-vport
Required Parameters: <wwn> <wwn>
Optional Parameters: -d <device>
Supported Devices: All
Supported Protocols: FC

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 3877 of file elxu_commands.c.

int elxu_cmd_route ( int  argc,
char **  argv 
)

Command handler for the route command.

Description
This function processes the route command.

Command: route
Required Parameters: <add|del|show> Parameters: <add|del> <netmask> <gateway>, -d <device>
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 1865 of file elxu_commands.c.

int elxu_cmd_set_active_profile ( int  argc,
char **  argv 
)

Command handler for the set-active-profile command.

Description
This function processes the set-active-profile command.

Command: set-active-profile
Required Parameters: <profile_id>
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 4374 of file elxu_commands.c.

int elxu_cmd_set_active_profile_pt ( int  argc,
char **  argv 
)

Command handler for the set-active-profile command for the elx_pt driver.

Description
This function processes the set-active-profile command.

Command: set-active-profile
Required Parameters: <profile_id>
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 4499 of file elxu_commands.c.

int elxu_cmd_set_gateway ( int  argc,
char **  argv 
)

Command handler for the set-gateway command.

Description
This function processes the set-gateway command.

Command: set-gateway
Required Parameters: <ip_address>
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 2313 of file elxu_commands.c.

int elxu_cmd_set_linkcfg ( int  argc,
char **  argv 
)

Command handler for the linkcfg-set command.

Description
This function processes the linkcfg-set command.

Command: linkcfg-set
Required Parameters: –linkcfg <link configuration>="">
Optional Parameters: -d <device>
Supported Devices: ALl
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 4060 of file elxu_commands.c.

int elxu_cmd_set_linkspeed ( int  argc,
char **  argv 
)

Command handler for the link-speed-set command.

Description
This function processes the link-speed-set command.

Command: linkspeed-set
Required Parameters: –link-speed <link configuration>="">
Optional Parameters: -d <device>
Supported Devices: ALl
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 4120 of file elxu_commands.c.

int elxu_cmd_set_linktopology ( int  argc,
char **  argv 
)

Command handler for the linktopology-set command.

Description
This function processes the linktopology-set command.

Command: linktopology-set
Required Parameters: –link-topology <link configuration>="">
Optional Parameters: -d <device>
Supported Devices: ALl
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 4181 of file elxu_commands.c.

int elxu_cmd_set_mac_ocs ( int  argc,
char **  argv 
)

Command handler for the set-mac command.

Description
This function processes the set-mac command.

Command: set-mac
Required Parameters: <mac address>="">
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 3405 of file elxu_commands.c.

int elxu_cmd_set_max_connections ( int  argc,
char **  argv 
)

Command handler for set-max-connections.

Description
This function processes the set-max-connections command.

Command: set-max-connections
Required Parameters: <max_connections_per_session>
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 3204 of file elxu_commands.c.

int elxu_cmd_set_nv_mac_pt ( int  argc,
char **  argv 
)

Command handler for the set-nv-mac command.

Description
This function processes the set-nv-mac command.

Command: set-nv-mac
Required Parameters: <mac address>="">
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 3457 of file elxu_commands.c.

int elxu_cmd_set_port_protocol ( int  argc,
char **  argv 
)

Command handler for the set-port-protocol command.

Description
This function processes the set-port-protocol command.

Command: set-port-protocol
Required Parameters: –protocol <protocol_name>
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 4588 of file elxu_commands.c.

int elxu_cmd_set_require_chap ( int  argc,
char **  argv 
)

Command handler for set-require-chap.

Description
This function processes the set-require-chap command

Command: set-require-chap
Required Parameters: true or false
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 2644 of file elxu_commands.c.

int elxu_cmd_set_tcp_window_scale ( int  argc,
char **  argv 
)

Command handler for set-tcp-window-scale.

Description
This function processes the set-tcp-window-scale command.

Command: set-tcp-window-scale
Required Parameters: <window_scale>
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 3103 of file elxu_commands.c.

int elxu_cmd_set_tcp_window_size ( int  argc,
char **  argv 
)

Command handler for the set-tcp-window-size command.

Description
This function processes the set-tcp-window-size command.

Command: set-tcp-window-size
Required Parameters: window_size
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 3002 of file elxu_commands.c.

int elxu_cmd_set_trunk_mode ( int  argc,
char **  argv 
)

Command handler for elxu_cmd_set_trunk_mode command.

Description
This function processes the elxu_cmd_set_trunk_mode command.

Command: elxu_cmd_set_trunk_mode
Required Parameters: -d <device> –mode <trunk mode>="">
Optional Parameters: None
Supported Devices: Prism
Supported Protocols: FC

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 5127 of file elxu_commands.c.

int elxu_cmd_set_wwn ( int  argc,
char **  argv 
)

Command handler for the set-wwn command.

Description
This function processes the set-wwn command.

Command: set-wwn
Required Parameters: WWN
Optional Parameters: -d <device>
Supported Devices: All
Supported Protocols: FC

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 3645 of file elxu_commands.c.

int elxu_cmd_sfp ( int  argc,
char **  argv 
)

Command handler for the sfp command.

Description
This function processes the sfp command. sfp data returned by the mgmt api is an ASCII string of hex values but it isn't formatted nicely. This function retrives the string, converts it to binary, then uses dump8() to display it nicely formatted.

Command: sfp
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: All
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 792 of file elxu_commands.c.

int elxu_cmd_show_chap_list ( int  argc,
char **  argv 
)

Command handler for show-chap.

Description
This function retrieves the CHAP users list. At first stage, read the number of entries of ocs_chap_user_buffer_t items by passing arg_in && arg_out buffers as NULL. At second stage, allocate required memory for chap users list.

Command: show-chap
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 2557 of file elxu_commands.c.

int elxu_cmd_show_ips ( int  argc,
char **  argv 
)

Command handler for the show-ips command.

Description
This function processes the show-ips command.

Command: show-ips
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 2249 of file elxu_commands.c.

int elxu_cmd_show_mac_ocs ( int  argc,
char **  argv 
)

Command handler for the show-mac command for the OCS drivers.

Description
This function processes the show-mac command

Command: show-mac
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 3516 of file elxu_commands.c.

int elxu_cmd_show_mac_pt ( int  argc,
char **  argv 
)

Command handler for the show-mac command for the elx_pt driver.

Description
This function processes the show-mac command.

Command: show-mac
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 3569 of file elxu_commands.c.

int elxu_cmd_show_wwn ( int  argc,
char **  argv 
)

Command handler for the show-wwn command.

Description
This function processes the show-wwn command.

Command: show-wwn
Required Parameters: None
Optional Parameters: -d <device>
Supported Devices: All
Supported Protocols: FC

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 3608 of file elxu_commands.c.

int elxu_cmd_start_listen ( int  argc,
char **  argv 
)

Command handler for start-listen.

Description
This function processes the start-listen command.

Command: start-listen
Required Parameters: <ip_address>
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 3298 of file elxu_commands.c.

int elxu_cmd_stop_listen ( int  argc,
char **  argv 
)

Command handler for stop-listen.

Description
This function processes the stop-listen command.

Command: stop-listen
Required Parameters: <ip_address>
Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 3349 of file elxu_commands.c.

int elxu_cmd_unload ( int  argc,
char **  argv 
)

Command handler for user space driver unload.

Description
This function processes the unload command.

Command: unload
Required Parameters: none
Optional Parameters: -d <device>
Supported Devices: All
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 5407 of file elxu_commands.c.

int elxu_cmd_version ( int  argc,
char **  argv 
)

Command handler for the version command.

Description
This function processes the version command.

Command: version
Required Parameters: None
Optional Parameters: None
Supported Devices: N/A
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 346 of file elxu_commands.c.

int elxu_cmd_vlan ( int  argc,
char **  argv 
)

Command handler for the vlan command.

Description
This function processes the vlan command.

Command: vlan
Required Parameters: <add|del|show> Parameters: <add|del> <vlan-id> Optional Parameters: -d <device>
Supported Devices: Skyhawk
Supported Protocols: iSCSI

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 1975 of file elxu_commands.c.

int elxu_cmd_write ( int  argc,
char **  argv 
)

Command handler for the write command.

Description
This function processes the write command.

Command: write
Required Parameters: -f <filename>
Optional Parameters: -d <device>
Supported Devices: Any
Supported Protocols: N/A

Parameters
argcThe number of command line arguments.
argvAn array of pointers to the command line arguments.
Returns
Returns 0 on success; or a non-zero error code value on failure.

Definition at line 307 of file elxu_commands.c.