Emulex Logo
OneCoreā„¢ Storage SDK Release 11.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
elxu_mbox.c File Reference
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdarg.h>
#include <assert.h>
#include <string.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <dirent.h>
#include <unistd.h>
#include <ctype.h>
#include <sys/mman.h>
#include <ocs_ioctl.h>
#include <elxu_device.h>
#include <elxu_sli4.h>
#include <elxu_mbox.h>
#include <elxu_common.h>
#include <elxu_mgmt.h>
#include <elx_pt_ioctl.h>
#include <elxu_dump.h>

Go to the source code of this file.

Data Structures

struct  vpdbuf_t
 
struct  mbox_skyhawk_linkcfg_map_t
 Mapping from mgmt string to Skyhawk config IDs. More...
 

Macros

#define IOCTL_BUFSIZE   64*1024
 
#define DPORT_DYNAMIC_MODE   0x1
 
#define DPORT_STATIC_MODE   0x2
 
#define DPORT_QUERY_DYNAMIC_MODE   0x3
 
#define VPD_LARGE_RESOURCE_TYPE_ID_STRING_TAG   0x82
 
#define VPD_LARGE_RESOURCE_TYPE_R_TAG   0x90
 
#define VPD_LARGE_RESOURCE_TYPE_W_TAG   0x91
 
#define VPD_SMALL_RESOURCE_TYPE_END_TAG   0x78
 

Functions

static char * format_sli4_ip_address (uint32_t *address)
 Given a 6-word IP address in the format specified in the SLI4 spec, return a printable IP address. More...
 
static int ocs_mbox (elxu_device_t *device, mbox_command_t *mboxcmd, uint32_t mboxcmdLength, void *inbuf, uint32_t inbufLength, void *outbuf, uint32_t outbufLength)
 
static int pt_mbox (elxu_device_t *device, mbox_command_t *mboxcmd, uint32_t mboxcmdLength, void *inbuf, uint32_t inbufLength, void *outbuf, uint32_t outbufLength)
 
static int vpddone (vpdbuf_t *vpd)
 
static int vpdnext (vpdbuf_t *vpd)
 
static uint8_t * vpdref (vpdbuf_t *vpd)
 
static uint8_t * elx_find_vpd (uint8_t *vpddata, uint32_t vpddata_length, const char *key)
 
int mbox_read_rev (elxu_device_t *device)
 Issue read rev mailbox command. More...
 
static void parse_dport_result (mbox_res_fcoe_get_dport_results_t *rsp)
 
static int mbox_set_link_diag_state (elxu_device_t *device, void *mqe, int enable)
 
static int mbox_set_dport_mode (elxu_device_t *device, void *mqe, int mode, int enable)
 
int mbox_query_dynamic_dport_status (elxu_device_t *device)
 
int mbox_set_dynamic_dport (elxu_device_t *device, char *state_str)
 
int mbox_get_dport_stats (elxu_device_t *device)
 Issue Get dport stats mailbox command Create a GET_DPORT_STAT mailbox command. More...
 
int mbox_diag_loopback_tests (elxu_device_t *device, int loopback_type, int retry_count)
 Issue set link diag loopback mailbox command. More...
 
int mbox_read_link_status (elxu_device_t *device, int clof, int clrc)
 Issue read link status mailbox command. More...
 
int mbox_read_status (elxu_device_t *device, uint32_t clear_counter)
 Issue read status mailbox command. More...
 
int mbox_ioctl_common_enable_disable_port (elxu_device_t *device, uint32_t port_status)
 Issue IOCTL_COMMON_ENABLE_DISABLE_PORT command. More...
 
int mbox_ioctl_common_set_be_configuration_and_resources (elxu_device_t *device, int *mac_addr)
 Issue IOCTL_COMMON_SET_BE_CONFIGRATION_AND_RESOURCES command. More...
 
int mbox_soft_assign_mac (elxu_device_t *device, int *macaddr)
 Soft assign MAC. More...
 
void mbox_get_mac_pt (elxu_device_t *device, uint8_t *mac_addr)
 
void mbox_get_wwn_pt (int fd, uint8_t *wwnn, uint8_t *wwpn)
 
int mbox_get_serialnum_pt (elxu_device_t *device, char *serial_num, int serial_num_size)
 
int mbox_set_nv_mac_pt (elxu_device_t *device, int *macaddr)
 
int mbox_set_nv_wwn_pt (elxu_device_t *device, char *wwpn_p, char *wwnn_p)
 Issue a set non-volatile WWNN/WWPN. More...
 
int mbox_read_flashrom (elxu_device_t *device, uint32_t opcode, uint32_t optype, uint32_t offset, void *outbuf, uint32_t outbufLength)
 Issue read flashrom mailbox command. More...
 
int mbox_write_flashrom (elxu_device_t *device, uint32_t opcode, uint32_t optype, uint32_t offset, void *inbuf, uint32_t inbufLength)
 Issue write flashrom mailbox command. More...
 
int mbox_manage_fat (elxu_device_t *device, uint32_t fat_operation, uint32_t read_log_offset, void *buffer, uint32_t bufferLength)
 Issue COMMON_MANAGE_FAT mailbox commands. More...
 
int mbox_ext_fat (elxu_device_t *device, uint32_t opcode, void *mbox, uint32_t mboxLength)
 Issue EFD mailbox command. More...
 
int mbox_tcp_parameters (elxu_device_t *device, uint32_t request_flags, uint32_t ackFrequency, uint32_t delayedAckTimerValue)
 Issue the Set TCP Parameters mbox command. More...
 
int mbox_connection_update (elxu_device_t *device, uint32_t request_flags, uint16_t connectionId, uint32_t constrainWindowValue)
 
int mbox_get_connection_info (elxu_device_t *device, uint32_t connectionHandle)
 Get connection info. More...
 
static const char * mbox_get_clp_from_mgmt_linkcfg_str (char *mgmt_str)
 Get the CLP string from the mgmt config string. More...
 
static char * mbox_get_mgmt_from_clp_linkcfg_str (char *clp_str)
 Get the mgmt config string from the CLP string. More...
 
char * mbox_get_linkcfg_lancer_pt (elxu_device_t *device)
 
char * mbox_get_linkcfg_skyhawk_pt (elxu_device_t *device)
 
char * mbox_get_linkcfg_pt (elxu_device_t *device)
 Get Link configuration. More...
 
int mbox_set_linkcfg_lancer_pt (elxu_device_t *device, char *config)
 
static uint32_t mbox_get_config_id_from_mgmt_str (char *mgmt_str)
 Get the config ID from the mgmt config string. More...
 
int mbox_set_linkcfg_skyhawk_pt (elxu_device_t *device, char *config)
 
int mbox_set_linkcfg_pt (elxu_device_t *device, char *config)
 Set Link configuration. More...
 
int create_vport (elxu_device_t *device_p, uint64_t wwnn, uint64_t wwpn, int targetFlag, int initiatorFlag)
 
int remove_vport (elxu_device_t *device_p, uint64_t wwnn, uint64_t wwpn, int targetFlag, int initiatorFlag)
 
int mbox_common (elxu_device_t *device, mbox_command_t *mboxcmd, uint32_t mboxcmdLength, void *inbuf, uint32_t inbufLength, void *outbuf, uint32_t outbufLength)
 Send a mailbox command. More...
 
memref_t * elx_pt_dma_alloc (elxu_device_t *device, int size)
 Request a DMA allocation through elx_pt. More...
 
void elx_pt_dma_free (memref_t *memref)
 Free a DMA allocation through elx_pt. More...
 
int mbox_fw_reset_pt (elxu_device_t *device, int dd)
 
int mbox_sli4_init_pt (elxu_device_t *device)
 
int mbox_get_profile_list_pt (elxu_device_t *device, char *result, int result_len)
 
int mbox_get_active_profile_pt (elxu_device_t *device, char *result, int result_len)
 
int mbox_set_active_profile_pt (elxu_device_t *device, char *new_profile_id)
 

Variables

static mbox_linkcfg_map_t mbox_linkcfg_str []
 
static mbox_skyhawk_linkcfg_map_t mbox_skyhawk_linkcfg_map []
 Mapping from mgmt string to Skyhawk config IDs. More...
 

Macro Details

#define DPORT_DYNAMIC_MODE   0x1

Definition at line 59 of file elxu_mbox.c.

#define DPORT_QUERY_DYNAMIC_MODE   0x3

Definition at line 61 of file elxu_mbox.c.

#define DPORT_STATIC_MODE   0x2

Definition at line 60 of file elxu_mbox.c.

#define IOCTL_BUFSIZE   64*1024

Definition at line 57 of file elxu_mbox.c.

#define VPD_LARGE_RESOURCE_TYPE_ID_STRING_TAG   0x82

Definition at line 68 of file elxu_mbox.c.

#define VPD_LARGE_RESOURCE_TYPE_R_TAG   0x90

Definition at line 69 of file elxu_mbox.c.

#define VPD_LARGE_RESOURCE_TYPE_W_TAG   0x91

Definition at line 70 of file elxu_mbox.c.

#define VPD_SMALL_RESOURCE_TYPE_END_TAG   0x78

Definition at line 71 of file elxu_mbox.c.

Function Details

int create_vport ( elxu_device_t *  device_p,
uint64_t  wwnn,
uint64_t  wwpn,
int  targetFlag,
int  initiatorFlag 
)

Definition at line 2319 of file elxu_mbox.c.

static uint8_t* elx_find_vpd ( uint8_t *  vpddata,
uint32_t  vpddata_length,
const char *  key 
)
inlinestatic

Definition at line 104 of file elxu_mbox.c.

memref_t* elx_pt_dma_alloc ( elxu_device_t *  device,
int  size 
)

Request a DMA allocation through elx_pt.

Description
Requests a DMA buffer allocation from the driver.
Parameters
devicedevice structure
sizeSize of the requested buffer in bytes
Returns
a pointer to a new memref_t on success, NULL on failure

Definition at line 2549 of file elxu_mbox.c.

void elx_pt_dma_free ( memref_t *  memref)

Free a DMA allocation through elx_pt.

Description
Sends a DMA free request to the driver.
Parameters
memrefThe memref_t to be freed.
Returns
nothing

Definition at line 2602 of file elxu_mbox.c.

static char * format_sli4_ip_address ( uint32_t *  address)
static

Given a 6-word IP address in the format specified in the SLI4 spec, return a printable IP address.

Parameters
addressA pointer to an IP address in an array of six 32-bit words
Returns
a pointer to a static array containing a printable IP address

Definition at line 2366 of file elxu_mbox.c.

int mbox_common ( elxu_device_t *  device,
mbox_command_t *  mboxcmd,
uint32_t  mboxcmdLength,
void *  inbuf,
uint32_t  inbufLength,
void *  outbuf,
uint32_t  outbufLength 
)

Send a mailbox command.

Populates a mailbox command passing input and output buffer to the device

For SLI_CONFIG commands with non-embedded command, the command should be put in the inbuf, the mboxcmd will point to just the SLI_CONFIG command + buffer descriptor

Parameters
devicedevice descriptor
mboxcmdpointer to mailbox command data
mboxcmdLengthlength of mailbox command in bytes
inbufinput buffer
inbufLengthlength in bytes of input buffer in bytes
outbufoutput buffer
outbufLengthlength in bytes of output buffer in bytes
timeoutthe mailbox timeout for the command to be carried out
Returns
return zero for success, negative error code for error

Definition at line 2418 of file elxu_mbox.c.

int mbox_connection_update ( elxu_device_t *  device,
uint32_t  request_flags,
uint16_t  connectionId,
uint32_t  constrainWindowValue 
)

Definition at line 1719 of file elxu_mbox.c.

int mbox_diag_loopback_tests ( elxu_device_t *  device,
int  loopback_type,
int  retry_count 
)

Issue set link diag loopback mailbox command.

Create a SET_LINK_DIAG_LOOPBACK mailbox command

Parameters
devicedevice descriptor
mqe
typeloopback test type
Returns
return zero for success, negative error code for error

Definition at line 543 of file elxu_mbox.c.

int mbox_ext_fat ( elxu_device_t *  device,
uint32_t  opcode,
void *  mbox,
uint32_t  mboxLength 
)

Issue EFD mailbox command.

Submits the mailbox command given by 'mbox' for 'mboxLength'. Note, that 'mboxLength' will generally include a response payload

Parameters
devicedevice descriptor
opcodecommon mailbox opcode
mboxpointer to common mailbox command + payload
mboxLengthlength of mailbox command + payload
Returns
0 if successful, a negative error code for failure

Definition at line 1604 of file elxu_mbox.c.

int mbox_fw_reset_pt ( elxu_device_t *  device,
int  dd 
)

Definition at line 2625 of file elxu_mbox.c.

int mbox_get_active_profile_pt ( elxu_device_t *  device,
char *  result,
int  result_len 
)

Definition at line 2844 of file elxu_mbox.c.

static const char* mbox_get_clp_from_mgmt_linkcfg_str ( char *  mgmt_str)
static

Get the CLP string from the mgmt config string.

Parameters
mgmt_strmgmt string.
Returns
Returns the CLP string corresponding to mgmt_str.

Definition at line 1860 of file elxu_mbox.c.

static uint32_t mbox_get_config_id_from_mgmt_str ( char *  mgmt_str)
static

Get the config ID from the mgmt config string.

Parameters
mgmt_strmgmt string value.
Returns
Returns the config ID value corresponding to mgmt_str.

Definition at line 2229 of file elxu_mbox.c.

int mbox_get_connection_info ( elxu_device_t *  device,
uint32_t  connectionHandle 
)

Get connection info.

Parameters
devicedevice descriptor
connectionthe handle of the connection for which info is requested

Only supported on Skyhawk

Returns
0 if successful, a negative error code for failure

Definition at line 1776 of file elxu_mbox.c.

int mbox_get_dport_stats ( elxu_device_t *  device)

Issue Get dport stats mailbox command Create a GET_DPORT_STAT mailbox command.

Returns
return zero for success, negative error code for error

Definition at line 408 of file elxu_mbox.c.

char* mbox_get_linkcfg_lancer_pt ( elxu_device_t *  device)

Definition at line 1894 of file elxu_mbox.c.

char* mbox_get_linkcfg_pt ( elxu_device_t *  device)

Get Link configuration.

Description
Get Link configuration information via passthrough driver
Parameters
devicedevice descriptor
Returns
0 if successful, a negative error code for failure

Definition at line 2086 of file elxu_mbox.c.

char* mbox_get_linkcfg_skyhawk_pt ( elxu_device_t *  device)

Definition at line 2006 of file elxu_mbox.c.

void mbox_get_mac_pt ( elxu_device_t *  device,
uint8_t *  mac_addr 
)

Definition at line 950 of file elxu_mbox.c.

static char* mbox_get_mgmt_from_clp_linkcfg_str ( char *  clp_str)
static

Get the mgmt config string from the CLP string.

Parameters
clp_strclp string.
Returns
Returns the mgmt string corresponding to clp_str.

Definition at line 1881 of file elxu_mbox.c.

int mbox_get_profile_list_pt ( elxu_device_t *  device,
char *  result,
int  result_len 
)

Definition at line 2771 of file elxu_mbox.c.

int mbox_get_serialnum_pt ( elxu_device_t *  device,
char *  serial_num,
int  serial_num_size 
)

Definition at line 1053 of file elxu_mbox.c.

void mbox_get_wwn_pt ( int  fd,
uint8_t *  wwnn,
uint8_t *  wwpn 
)

Definition at line 1029 of file elxu_mbox.c.

int mbox_ioctl_common_enable_disable_port ( elxu_device_t *  device,
uint32_t  port_status 
)

Issue IOCTL_COMMON_ENABLE_DISABLE_PORT command.

create IOCTL_COMMON_ENABLE_DISABLE_PORT mailbox command

Parameters
devicedevice descriptor
port_statusENABLE (1) or DISABLE (0)
Returns
return zero for success, negative error code for error

Definition at line 824 of file elxu_mbox.c.

int mbox_ioctl_common_set_be_configuration_and_resources ( elxu_device_t *  device,
int *  mac_addr 
)

Issue IOCTL_COMMON_SET_BE_CONFIGRATION_AND_RESOURCES command.

create IOCTL_COMMON_SET_BE_CONFIGURATION_AND_RESOURCES mailbox command

Parameters
devicedevice descriptor
mac_addrnew MAC address
Returns
return zero for success, negative error code for error

Definition at line 875 of file elxu_mbox.c.

int mbox_manage_fat ( elxu_device_t *  device,
uint32_t  fat_operation,
uint32_t  read_log_offset,
void *  buffer,
uint32_t  bufferLength 
)

Issue COMMON_MANAGE_FAT mailbox commands.

This function issues Manage FAT mailbox commands. There are four supported operations:

FAT_OPERATION_RETRIEVE read the FAT contents FAT_OPERATION_QUERY return the length of the FAT (may be zero) FAT_OPERATION_CLEAR clear the FAT FAT_OPERATION_TRIGGER trigger a UE that will append to FAT

Parameters
devicedevice descriptor
fat_oprationrequested FAT operation
read_log_offsetread offset (for FAT_OPERATION_RETRIEVE)
bufferread buffer (for FAT_OPERATION_RETRIEVE)
bufferLengthread buffer length in bytes (for FAT_OPERATION_RETRIEVE)
Returns
number of bytes read for FAT_OPERATION_RETRIEVE, or negative error code
length of FAT for FAT_OPERATION_QUERY, or negative error code
0, or negative error code for FAT_OPERATION_CLEAR, FAT_OPERATION_TRIGGER

Definition at line 1510 of file elxu_mbox.c.

int mbox_query_dynamic_dport_status ( elxu_device_t *  device)

Definition at line 369 of file elxu_mbox.c.

int mbox_read_flashrom ( elxu_device_t *  device,
uint32_t  opcode,
uint32_t  optype,
uint32_t  offset,
void *  outbuf,
uint32_t  outbufLength 
)

Issue read flashrom mailbox command.

Create a SLI_CONFIG Read Flashrom mailbox command

Parameters
devicedevice descriptor
opcodeREAD/WRITE_FLASHROM opcode value
optypeREAD/WRITE_FLASHROM optype value
optypeREAD/WRITE_FLASHROM offset value
outbufoutput buffer
outbufLengthlength in bytes of output buffer
Returns
return zero for success, negative error code for error

Definition at line 1339 of file elxu_mbox.c.

int mbox_read_link_status ( elxu_device_t *  device,
int  clof,
int  clrc 
)

Issue read link status mailbox command.

Create a READ_LNK_STAT mailbox command

Parameters
devicedevice descriptor
clofclear overflow flag
clrcclear all counters floag
Returns
return zero for success, negative error code for error

Definition at line 666 of file elxu_mbox.c.

int mbox_read_rev ( elxu_device_t *  device)

Issue read rev mailbox command.

Create a READ_REV mailbox command

Parameters
devicedevice descriptor
Returns
return zero for success, negative error code for error

Definition at line 194 of file elxu_mbox.c.

int mbox_read_status ( elxu_device_t *  device,
uint32_t  clear_counter 
)

Issue read status mailbox command.

Create a READ_STATUS mailbox command

Parameters
devicedevice descriptor
clear_counterclear counter flag
Returns
return zero for success, negative error code for error

Definition at line 763 of file elxu_mbox.c.

int mbox_set_active_profile_pt ( elxu_device_t *  device,
char *  new_profile_id 
)

Definition at line 2940 of file elxu_mbox.c.

static int mbox_set_dport_mode ( elxu_device_t *  device,
void *  mqe,
int  mode,
int  enable 
)
static

Definition at line 323 of file elxu_mbox.c.

int mbox_set_dynamic_dport ( elxu_device_t *  device,
char *  state_str 
)

Definition at line 385 of file elxu_mbox.c.

static int mbox_set_link_diag_state ( elxu_device_t *  device,
void *  mqe,
int  enable 
)
static

Definition at line 289 of file elxu_mbox.c.

int mbox_set_linkcfg_lancer_pt ( elxu_device_t *  device,
char *  config 
)

Definition at line 2099 of file elxu_mbox.c.

int mbox_set_linkcfg_pt ( elxu_device_t *  device,
char *  config 
)

Set Link configuration.

Description
Sends a set_linkcfg command via passthrough driver
Parameters
devicedevice descriptor
confignew link configuration string
Returns
0 if successful, a negative error code for failure

Definition at line 2306 of file elxu_mbox.c.

int mbox_set_linkcfg_skyhawk_pt ( elxu_device_t *  device,
char *  config 
)

Definition at line 2242 of file elxu_mbox.c.

int mbox_set_nv_mac_pt ( elxu_device_t *  device,
int *  macaddr 
)

Definition at line 1098 of file elxu_mbox.c.

int mbox_set_nv_wwn_pt ( elxu_device_t *  device,
char *  wwpn_p,
char *  wwnn_p 
)

Issue a set non-volatile WWNN/WWPN.

Create a WRITE NVPARAMS mailbox command

Parameters
devicedevice descriptor
wwnworld-wide name
nameWWNN/WWPN flag to set
Returns
return zero for success, negative error code for error

Definition at line 1276 of file elxu_mbox.c.

int mbox_sli4_init_pt ( elxu_device_t *  device)

Definition at line 2738 of file elxu_mbox.c.

int mbox_soft_assign_mac ( elxu_device_t *  device,
int *  macaddr 
)

Soft assign MAC.

Definition at line 939 of file elxu_mbox.c.

int mbox_tcp_parameters ( elxu_device_t *  device,
uint32_t  request_flags,
uint32_t  ackFrequency,
uint32_t  delayedAckTimerValue 
)

Issue the Set TCP Parameters mbox command.

Parameters
devicedevice descriptor
request_flagsflags indicating which values should be updated
ackFrequencyACK frequency
delayedAckTimerValuedelayed ACK timer value, in milliseconds
Returns
0 if successful, a negative error code for failure

Definition at line 1663 of file elxu_mbox.c.

int mbox_write_flashrom ( elxu_device_t *  device,
uint32_t  opcode,
uint32_t  optype,
uint32_t  offset,
void *  inbuf,
uint32_t  inbufLength 
)

Issue write flashrom mailbox command.

Parameters
devicedevice descriptor
opcodeREAD/WRITE_FLASHROM opcode value
optypeREAD/WRITE_FLASHROM optype value
optypeREAD/WRITE_FLASHROM offset value
inbufinput buffer
inbufLengthlength in bytes of input buffer
Returns
return zero for success, negative error code for error

Definition at line 1421 of file elxu_mbox.c.

static int ocs_mbox ( elxu_device_t *  device,
mbox_command_t *  mboxcmd,
uint32_t  mboxcmdLength,
void *  inbuf,
uint32_t  inbufLength,
void *  outbuf,
uint32_t  outbufLength 
)
static

Definition at line 2489 of file elxu_mbox.c.

static void parse_dport_result ( mbox_res_fcoe_get_dport_results_t *  rsp)
static

Definition at line 226 of file elxu_mbox.c.

static int pt_mbox ( elxu_device_t *  device,
mbox_command_t *  mboxcmd,
uint32_t  mboxcmdLength,
void *  inbuf,
uint32_t  inbufLength,
void *  outbuf,
uint32_t  outbufLength 
)
static

Definition at line 2434 of file elxu_mbox.c.

int remove_vport ( elxu_device_t *  device_p,
uint64_t  wwnn,
uint64_t  wwpn,
int  targetFlag,
int  initiatorFlag 
)

Definition at line 2339 of file elxu_mbox.c.

static int vpddone ( vpdbuf_t *  vpd)
inlinestatic

Definition at line 81 of file elxu_mbox.c.

static int vpdnext ( vpdbuf_t *  vpd)
inlinestatic

Definition at line 87 of file elxu_mbox.c.

static uint8_t* vpdref ( vpdbuf_t *  vpd)
inlinestatic

Definition at line 98 of file elxu_mbox.c.

Variable Details

mbox_linkcfg_map_t mbox_linkcfg_str[]
static
Initial value:
= {
}
#define OCS_CONFIG_LINKCFG_4X10G
linkcfg strings
Definition: ocs_ioctl.h:472
#define OCS_CONFIG_LINKCFG_1X40G
Definition: ocs_ioctl.h:473
#define OCS_CONFIG_LINKCFG_4X8G
Definition: ocs_ioctl.h:475
#define CLP_LINKCFG_4X10G
CLP string used in the DMTF_CLP_CMD mailbox command.
Definition: elxu_mbox.h:53
#define CLP_LINKCFG_1X40G
Definition: elxu_mbox.h:54
#define CLP_LINKCFG_2X10G_2X8G
Definition: elxu_mbox.h:59
#define CLP_LINKCFG_4X8G
Definition: elxu_mbox.h:56
#define OCS_CONFIG_LINKCFG_4X1G
Definition: ocs_ioctl.h:476
#define OCS_CONFIG_LINKCFG_2X16G
Definition: ocs_ioctl.h:474
#define CLP_LINKCFG_2X16G
Definition: elxu_mbox.h:55
#define OCS_CONFIG_LINKCFG_2X10G
Definition: ocs_ioctl.h:477
#define CLP_LINKCFG_4X1G
Definition: elxu_mbox.h:57
#define CLP_LINKCFG_2X10G
Definition: elxu_mbox.h:58
#define OCS_CONFIG_LINKCFG_2X10G_2X8G
Definition: ocs_ioctl.h:478

Definition at line 1842 of file elxu_mbox.c.

mbox_skyhawk_linkcfg_map_t mbox_skyhawk_linkcfg_map[]
static
Initial value:
= {
}
#define OCS_CONFIG_LINKCFG_4X10G
linkcfg strings
Definition: ocs_ioctl.h:472
#define OCS_CONFIG_LINKCFG_1X40G
Definition: ocs_ioctl.h:473

Mapping from mgmt string to Skyhawk config IDs.

Definition at line 2216 of file elxu_mbox.c.