Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
t4fw_api.h File Reference

Go to the source code of this file.

Data Structures

struct  fw_wr_hdr
 
struct  fw_ulptx_wr
 
struct  fw_tp_wr
 
struct  fw_eth_tx_pkt_wr
 
struct  fw_flowc_mnemval
 
struct  fw_flowc_wr
 
struct  fw_ofld_tx_data_wr
 
struct  fw_cmd_wr
 
struct  fw_eth_tx_pkt_vm_wr
 
struct  fw_cmd_hdr
 
struct  fw_ldst_cmd
 
union  fw_ldst_cmd::fw_ldst
 
struct  fw_ldst_cmd::fw_ldst::fw_ldst_addrval
 
struct  fw_ldst_cmd::fw_ldst::fw_ldst_idctxt
 
struct  fw_ldst_cmd::fw_ldst::fw_ldst_mdio
 
struct  fw_ldst_cmd::fw_ldst::fw_ldst_mps
 
struct  fw_ldst_cmd::fw_ldst::fw_ldst_func
 
struct  fw_reset_cmd
 
struct  fw_hello_cmd
 
struct  fw_bye_cmd
 
struct  fw_initialize_cmd
 
struct  fw_caps_config_cmd
 
struct  fw_params_cmd
 
struct  fw_params_cmd::fw_params_param
 
struct  fw_pfvf_cmd
 
struct  fw_iq_cmd
 
struct  fw_eq_eth_cmd
 
struct  fw_eq_ctrl_cmd
 
struct  fw_eq_ofld_cmd
 
struct  fw_vi_cmd
 
struct  fw_vi_mac_cmd
 
union  fw_vi_mac_cmd::fw_vi_mac
 
struct  fw_vi_mac_cmd::fw_vi_mac::fw_vi_mac_exact
 
struct  fw_vi_mac_cmd::fw_vi_mac::fw_vi_mac_hash
 
struct  fw_vi_rxmode_cmd
 
struct  fw_vi_enable_cmd
 
struct  fw_vi_stats_cmd
 
union  fw_vi_stats_cmd::fw_vi_stats
 
struct  fw_vi_stats_cmd::fw_vi_stats::fw_vi_stats_ctl
 
struct  fw_vi_stats_cmd::fw_vi_stats::fw_vi_stats_pf
 
struct  fw_vi_stats_cmd::fw_vi_stats::fw_vi_stats_vf
 
struct  fw_acl_mac_cmd
 
struct  fw_acl_vlan_cmd
 
struct  fw_port_cmd
 
union  fw_port_cmd::fw_port
 
struct  fw_port_cmd::fw_port::fw_port_l1cfg
 
struct  fw_port_cmd::fw_port::fw_port_l2cfg
 
struct  fw_port_cmd::fw_port::fw_port_info
 
struct  fw_port_cmd::fw_port::fw_port_ppp
 
struct  fw_port_cmd::fw_port::fw_port_dcb
 
struct  fw_port_stats_cmd
 
union  fw_port_stats_cmd::fw_port_stats
 
struct  fw_port_stats_cmd::fw_port_stats::fw_port_stats_ctl
 
struct  fw_port_stats_cmd::fw_port_stats::fw_port_stats_all
 
struct  fw_port_lb_stats_cmd
 
union  fw_port_lb_stats_cmd::fw_port_lb_stats
 
struct  fw_port_lb_stats_cmd::fw_port_lb_stats::fw_port_lb_stats_ctl
 
struct  fw_port_lb_stats_cmd::fw_port_lb_stats::fw_port_lb_stats_all
 
struct  fw_rss_ind_tbl_cmd
 
struct  fw_rss_glb_config_cmd
 
union  fw_rss_glb_config_cmd::fw_rss_glb_config
 
struct  fw_rss_glb_config_cmd::fw_rss_glb_config::fw_rss_glb_config_manual
 
struct  fw_rss_glb_config_cmd::fw_rss_glb_config::fw_rss_glb_config_basicvirtual
 
struct  fw_rss_vi_config_cmd
 
union  fw_rss_vi_config_cmd::fw_rss_vi_config
 
struct  fw_rss_vi_config_cmd::fw_rss_vi_config::fw_rss_vi_config_manual
 
struct  fw_rss_vi_config_cmd::fw_rss_vi_config::fw_rss_vi_config_basicvirtual
 
struct  fw_error_cmd
 
union  fw_error_cmd::fw_error
 
struct  fw_error_cmd::fw_error::fw_error_exception
 
struct  fw_error_cmd::fw_error::fw_error_hwmodule
 
struct  fw_error_cmd::fw_error::fw_error_wr
 
struct  fw_error_cmd::fw_error::fw_error_acl
 
struct  fw_debug_cmd
 
union  fw_debug_cmd::fw_debug
 
struct  fw_debug_cmd::fw_debug::fw_debug_assert
 
struct  fw_debug_cmd::fw_debug::fw_debug_prt
 
struct  fw_hdr
 

Macros

#define FW_T4VF_SGE_BASE_ADDR   0x0000
 
#define FW_T4VF_MPS_BASE_ADDR   0x0100
 
#define FW_T4VF_PL_BASE_ADDR   0x0200
 
#define FW_T4VF_MBDATA_BASE_ADDR   0x0240
 
#define FW_T4VF_CIM_BASE_ADDR   0x0300
 
#define FW_WR_OP(x)   ((x) << 24)
 
#define FW_WR_ATOMIC(x)   ((x) << 23)
 
#define FW_WR_FLUSH(x)   ((x) << 22)
 
#define FW_WR_COMPL(x)   ((x) << 21)
 
#define FW_WR_IMMDLEN_MASK   0xff
 
#define FW_WR_IMMDLEN(x)   ((x) << 0)
 
#define FW_WR_EQUIQ   (1U << 31)
 
#define FW_WR_EQUEQ   (1U << 30)
 
#define FW_WR_FLOWID(x)   ((x) << 8)
 
#define FW_WR_LEN16(x)   ((x) << 0)
 
#define HW_TPL_FR_MT_PR_IV_P_FC   0X32B
 
#define FW_FLOWC_WR_NPARAMS(x)   ((x) << 0)
 
#define FW_OFLD_TX_DATA_WR_TUNNEL(x)   ((x) << 19)
 
#define FW_OFLD_TX_DATA_WR_SAVE(x)   ((x) << 18)
 
#define FW_OFLD_TX_DATA_WR_FLUSH(x)   ((x) << 17)
 
#define FW_OFLD_TX_DATA_WR_URGENT(x)   ((x) << 16)
 
#define FW_OFLD_TX_DATA_WR_MORE(x)   ((x) << 15)
 
#define FW_OFLD_TX_DATA_WR_SHOVE(x)   ((x) << 14)
 
#define FW_OFLD_TX_DATA_WR_ULPMODE(x)   ((x) << 10)
 
#define FW_OFLD_TX_DATA_WR_ULPSUBMODE(x)   ((x) << 6)
 
#define FW_CMD_WR_DMA   (1U << 17)
 
#define FW_CMD_MAX_TIMEOUT   3000
 
#define FW_CMD_HELLO_TIMEOUT   (3 * FW_CMD_MAX_TIMEOUT)
 
#define FW_CMD_HELLO_RETRIES   3
 
#define FW_CMD_OP(x)   ((x) << 24)
 
#define FW_CMD_OP_GET(x)   (((x) >> 24) & 0xff)
 
#define FW_CMD_REQUEST   (1U << 23)
 
#define FW_CMD_READ   (1U << 22)
 
#define FW_CMD_WRITE   (1U << 21)
 
#define FW_CMD_EXEC   (1U << 20)
 
#define FW_CMD_RAMASK(x)   ((x) << 20)
 
#define FW_CMD_RETVAL(x)   ((x) << 8)
 
#define FW_CMD_RETVAL_GET(x)   (((x) >> 8) & 0xff)
 
#define FW_CMD_LEN16(x)   ((x) << 0)
 
#define FW_LDST_CMD_ADDRSPACE(x)   ((x) << 0)
 
#define FW_LDST_CMD_MSG(x)   ((x) << 31)
 
#define FW_LDST_CMD_PADDR(x)   ((x) << 8)
 
#define FW_LDST_CMD_MMD(x)   ((x) << 0)
 
#define FW_LDST_CMD_FID(x)   ((x) << 15)
 
#define FW_LDST_CMD_CTL(x)   ((x) << 0)
 
#define FW_LDST_CMD_RPLCPF(x)   ((x) << 0)
 
#define FW_RESET_CMD_HALT_SHIFT   31
 
#define FW_RESET_CMD_HALT_MASK   0x1
 
#define FW_RESET_CMD_HALT(x)   ((x) << FW_RESET_CMD_HALT_SHIFT)
 
#define FW_RESET_CMD_HALT_GET(x)   (((x) >> FW_RESET_CMD_HALT_SHIFT) & FW_RESET_CMD_HALT_MASK)
 
#define FW_HELLO_CMD_ERR   (1U << 31)
 
#define FW_HELLO_CMD_INIT   (1U << 30)
 
#define FW_HELLO_CMD_MASTERDIS(x)   ((x) << 29)
 
#define FW_HELLO_CMD_MASTERFORCE(x)   ((x) << 28)
 
#define FW_HELLO_CMD_MBMASTER_MASK   0xfU
 
#define FW_HELLO_CMD_MBMASTER_SHIFT   24
 
#define FW_HELLO_CMD_MBMASTER(x)   ((x) << FW_HELLO_CMD_MBMASTER_SHIFT)
 
#define FW_HELLO_CMD_MBMASTER_GET(x)   (((x) >> FW_HELLO_CMD_MBMASTER_SHIFT) & FW_HELLO_CMD_MBMASTER_MASK)
 
#define FW_HELLO_CMD_MBASYNCNOT(x)   ((x) << 20)
 
#define FW_HELLO_CMD_STAGE(x)   ((x) << 17)
 
#define FW_HELLO_CMD_CLEARINIT   (1U << 16)
 
#define FW_CAPS_CONFIG_CMD_CFVALID   (1U << 27)
 
#define FW_CAPS_CONFIG_CMD_MEMTYPE_CF(x)   ((x) << 24)
 
#define FW_CAPS_CONFIG_CMD_MEMADDR64K_CF(x)   ((x) << 16)
 
#define FW_PARAMS_MNEM(x)   ((x) << 24)
 
#define FW_PARAMS_PARAM_X(x)   ((x) << 16)
 
#define FW_PARAMS_PARAM_Y_SHIFT   8
 
#define FW_PARAMS_PARAM_Y_MASK   0xffU
 
#define FW_PARAMS_PARAM_Y(x)   ((x) << FW_PARAMS_PARAM_Y_SHIFT)
 
#define FW_PARAMS_PARAM_Y_GET(x)
 
#define FW_PARAMS_PARAM_Z_SHIFT   0
 
#define FW_PARAMS_PARAM_Z_MASK   0xffu
 
#define FW_PARAMS_PARAM_Z(x)   ((x) << FW_PARAMS_PARAM_Z_SHIFT)
 
#define FW_PARAMS_PARAM_Z_GET(x)
 
#define FW_PARAMS_PARAM_XYZ(x)   ((x) << 0)
 
#define FW_PARAMS_PARAM_YZ(x)   ((x) << 0)
 
#define FW_PARAMS_CMD_PFN(x)   ((x) << 8)
 
#define FW_PARAMS_CMD_VFN(x)   ((x) << 0)
 
#define FW_PFVF_CMD_PFN(x)   ((x) << 8)
 
#define FW_PFVF_CMD_VFN(x)   ((x) << 0)
 
#define FW_PFVF_CMD_NIQFLINT(x)   ((x) << 20)
 
#define FW_PFVF_CMD_NIQFLINT_GET(x)   (((x) >> 20) & 0xfff)
 
#define FW_PFVF_CMD_NIQ(x)   ((x) << 0)
 
#define FW_PFVF_CMD_NIQ_GET(x)   (((x) >> 0) & 0xfffff)
 
#define FW_PFVF_CMD_TYPE   (1 << 31)
 
#define FW_PFVF_CMD_TYPE_GET(x)   (((x) >> 31) & 0x1)
 
#define FW_PFVF_CMD_CMASK(x)   ((x) << 24)
 
#define FW_PFVF_CMD_CMASK_MASK   0xf
 
#define FW_PFVF_CMD_CMASK_GET(x)   (((x) >> 24) & FW_PFVF_CMD_CMASK_MASK)
 
#define FW_PFVF_CMD_PMASK(x)   ((x) << 20)
 
#define FW_PFVF_CMD_PMASK_MASK   0xf
 
#define FW_PFVF_CMD_PMASK_GET(x)   (((x) >> 20) & FW_PFVF_CMD_PMASK_MASK)
 
#define FW_PFVF_CMD_NEQ(x)   ((x) << 0)
 
#define FW_PFVF_CMD_NEQ_GET(x)   (((x) >> 0) & 0xfffff)
 
#define FW_PFVF_CMD_TC(x)   ((x) << 24)
 
#define FW_PFVF_CMD_TC_GET(x)   (((x) >> 24) & 0xff)
 
#define FW_PFVF_CMD_NVI(x)   ((x) << 16)
 
#define FW_PFVF_CMD_NVI_GET(x)   (((x) >> 16) & 0xff)
 
#define FW_PFVF_CMD_NEXACTF(x)   ((x) << 0)
 
#define FW_PFVF_CMD_NEXACTF_GET(x)   (((x) >> 0) & 0xffff)
 
#define FW_PFVF_CMD_R_CAPS(x)   ((x) << 24)
 
#define FW_PFVF_CMD_R_CAPS_GET(x)   (((x) >> 24) & 0xff)
 
#define FW_PFVF_CMD_WX_CAPS(x)   ((x) << 16)
 
#define FW_PFVF_CMD_WX_CAPS_GET(x)   (((x) >> 16) & 0xff)
 
#define FW_PFVF_CMD_NETHCTRL(x)   ((x) << 0)
 
#define FW_PFVF_CMD_NETHCTRL_GET(x)   (((x) >> 0) & 0xffff)
 
#define FW_IQ_CMD_PFN(x)   ((x) << 8)
 
#define FW_IQ_CMD_VFN(x)   ((x) << 0)
 
#define FW_IQ_CMD_ALLOC   (1U << 31)
 
#define FW_IQ_CMD_FREE   (1U << 30)
 
#define FW_IQ_CMD_MODIFY   (1U << 29)
 
#define FW_IQ_CMD_IQSTART(x)   ((x) << 28)
 
#define FW_IQ_CMD_IQSTOP(x)   ((x) << 27)
 
#define FW_IQ_CMD_TYPE(x)   ((x) << 29)
 
#define FW_IQ_CMD_IQASYNCH(x)   ((x) << 28)
 
#define FW_IQ_CMD_VIID(x)   ((x) << 16)
 
#define FW_IQ_CMD_IQANDST(x)   ((x) << 15)
 
#define FW_IQ_CMD_IQANUS(x)   ((x) << 14)
 
#define FW_IQ_CMD_IQANUD(x)   ((x) << 12)
 
#define FW_IQ_CMD_IQANDSTINDEX(x)   ((x) << 0)
 
#define FW_IQ_CMD_IQDROPRSS   (1U << 15)
 
#define FW_IQ_CMD_IQGTSMODE   (1U << 14)
 
#define FW_IQ_CMD_IQPCIECH(x)   ((x) << 12)
 
#define FW_IQ_CMD_IQDCAEN(x)   ((x) << 11)
 
#define FW_IQ_CMD_IQDCACPU(x)   ((x) << 6)
 
#define FW_IQ_CMD_IQINTCNTTHRESH(x)   ((x) << 4)
 
#define FW_IQ_CMD_IQO   (1U << 3)
 
#define FW_IQ_CMD_IQCPRIO(x)   ((x) << 2)
 
#define FW_IQ_CMD_IQESIZE(x)   ((x) << 0)
 
#define FW_IQ_CMD_IQNS(x)   ((x) << 31)
 
#define FW_IQ_CMD_IQRO(x)   ((x) << 30)
 
#define FW_IQ_CMD_IQFLINTIQHSEN(x)   ((x) << 28)
 
#define FW_IQ_CMD_IQFLINTCONGEN(x)   ((x) << 27)
 
#define FW_IQ_CMD_IQFLINTISCSIC(x)   ((x) << 26)
 
#define FW_IQ_CMD_FL0CNGCHMAP(x)   ((x) << 20)
 
#define FW_IQ_CMD_FL0CACHELOCK(x)   ((x) << 15)
 
#define FW_IQ_CMD_FL0DBP(x)   ((x) << 14)
 
#define FW_IQ_CMD_FL0DATANS(x)   ((x) << 13)
 
#define FW_IQ_CMD_FL0DATARO(x)   ((x) << 12)
 
#define FW_IQ_CMD_FL0CONGCIF(x)   ((x) << 11)
 
#define FW_IQ_CMD_FL0ONCHIP(x)   ((x) << 10)
 
#define FW_IQ_CMD_FL0STATUSPGNS(x)   ((x) << 9)
 
#define FW_IQ_CMD_FL0STATUSPGRO(x)   ((x) << 8)
 
#define FW_IQ_CMD_FL0FETCHNS(x)   ((x) << 7)
 
#define FW_IQ_CMD_FL0FETCHRO(x)   ((x) << 6)
 
#define FW_IQ_CMD_FL0HOSTFCMODE(x)   ((x) << 4)
 
#define FW_IQ_CMD_FL0CPRIO(x)   ((x) << 3)
 
#define FW_IQ_CMD_FL0PADEN   (1U << 2)
 
#define FW_IQ_CMD_FL0PACKEN   (1U << 1)
 
#define FW_IQ_CMD_FL0CONGEN   (1U << 0)
 
#define FW_IQ_CMD_FL0DCAEN(x)   ((x) << 15)
 
#define FW_IQ_CMD_FL0DCACPU(x)   ((x) << 10)
 
#define FW_IQ_CMD_FL0FBMIN(x)   ((x) << 7)
 
#define FW_IQ_CMD_FL0FBMAX(x)   ((x) << 4)
 
#define FW_IQ_CMD_FL0CIDXFTHRESHO   (1U << 3)
 
#define FW_IQ_CMD_FL0CIDXFTHRESH(x)   ((x) << 0)
 
#define FW_IQ_CMD_FL1CNGCHMAP(x)   ((x) << 20)
 
#define FW_IQ_CMD_FL1CACHELOCK(x)   ((x) << 15)
 
#define FW_IQ_CMD_FL1DBP(x)   ((x) << 14)
 
#define FW_IQ_CMD_FL1DATANS(x)   ((x) << 13)
 
#define FW_IQ_CMD_FL1DATARO(x)   ((x) << 12)
 
#define FW_IQ_CMD_FL1CONGCIF(x)   ((x) << 11)
 
#define FW_IQ_CMD_FL1ONCHIP(x)   ((x) << 10)
 
#define FW_IQ_CMD_FL1STATUSPGNS(x)   ((x) << 9)
 
#define FW_IQ_CMD_FL1STATUSPGRO(x)   ((x) << 8)
 
#define FW_IQ_CMD_FL1FETCHNS(x)   ((x) << 7)
 
#define FW_IQ_CMD_FL1FETCHRO(x)   ((x) << 6)
 
#define FW_IQ_CMD_FL1HOSTFCMODE(x)   ((x) << 4)
 
#define FW_IQ_CMD_FL1CPRIO(x)   ((x) << 3)
 
#define FW_IQ_CMD_FL1PADEN   (1U << 2)
 
#define FW_IQ_CMD_FL1PACKEN   (1U << 1)
 
#define FW_IQ_CMD_FL1CONGEN   (1U << 0)
 
#define FW_IQ_CMD_FL1DCAEN(x)   ((x) << 15)
 
#define FW_IQ_CMD_FL1DCACPU(x)   ((x) << 10)
 
#define FW_IQ_CMD_FL1FBMIN(x)   ((x) << 7)
 
#define FW_IQ_CMD_FL1FBMAX(x)   ((x) << 4)
 
#define FW_IQ_CMD_FL1CIDXFTHRESHO   (1U << 3)
 
#define FW_IQ_CMD_FL1CIDXFTHRESH(x)   ((x) << 0)
 
#define FW_EQ_ETH_CMD_PFN(x)   ((x) << 8)
 
#define FW_EQ_ETH_CMD_VFN(x)   ((x) << 0)
 
#define FW_EQ_ETH_CMD_ALLOC   (1U << 31)
 
#define FW_EQ_ETH_CMD_FREE   (1U << 30)
 
#define FW_EQ_ETH_CMD_MODIFY   (1U << 29)
 
#define FW_EQ_ETH_CMD_EQSTART   (1U << 28)
 
#define FW_EQ_ETH_CMD_EQSTOP   (1U << 27)
 
#define FW_EQ_ETH_CMD_EQID(x)   ((x) << 0)
 
#define FW_EQ_ETH_CMD_EQID_GET(x)   (((x) >> 0) & 0xfffff)
 
#define FW_EQ_ETH_CMD_PHYSEQID(x)   ((x) << 0)
 
#define FW_EQ_ETH_CMD_PHYSEQID_GET(x)   (((x) >> 0) & 0xfffff)
 
#define FW_EQ_ETH_CMD_FETCHSZM(x)   ((x) << 26)
 
#define FW_EQ_ETH_CMD_STATUSPGNS(x)   ((x) << 25)
 
#define FW_EQ_ETH_CMD_STATUSPGRO(x)   ((x) << 24)
 
#define FW_EQ_ETH_CMD_FETCHNS(x)   ((x) << 23)
 
#define FW_EQ_ETH_CMD_FETCHRO(x)   ((x) << 22)
 
#define FW_EQ_ETH_CMD_HOSTFCMODE(x)   ((x) << 20)
 
#define FW_EQ_ETH_CMD_CPRIO(x)   ((x) << 19)
 
#define FW_EQ_ETH_CMD_ONCHIP(x)   ((x) << 18)
 
#define FW_EQ_ETH_CMD_PCIECHN(x)   ((x) << 16)
 
#define FW_EQ_ETH_CMD_IQID(x)   ((x) << 0)
 
#define FW_EQ_ETH_CMD_DCAEN(x)   ((x) << 31)
 
#define FW_EQ_ETH_CMD_DCACPU(x)   ((x) << 26)
 
#define FW_EQ_ETH_CMD_FBMIN(x)   ((x) << 23)
 
#define FW_EQ_ETH_CMD_FBMAX(x)   ((x) << 20)
 
#define FW_EQ_ETH_CMD_CIDXFTHRESHO(x)   ((x) << 19)
 
#define FW_EQ_ETH_CMD_CIDXFTHRESH(x)   ((x) << 16)
 
#define FW_EQ_ETH_CMD_EQSIZE(x)   ((x) << 0)
 
#define FW_EQ_ETH_CMD_VIID(x)   ((x) << 16)
 
#define FW_EQ_CTRL_CMD_PFN(x)   ((x) << 8)
 
#define FW_EQ_CTRL_CMD_VFN(x)   ((x) << 0)
 
#define FW_EQ_CTRL_CMD_ALLOC   (1U << 31)
 
#define FW_EQ_CTRL_CMD_FREE   (1U << 30)
 
#define FW_EQ_CTRL_CMD_MODIFY   (1U << 29)
 
#define FW_EQ_CTRL_CMD_EQSTART   (1U << 28)
 
#define FW_EQ_CTRL_CMD_EQSTOP   (1U << 27)
 
#define FW_EQ_CTRL_CMD_CMPLIQID(x)   ((x) << 20)
 
#define FW_EQ_CTRL_CMD_EQID(x)   ((x) << 0)
 
#define FW_EQ_CTRL_CMD_EQID_GET(x)   (((x) >> 0) & 0xfffff)
 
#define FW_EQ_CTRL_CMD_PHYSEQID_GET(x)   (((x) >> 0) & 0xfffff)
 
#define FW_EQ_CTRL_CMD_FETCHSZM   (1U << 26)
 
#define FW_EQ_CTRL_CMD_STATUSPGNS   (1U << 25)
 
#define FW_EQ_CTRL_CMD_STATUSPGRO   (1U << 24)
 
#define FW_EQ_CTRL_CMD_FETCHNS   (1U << 23)
 
#define FW_EQ_CTRL_CMD_FETCHRO   (1U << 22)
 
#define FW_EQ_CTRL_CMD_HOSTFCMODE(x)   ((x) << 20)
 
#define FW_EQ_CTRL_CMD_CPRIO(x)   ((x) << 19)
 
#define FW_EQ_CTRL_CMD_ONCHIP(x)   ((x) << 18)
 
#define FW_EQ_CTRL_CMD_PCIECHN(x)   ((x) << 16)
 
#define FW_EQ_CTRL_CMD_IQID(x)   ((x) << 0)
 
#define FW_EQ_CTRL_CMD_DCAEN(x)   ((x) << 31)
 
#define FW_EQ_CTRL_CMD_DCACPU(x)   ((x) << 26)
 
#define FW_EQ_CTRL_CMD_FBMIN(x)   ((x) << 23)
 
#define FW_EQ_CTRL_CMD_FBMAX(x)   ((x) << 20)
 
#define FW_EQ_CTRL_CMD_CIDXFTHRESHO(x)   ((x) << 19)
 
#define FW_EQ_CTRL_CMD_CIDXFTHRESH(x)   ((x) << 16)
 
#define FW_EQ_CTRL_CMD_EQSIZE(x)   ((x) << 0)
 
#define FW_EQ_OFLD_CMD_PFN(x)   ((x) << 8)
 
#define FW_EQ_OFLD_CMD_VFN(x)   ((x) << 0)
 
#define FW_EQ_OFLD_CMD_ALLOC   (1U << 31)
 
#define FW_EQ_OFLD_CMD_FREE   (1U << 30)
 
#define FW_EQ_OFLD_CMD_MODIFY   (1U << 29)
 
#define FW_EQ_OFLD_CMD_EQSTART   (1U << 28)
 
#define FW_EQ_OFLD_CMD_EQSTOP   (1U << 27)
 
#define FW_EQ_OFLD_CMD_EQID(x)   ((x) << 0)
 
#define FW_EQ_OFLD_CMD_EQID_GET(x)   (((x) >> 0) & 0xfffff)
 
#define FW_EQ_OFLD_CMD_PHYSEQID_GET(x)   (((x) >> 0) & 0xfffff)
 
#define FW_EQ_OFLD_CMD_FETCHSZM(x)   ((x) << 26)
 
#define FW_EQ_OFLD_CMD_STATUSPGNS(x)   ((x) << 25)
 
#define FW_EQ_OFLD_CMD_STATUSPGRO(x)   ((x) << 24)
 
#define FW_EQ_OFLD_CMD_FETCHNS(x)   ((x) << 23)
 
#define FW_EQ_OFLD_CMD_FETCHRO(x)   ((x) << 22)
 
#define FW_EQ_OFLD_CMD_HOSTFCMODE(x)   ((x) << 20)
 
#define FW_EQ_OFLD_CMD_CPRIO(x)   ((x) << 19)
 
#define FW_EQ_OFLD_CMD_ONCHIP(x)   ((x) << 18)
 
#define FW_EQ_OFLD_CMD_PCIECHN(x)   ((x) << 16)
 
#define FW_EQ_OFLD_CMD_IQID(x)   ((x) << 0)
 
#define FW_EQ_OFLD_CMD_DCAEN(x)   ((x) << 31)
 
#define FW_EQ_OFLD_CMD_DCACPU(x)   ((x) << 26)
 
#define FW_EQ_OFLD_CMD_FBMIN(x)   ((x) << 23)
 
#define FW_EQ_OFLD_CMD_FBMAX(x)   ((x) << 20)
 
#define FW_EQ_OFLD_CMD_CIDXFTHRESHO(x)   ((x) << 19)
 
#define FW_EQ_OFLD_CMD_CIDXFTHRESH(x)   ((x) << 16)
 
#define FW_EQ_OFLD_CMD_EQSIZE(x)   ((x) << 0)
 
#define FW_VIID_PFN_GET(x)   (((x) >> 8) & 0x7)
 
#define FW_VIID_VIVLD_GET(x)   (((x) >> 7) & 0x1)
 
#define FW_VIID_VIN_GET(x)   (((x) >> 0) & 0x7F)
 
#define FW_VI_CMD_PFN(x)   ((x) << 8)
 
#define FW_VI_CMD_VFN(x)   ((x) << 0)
 
#define FW_VI_CMD_ALLOC   (1U << 31)
 
#define FW_VI_CMD_FREE   (1U << 30)
 
#define FW_VI_CMD_VIID(x)   ((x) << 0)
 
#define FW_VI_CMD_VIID_GET(x)   ((x) & 0xfff)
 
#define FW_VI_CMD_PORTID(x)   ((x) << 4)
 
#define FW_VI_CMD_PORTID_GET(x)   (((x) >> 4) & 0xf)
 
#define FW_VI_CMD_RSSSIZE_GET(x)   (((x) >> 0) & 0x7ff)
 
#define FW_VI_MAC_ADD_MAC   0x3FF
 
#define FW_VI_MAC_ADD_PERSIST_MAC   0x3FE
 
#define FW_VI_MAC_MAC_BASED_FREE   0x3FD
 
#define FW_CLS_TCAM_NUM_ENTRIES   336
 
#define FW_VI_MAC_CMD_VIID(x)   ((x) << 0)
 
#define FW_VI_MAC_CMD_FREEMACS(x)   ((x) << 31)
 
#define FW_VI_MAC_CMD_HASHVECEN   (1U << 23)
 
#define FW_VI_MAC_CMD_HASHUNIEN(x)   ((x) << 22)
 
#define FW_VI_MAC_CMD_VALID   (1U << 15)
 
#define FW_VI_MAC_CMD_PRIO(x)   ((x) << 12)
 
#define FW_VI_MAC_CMD_SMAC_RESULT(x)   ((x) << 10)
 
#define FW_VI_MAC_CMD_SMAC_RESULT_GET(x)   (((x) >> 10) & 0x3)
 
#define FW_VI_MAC_CMD_IDX(x)   ((x) << 0)
 
#define FW_VI_MAC_CMD_IDX_GET(x)   (((x) >> 0) & 0x3ff)
 
#define FW_RXMODE_MTU_NO_CHG   65535
 
#define FW_VI_RXMODE_CMD_VIID(x)   ((x) << 0)
 
#define FW_VI_RXMODE_CMD_MTU_MASK   0xffff
 
#define FW_VI_RXMODE_CMD_MTU(x)   ((x) << 16)
 
#define FW_VI_RXMODE_CMD_PROMISCEN_MASK   0x3
 
#define FW_VI_RXMODE_CMD_PROMISCEN(x)   ((x) << 14)
 
#define FW_VI_RXMODE_CMD_ALLMULTIEN_MASK   0x3
 
#define FW_VI_RXMODE_CMD_ALLMULTIEN(x)   ((x) << 12)
 
#define FW_VI_RXMODE_CMD_BROADCASTEN_MASK   0x3
 
#define FW_VI_RXMODE_CMD_BROADCASTEN(x)   ((x) << 10)
 
#define FW_VI_RXMODE_CMD_VLANEXEN_MASK   0x3
 
#define FW_VI_RXMODE_CMD_VLANEXEN(x)   ((x) << 8)
 
#define FW_VI_ENABLE_CMD_VIID(x)   ((x) << 0)
 
#define FW_VI_ENABLE_CMD_IEN(x)   ((x) << 31)
 
#define FW_VI_ENABLE_CMD_EEN(x)   ((x) << 30)
 
#define FW_VI_ENABLE_CMD_LED   (1U << 29)
 
#define VI_VF_NUM_STATS   16
 
#define VI_PF_NUM_STATS   17
 
#define FW_VI_STATS_CMD_VIID(x)   ((x) << 0)
 
#define FW_VI_STATS_CMD_NSTATS(x)   ((x) << 12)
 
#define FW_VI_STATS_CMD_IX(x)   ((x) << 0)
 
#define FW_ACL_MAC_CMD_PFN(x)   ((x) << 8)
 
#define FW_ACL_MAC_CMD_VFN(x)   ((x) << 0)
 
#define FW_ACL_MAC_CMD_EN(x)   ((x) << 31)
 
#define FW_ACL_VLAN_CMD_PFN(x)   ((x) << 8)
 
#define FW_ACL_VLAN_CMD_VFN(x)   ((x) << 0)
 
#define FW_ACL_VLAN_CMD_EN(x)   ((x) << 31)
 
#define FW_ACL_VLAN_CMD_DROPNOVLAN(x)   ((x) << 7)
 
#define FW_ACL_VLAN_CMD_FM(x)   ((x) << 6)
 
#define FW_PORT_MDI(x)   ((x) << 9)
 
#define FW_PORT_CMD_READ   (1U << 22)
 
#define FW_PORT_CMD_PORTID(x)   ((x) << 0)
 
#define FW_PORT_CMD_PORTID_GET(x)   (((x) >> 0) & 0xf)
 
#define FW_PORT_CMD_ACTION(x)   ((x) << 16)
 
#define FW_PORT_CMD_ACTION_GET(x)   (((x) >> 16) & 0xffff)
 
#define FW_PORT_CMD_CTLBF(x)   ((x) << 10)
 
#define FW_PORT_CMD_OVLAN3(x)   ((x) << 7)
 
#define FW_PORT_CMD_OVLAN2(x)   ((x) << 6)
 
#define FW_PORT_CMD_OVLAN1(x)   ((x) << 5)
 
#define FW_PORT_CMD_OVLAN0(x)   ((x) << 4)
 
#define FW_PORT_CMD_IVLAN0(x)   ((x) << 3)
 
#define FW_PORT_CMD_TXIPG(x)   ((x) << 19)
 
#define FW_PORT_CMD_LSTATUS   (1U << 31)
 
#define FW_PORT_CMD_LSPEED(x)   ((x) << 24)
 
#define FW_PORT_CMD_LSPEED_GET(x)   (((x) >> 24) & 0x3f)
 
#define FW_PORT_CMD_TXPAUSE   (1U << 23)
 
#define FW_PORT_CMD_RXPAUSE   (1U << 22)
 
#define FW_PORT_CMD_MDIOCAP   (1U << 21)
 
#define FW_PORT_CMD_MDIOADDR_GET(x)   (((x) >> 16) & 0x1f)
 
#define FW_PORT_CMD_LPTXPAUSE   (1U << 15)
 
#define FW_PORT_CMD_LPRXPAUSE   (1U << 14)
 
#define FW_PORT_CMD_PTYPE_MASK   0x1f
 
#define FW_PORT_CMD_PTYPE_GET(x)   (((x) >> 8) & FW_PORT_CMD_PTYPE_MASK)
 
#define FW_PORT_CMD_MODTYPE_MASK   0x1f
 
#define FW_PORT_CMD_MODTYPE_GET(x)   (((x) >> 0) & FW_PORT_CMD_MODTYPE_MASK)
 
#define FW_PORT_CMD_PPPEN(x)   ((x) << 31)
 
#define FW_PORT_CMD_TPSRC(x)   ((x) << 28)
 
#define FW_PORT_CMD_NCSISRC(x)   ((x) << 24)
 
#define FW_PORT_CMD_CH0(x)   ((x) << 20)
 
#define FW_PORT_CMD_CH1(x)   ((x) << 16)
 
#define FW_PORT_CMD_CH2(x)   ((x) << 12)
 
#define FW_PORT_CMD_CH3(x)   ((x) << 8)
 
#define FW_PORT_CMD_NCSICH(x)   ((x) << 4)
 
#define FW_NUM_PORT_STATS   50
 
#define FW_NUM_PORT_TX_STATS   23
 
#define FW_NUM_PORT_RX_STATS   27
 
#define FW_PORT_STATS_CMD_NSTATS(x)   ((x) << 4)
 
#define FW_PORT_STATS_CMD_BG_BM(x)   ((x) << 0)
 
#define FW_PORT_STATS_CMD_TX(x)   ((x) << 7)
 
#define FW_PORT_STATS_CMD_IX(x)   ((x) << 0)
 
#define FW_NUM_LB_STATS   16
 
#define FW_PORT_LB_STATS_CMD_LBPORT(x)   ((x) << 0)
 
#define FW_PORT_LB_STATS_CMD_NSTATS(x)   ((x) << 4)
 
#define FW_PORT_LB_STATS_CMD_BG_BM(x)   ((x) << 0)
 
#define FW_PORT_LB_STATS_CMD_IX(x)   ((x) << 0)
 
#define FW_RSS_IND_TBL_CMD_VIID(x)   ((x) << 0)
 
#define FW_RSS_IND_TBL_CMD_IQ0(x)   ((x) << 20)
 
#define FW_RSS_IND_TBL_CMD_IQ1(x)   ((x) << 10)
 
#define FW_RSS_IND_TBL_CMD_IQ2(x)   ((x) << 0)
 
#define FW_RSS_GLB_CONFIG_CMD_SYNMAPEN   (1U << 8)
 
#define FW_RSS_GLB_CONFIG_CMD_SYN4TUPENIPV6   (1U << 7)
 
#define FW_RSS_GLB_CONFIG_CMD_SYN2TUPENIPV6   (1U << 6)
 
#define FW_RSS_GLB_CONFIG_CMD_SYN4TUPENIPV4   (1U << 5)
 
#define FW_RSS_GLB_CONFIG_CMD_SYN2TUPENIPV4   (1U << 4)
 
#define FW_RSS_GLB_CONFIG_CMD_OFDMAPEN   (1U << 3)
 
#define FW_RSS_GLB_CONFIG_CMD_TNLMAPEN   (1U << 2)
 
#define FW_RSS_GLB_CONFIG_CMD_TNLALLLKP   (1U << 1)
 
#define FW_RSS_GLB_CONFIG_CMD_HASHTOEPLITZ   (1U << 0)
 
#define FW_RSS_GLB_CONFIG_CMD_MODE(x)   ((x) << 28)
 
#define FW_RSS_GLB_CONFIG_CMD_MODE_GET(x)   (((x) >> 28) & 0xf)
 
#define FW_RSS_GLB_CONFIG_CMD_MODE_MANUAL   0
 
#define FW_RSS_GLB_CONFIG_CMD_MODE_BASICVIRTUAL   1
 
#define FW_RSS_VI_CONFIG_CMD_VIID(x)   ((x) << 0)
 
#define FW_RSS_VI_CONFIG_CMD_DEFAULTQ(x)   ((x) << 16)
 
#define FW_RSS_VI_CONFIG_CMD_DEFAULTQ_GET(x)   (((x) >> 16) & 0x3ff)
 
#define FW_RSS_VI_CONFIG_CMD_IP6FOURTUPEN   (1U << 4)
 
#define FW_RSS_VI_CONFIG_CMD_IP6TWOTUPEN   (1U << 3)
 
#define FW_RSS_VI_CONFIG_CMD_IP4FOURTUPEN   (1U << 2)
 
#define FW_RSS_VI_CONFIG_CMD_IP4TWOTUPEN   (1U << 1)
 
#define FW_RSS_VI_CONFIG_CMD_UDPEN   (1U << 0)
 
#define FW_DEBUG_CMD_TYPE_GET(x)   ((x) & 0xff)
 
#define FW_PCIE_FW_ERR   (1U << 31)
 
#define FW_PCIE_FW_INIT   (1U << 30)
 
#define FW_PCIE_FW_HALT   (1U << 29)
 
#define FW_PCIE_FW_MASTER_VLD   (1U << 15)
 
#define FW_PCIE_FW_MASTER_MASK   0x7
 
#define FW_PCIE_FW_MASTER_SHIFT   12
 
#define FW_PCIE_FW_MASTER(x)   ((x) << FW_PCIE_FW_MASTER_SHIFT)
 
#define FW_PCIE_FW_MASTER_GET(x)
 
#define FW_HDR_FW_VER_MAJOR_GET(x)   (((x) >> 24) & 0xff)
 
#define FW_HDR_FW_VER_MINOR_GET(x)   (((x) >> 16) & 0xff)
 
#define FW_HDR_FW_VER_MICRO_GET(x)   (((x) >> 8) & 0xff)
 
#define FW_HDR_FW_VER_BUILD_GET(x)   (((x) >> 0) & 0xff)
 

Enumerations

enum  fw_wr_opcodes {
  FW_FILTER_WR = 0x02, FW_ULPTX_WR = 0x04, FW_TP_WR = 0x05, FW_ETH_TX_PKT_WR = 0x08,
  FW_FLOWC_WR = 0x0a, FW_OFLD_TX_DATA_WR = 0x0b, FW_CMD_WR = 0x10, FW_ETH_TX_PKT_VM_WR = 0x11,
  FW_RI_RES_WR = 0x0c, FW_RI_INIT_WR = 0x0d, FW_RI_RDMA_WRITE_WR = 0x14, FW_RI_SEND_WR = 0x15,
  FW_RI_RDMA_READ_WR = 0x16, FW_RI_RECV_WR = 0x17, FW_RI_BIND_MW_WR = 0x18, FW_RI_FR_NSMR_WR = 0x19,
  FW_RI_INV_LSTAG_WR = 0x1a, FW_LASTC2E_WR = 0x40
}
 
enum  fw_flowc_mnem {
  FW_FLOWC_MNEM_PFNVFN, FW_FLOWC_MNEM_CH, FW_FLOWC_MNEM_PORT, FW_FLOWC_MNEM_IQID,
  FW_FLOWC_MNEM_SNDNXT, FW_FLOWC_MNEM_RCVNXT, FW_FLOWC_MNEM_SNDBUF, FW_FLOWC_MNEM_MSS
}
 
enum  fw_cmd_opcodes {
  FW_LDST_CMD = 0x01, FW_RESET_CMD = 0x03, FW_HELLO_CMD = 0x04, FW_BYE_CMD = 0x05,
  FW_INITIALIZE_CMD = 0x06, FW_CAPS_CONFIG_CMD = 0x07, FW_PARAMS_CMD = 0x08, FW_PFVF_CMD = 0x09,
  FW_IQ_CMD = 0x10, FW_EQ_MNGT_CMD = 0x11, FW_EQ_ETH_CMD = 0x12, FW_EQ_CTRL_CMD = 0x13,
  FW_EQ_OFLD_CMD = 0x21, FW_VI_CMD = 0x14, FW_VI_MAC_CMD = 0x15, FW_VI_RXMODE_CMD = 0x16,
  FW_VI_ENABLE_CMD = 0x17, FW_ACL_MAC_CMD = 0x18, FW_ACL_VLAN_CMD = 0x19, FW_VI_STATS_CMD = 0x1a,
  FW_PORT_CMD = 0x1b, FW_PORT_STATS_CMD = 0x1c, FW_PORT_LB_STATS_CMD = 0x1d, FW_PORT_TRACE_CMD = 0x1e,
  FW_PORT_TRACE_MMAP_CMD = 0x1f, FW_RSS_IND_TBL_CMD = 0x20, FW_RSS_GLB_CONFIG_CMD = 0x22, FW_RSS_VI_CONFIG_CMD = 0x23,
  FW_LASTC2E_CMD = 0x40, FW_ERROR_CMD = 0x80, FW_DEBUG_CMD = 0x81
}
 
enum  fw_cmd_cap {
  FW_CMD_CAP_PF = 0x01, FW_CMD_CAP_DMAQ = 0x02, FW_CMD_CAP_PORT = 0x04, FW_CMD_CAP_PORTPROMISC = 0x08,
  FW_CMD_CAP_PORTSTATS = 0x10, FW_CMD_CAP_VF = 0x80
}
 
enum  fw_ldst_addrspc {
  FW_LDST_ADDRSPC_FIRMWARE = 0x0001, FW_LDST_ADDRSPC_SGE_EGRC = 0x0008, FW_LDST_ADDRSPC_SGE_INGC = 0x0009, FW_LDST_ADDRSPC_SGE_FLMC = 0x000a,
  FW_LDST_ADDRSPC_SGE_CONMC = 0x000b, FW_LDST_ADDRSPC_TP_PIO = 0x0010, FW_LDST_ADDRSPC_TP_TM_PIO = 0x0011, FW_LDST_ADDRSPC_TP_MIB = 0x0012,
  FW_LDST_ADDRSPC_MDIO = 0x0018, FW_LDST_ADDRSPC_MPS = 0x0020, FW_LDST_ADDRSPC_FUNC = 0x0028
}
 
enum  fw_ldst_mps_fid { FW_LDST_MPS_ATRB, FW_LDST_MPS_RPLC }
 
enum  fw_ldst_func_access_ctl { FW_LDST_FUNC_ACC_CTL_VIID, FW_LDST_FUNC_ACC_CTL_FID }
 
enum  fw_ldst_func_mod_index { FW_LDST_FUNC_MPS }
 
enum  fw_hellow_cmd { fw_hello_cmd_stage_os = 0x0 }
 
enum  fw_caps_config_hm {
  FW_CAPS_CONFIG_HM_PCIE = 0x00000001, FW_CAPS_CONFIG_HM_PL = 0x00000002, FW_CAPS_CONFIG_HM_SGE = 0x00000004, FW_CAPS_CONFIG_HM_CIM = 0x00000008,
  FW_CAPS_CONFIG_HM_ULPTX = 0x00000010, FW_CAPS_CONFIG_HM_TP = 0x00000020, FW_CAPS_CONFIG_HM_ULPRX = 0x00000040, FW_CAPS_CONFIG_HM_PMRX = 0x00000080,
  FW_CAPS_CONFIG_HM_PMTX = 0x00000100, FW_CAPS_CONFIG_HM_MC = 0x00000200, FW_CAPS_CONFIG_HM_LE = 0x00000400, FW_CAPS_CONFIG_HM_MPS = 0x00000800,
  FW_CAPS_CONFIG_HM_XGMAC = 0x00001000, FW_CAPS_CONFIG_HM_CPLSWITCH = 0x00002000, FW_CAPS_CONFIG_HM_T4DBG = 0x00004000, FW_CAPS_CONFIG_HM_MI = 0x00008000,
  FW_CAPS_CONFIG_HM_I2CM = 0x00010000, FW_CAPS_CONFIG_HM_NCSI = 0x00020000, FW_CAPS_CONFIG_HM_SMB = 0x00040000, FW_CAPS_CONFIG_HM_MA = 0x00080000,
  FW_CAPS_CONFIG_HM_EDRAM = 0x00100000, FW_CAPS_CONFIG_HM_PMU = 0x00200000, FW_CAPS_CONFIG_HM_UART = 0x00400000, FW_CAPS_CONFIG_HM_SF = 0x00800000
}
 
enum  fw_caps_config_nbm { FW_CAPS_CONFIG_NBM_IPMI = 0x00000001, FW_CAPS_CONFIG_NBM_NCSI = 0x00000002 }
 
enum  fw_caps_config_link { FW_CAPS_CONFIG_LINK_PPP = 0x00000001, FW_CAPS_CONFIG_LINK_QFC = 0x00000002, FW_CAPS_CONFIG_LINK_DCBX = 0x00000004 }
 
enum  fw_caps_config_switch { FW_CAPS_CONFIG_SWITCH_INGRESS = 0x00000001, FW_CAPS_CONFIG_SWITCH_EGRESS = 0x00000002 }
 
enum  fw_caps_config_nic { FW_CAPS_CONFIG_NIC = 0x00000001, FW_CAPS_CONFIG_NIC_VM = 0x00000002 }
 
enum  fw_caps_config_ofld { FW_CAPS_CONFIG_OFLD = 0x00000001 }
 
enum  fw_caps_config_rdma { FW_CAPS_CONFIG_RDMA_RDDP = 0x00000001, FW_CAPS_CONFIG_RDMA_RDMAC = 0x00000002 }
 
enum  fw_caps_config_iscsi { FW_CAPS_CONFIG_ISCSI_INITIATOR_PDU = 0x00000001, FW_CAPS_CONFIG_ISCSI_TARGET_PDU = 0x00000002, FW_CAPS_CONFIG_ISCSI_INITIATOR_CNXOFLD = 0x00000004, FW_CAPS_CONFIG_ISCSI_TARGET_CNXOFLD = 0x00000008 }
 
enum  fw_caps_config_fcoe { FW_CAPS_CONFIG_FCOE_INITIATOR = 0x00000001, FW_CAPS_CONFIG_FCOE_TARGET = 0x00000002 }
 
enum  fw_memtype_cf {
  FW_MEMTYPE_CF_EDC0 = 0x0, FW_MEMTYPE_CF_EDC1 = 0x1, FW_MEMTYPE_CF_EXTMEM = 0x2, FW_MEMTYPE_CF_FLASH = 0x4,
  FW_MEMTYPE_CF_INTERNAL = 0x5
}
 
enum  fw_params_mnem {
  FW_PARAMS_MNEM_DEV = 1, FW_PARAMS_MNEM_PFVF = 2, FW_PARAMS_MNEM_REG = 3, FW_PARAMS_MNEM_DMAQ = 4,
  FW_PARAMS_MNEM_LAST
}
 
enum  fw_params_param_dev {
  FW_PARAMS_PARAM_DEV_CCLK = 0x00, FW_PARAMS_PARAM_DEV_PORTVEC = 0x01, FW_PARAMS_PARAM_DEV_NTID = 0x02, FW_PARAMS_PARAM_DEV_FLOWC_BUFFIFO_SZ = 0x03,
  FW_PARAMS_PARAM_DEV_INTVER_NIC = 0x04, FW_PARAMS_PARAM_DEV_INTVER_VNIC = 0x05, FW_PARAMS_PARAM_DEV_INTVER_OFLD = 0x06, FW_PARAMS_PARAM_DEV_INTVER_RI = 0x07,
  FW_PARAMS_PARAM_DEV_INTVER_ISCSIPDU = 0x08, FW_PARAMS_PARAM_DEV_INTVER_ISCSI = 0x09, FW_PARAMS_PARAM_DEV_INTVER_FCOE = 0x0A, FW_PARAMS_PARAM_DEV_FWREV = 0x0B,
  FW_PARAMS_PARAM_DEV_TPREV = 0x0C, FW_PARAMS_PARAM_DEV_CF = 0x0D
}
 
enum  fw_params_param_pfvf {
  FW_PARAMS_PARAM_PFVF_RWXCAPS = 0x00, FW_PARAMS_PARAM_PFVF_ROUTE_START = 0x01, FW_PARAMS_PARAM_PFVF_ROUTE_END = 0x02, FW_PARAMS_PARAM_PFVF_CLIP_START = 0x03,
  FW_PARAMS_PARAM_PFVF_CLIP_END = 0x04, FW_PARAMS_PARAM_PFVF_FILTER_START = 0x05, FW_PARAMS_PARAM_PFVF_FILTER_END = 0x06, FW_PARAMS_PARAM_PFVF_SERVER_START = 0x07,
  FW_PARAMS_PARAM_PFVF_SERVER_END = 0x08, FW_PARAMS_PARAM_PFVF_TDDP_START = 0x09, FW_PARAMS_PARAM_PFVF_TDDP_END = 0x0A, FW_PARAMS_PARAM_PFVF_ISCSI_START = 0x0B,
  FW_PARAMS_PARAM_PFVF_ISCSI_END = 0x0C, FW_PARAMS_PARAM_PFVF_STAG_START = 0x0D, FW_PARAMS_PARAM_PFVF_STAG_END = 0x0E, FW_PARAMS_PARAM_PFVF_RQ_START = 0x1F,
  FW_PARAMS_PARAM_PFVF_RQ_END = 0x10, FW_PARAMS_PARAM_PFVF_PBL_START = 0x11, FW_PARAMS_PARAM_PFVF_PBL_END = 0x12, FW_PARAMS_PARAM_PFVF_L2T_START = 0x13,
  FW_PARAMS_PARAM_PFVF_L2T_END = 0x14, FW_PARAMS_PARAM_PFVF_SQRQ_START = 0x15, FW_PARAMS_PARAM_PFVF_SQRQ_END = 0x16, FW_PARAMS_PARAM_PFVF_CQ_START = 0x17,
  FW_PARAMS_PARAM_PFVF_CQ_END = 0x18, FW_PARAMS_PARAM_PFVF_SCHEDCLASS_ETH = 0x20, FW_PARAMS_PARAM_PFVF_VIID = 0x24, FW_PARAMS_PARAM_PFVF_CPMASK = 0x25,
  FW_PARAMS_PARAM_PFVF_OCQ_START = 0x26, FW_PARAMS_PARAM_PFVF_OCQ_END = 0x27, FW_PARAMS_PARAM_PFVF_CONM_MAP = 0x28, FW_PARAMS_PARAM_PFVF_IQFLINT_START = 0x29,
  FW_PARAMS_PARAM_PFVF_IQFLINT_END = 0x2A, FW_PARAMS_PARAM_PFVF_EQ_START = 0x2B, FW_PARAMS_PARAM_PFVF_EQ_END = 0x2C, FW_PARAMS_PARAM_PFVF_ACTIVE_FILTER_START = 0x2D,
  FW_PARAMS_PARAM_PFVF_ACTIVE_FILTER_END = 0x2E
}
 
enum  fw_params_param_dmaq {
  FW_PARAMS_PARAM_DMAQ_IQ_DCAEN_DCACPU = 0x00, FW_PARAMS_PARAM_DMAQ_IQ_INTCNTTHRESH = 0x01, FW_PARAMS_PARAM_DMAQ_EQ_CMPLIQID_MNGT = 0x10, FW_PARAMS_PARAM_DMAQ_EQ_CMPLIQID_CTRL = 0x11,
  FW_PARAMS_PARAM_DMAQ_EQ_SCHEDCLASS_ETH = 0x12
}
 
enum  fw_iq_type { FW_IQ_TYPE_FL_INT_CAP, FW_IQ_TYPE_NO_FL_INT_CAP }
 
enum  fw_vi_mac_smac { FW_VI_MAC_MPS_TCAM_ENTRY, FW_VI_MAC_MPS_TCAM_ONLY, FW_VI_MAC_SMT_ONLY, FW_VI_MAC_SMT_AND_MPSTCAM }
 
enum  fw_vi_mac_result { FW_VI_MAC_R_SUCCESS, FW_VI_MAC_R_F_NONEXISTENT_NOMEM, FW_VI_MAC_R_SMAC_FAIL, FW_VI_MAC_R_F_ACL_CHECK }
 
enum  fw_vi_stats_vf_index {
  FW_VI_VF_STAT_TX_BCAST_BYTES_IX, FW_VI_VF_STAT_TX_BCAST_FRAMES_IX, FW_VI_VF_STAT_TX_MCAST_BYTES_IX, FW_VI_VF_STAT_TX_MCAST_FRAMES_IX,
  FW_VI_VF_STAT_TX_UCAST_BYTES_IX, FW_VI_VF_STAT_TX_UCAST_FRAMES_IX, FW_VI_VF_STAT_TX_DROP_FRAMES_IX, FW_VI_VF_STAT_TX_OFLD_BYTES_IX,
  FW_VI_VF_STAT_TX_OFLD_FRAMES_IX, FW_VI_VF_STAT_RX_BCAST_BYTES_IX, FW_VI_VF_STAT_RX_BCAST_FRAMES_IX, FW_VI_VF_STAT_RX_MCAST_BYTES_IX,
  FW_VI_VF_STAT_RX_MCAST_FRAMES_IX, FW_VI_VF_STAT_RX_UCAST_BYTES_IX, FW_VI_VF_STAT_RX_UCAST_FRAMES_IX, FW_VI_VF_STAT_RX_ERR_FRAMES_IX
}
 
enum  fw_vi_stats_pf_index {
  FW_VI_PF_STAT_TX_BCAST_BYTES_IX, FW_VI_PF_STAT_TX_BCAST_FRAMES_IX, FW_VI_PF_STAT_TX_MCAST_BYTES_IX, FW_VI_PF_STAT_TX_MCAST_FRAMES_IX,
  FW_VI_PF_STAT_TX_UCAST_BYTES_IX, FW_VI_PF_STAT_TX_UCAST_FRAMES_IX, FW_VI_PF_STAT_TX_OFLD_BYTES_IX, FW_VI_PF_STAT_TX_OFLD_FRAMES_IX,
  FW_VI_PF_STAT_RX_BYTES_IX, FW_VI_PF_STAT_RX_FRAMES_IX, FW_VI_PF_STAT_RX_BCAST_BYTES_IX, FW_VI_PF_STAT_RX_BCAST_FRAMES_IX,
  FW_VI_PF_STAT_RX_MCAST_BYTES_IX, FW_VI_PF_STAT_RX_MCAST_FRAMES_IX, FW_VI_PF_STAT_RX_UCAST_BYTES_IX, FW_VI_PF_STAT_RX_UCAST_FRAMES_IX,
  FW_VI_PF_STAT_RX_ERR_FRAMES_IX
}
 
enum  fw_port_cap {
  FW_PORT_CAP_SPEED_100M = 0x0001, FW_PORT_CAP_SPEED_1G = 0x0002, FW_PORT_CAP_SPEED_2_5G = 0x0004, FW_PORT_CAP_SPEED_10G = 0x0008,
  FW_PORT_CAP_SPEED_40G = 0x0010, FW_PORT_CAP_SPEED_100G = 0x0020, FW_PORT_CAP_FC_RX = 0x0040, FW_PORT_CAP_FC_TX = 0x0080,
  FW_PORT_CAP_ANEG = 0x0100, FW_PORT_CAP_MDI_0 = 0x0200, FW_PORT_CAP_MDI_1 = 0x0400, FW_PORT_CAP_BEAN = 0x0800,
  FW_PORT_CAP_PMA_LPBK = 0x1000, FW_PORT_CAP_PCS_LPBK = 0x2000, FW_PORT_CAP_PHYXS_LPBK = 0x4000, FW_PORT_CAP_FAR_END_LPBK = 0x8000
}
 
enum  fw_port_mdi { FW_PORT_MDI_UNCHANGED, FW_PORT_MDI_AUTO, FW_PORT_MDI_F_STRAIGHT, FW_PORT_MDI_F_CROSSOVER }
 
enum  fw_port_action {
  FW_PORT_ACTION_L1_CFG = 0x0001, FW_PORT_ACTION_L2_CFG = 0x0002, FW_PORT_ACTION_GET_PORT_INFO = 0x0003, FW_PORT_ACTION_L2_PPP_CFG = 0x0004,
  FW_PORT_ACTION_L2_DCB_CFG = 0x0005, FW_PORT_ACTION_LOW_PWR_TO_NORMAL = 0x0010, FW_PORT_ACTION_L1_LOW_PWR_EN = 0x0011, FW_PORT_ACTION_L2_WOL_MODE_EN = 0x0012,
  FW_PORT_ACTION_LPBK_TO_NORMAL = 0x0020, FW_PORT_ACTION_L1_LPBK = 0x0021, FW_PORT_ACTION_L1_PMA_LPBK = 0x0022, FW_PORT_ACTION_L1_PCS_LPBK = 0x0023,
  FW_PORT_ACTION_L1_PHYXS_CSIDE_LPBK = 0x0024, FW_PORT_ACTION_L1_PHYXS_ESIDE_LPBK = 0x0025, FW_PORT_ACTION_PHY_RESET = 0x0040, FW_PORT_ACTION_PMA_RESET = 0x0041,
  FW_PORT_ACTION_PCS_RESET = 0x0042, FW_PORT_ACTION_PHYXS_RESET = 0x0043, FW_PORT_ACTION_DTEXS_REEST = 0x0044, FW_PORT_ACTION_AN_RESET = 0x0045
}
 
enum  fw_port_l2cfg_ctlbf {
  FW_PORT_L2_CTLBF_OVLAN0 = 0x01, FW_PORT_L2_CTLBF_OVLAN1 = 0x02, FW_PORT_L2_CTLBF_OVLAN2 = 0x04, FW_PORT_L2_CTLBF_OVLAN3 = 0x08,
  FW_PORT_L2_CTLBF_IVLAN = 0x10, FW_PORT_L2_CTLBF_TXIPG = 0x20
}
 
enum  fw_port_dcb_cfg { FW_PORT_DCB_CFG_PG = 0x01, FW_PORT_DCB_CFG_PFC = 0x02, FW_PORT_DCB_CFG_APPL = 0x04 }
 
enum  fw_port_dcb_cfg_rc { FW_PORT_DCB_CFG_SUCCESS = 0x0, FW_PORT_DCB_CFG_ERROR = 0x1 }
 
enum  fw_port_type {
  FW_PORT_TYPE_FIBER_XFI, FW_PORT_TYPE_FIBER_XAUI, FW_PORT_TYPE_BT_SGMII, FW_PORT_TYPE_BT_XFI,
  FW_PORT_TYPE_BT_XAUI, FW_PORT_TYPE_KX4, FW_PORT_TYPE_CX4, FW_PORT_TYPE_KX,
  FW_PORT_TYPE_KR, FW_PORT_TYPE_SFP, FW_PORT_TYPE_BP_AP, FW_PORT_TYPE_BP4_AP,
  FW_PORT_TYPE_NONE = FW_PORT_CMD_PTYPE_MASK
}
 
enum  fw_port_module_type {
  FW_PORT_MOD_TYPE_NA, FW_PORT_MOD_TYPE_LR, FW_PORT_MOD_TYPE_SR, FW_PORT_MOD_TYPE_ER,
  FW_PORT_MOD_TYPE_TWINAX_PASSIVE, FW_PORT_MOD_TYPE_TWINAX_ACTIVE, FW_PORT_MOD_TYPE_LRM, FW_PORT_MOD_TYPE_NONE = FW_PORT_CMD_MODTYPE_MASK
}
 
enum  fw_port_stats_tx_index {
  FW_STAT_TX_PORT_BYTES_IX, FW_STAT_TX_PORT_FRAMES_IX, FW_STAT_TX_PORT_BCAST_IX, FW_STAT_TX_PORT_MCAST_IX,
  FW_STAT_TX_PORT_UCAST_IX, FW_STAT_TX_PORT_ERROR_IX, FW_STAT_TX_PORT_64B_IX, FW_STAT_TX_PORT_65B_127B_IX,
  FW_STAT_TX_PORT_128B_255B_IX, FW_STAT_TX_PORT_256B_511B_IX, FW_STAT_TX_PORT_512B_1023B_IX, FW_STAT_TX_PORT_1024B_1518B_IX,
  FW_STAT_TX_PORT_1519B_MAX_IX, FW_STAT_TX_PORT_DROP_IX, FW_STAT_TX_PORT_PAUSE_IX, FW_STAT_TX_PORT_PPP0_IX,
  FW_STAT_TX_PORT_PPP1_IX, FW_STAT_TX_PORT_PPP2_IX, FW_STAT_TX_PORT_PPP3_IX, FW_STAT_TX_PORT_PPP4_IX,
  FW_STAT_TX_PORT_PPP5_IX, FW_STAT_TX_PORT_PPP6_IX, FW_STAT_TX_PORT_PPP7_IX
}
 
enum  fw_port_stat_rx_index {
  FW_STAT_RX_PORT_BYTES_IX, FW_STAT_RX_PORT_FRAMES_IX, FW_STAT_RX_PORT_BCAST_IX, FW_STAT_RX_PORT_MCAST_IX,
  FW_STAT_RX_PORT_UCAST_IX, FW_STAT_RX_PORT_MTU_ERROR_IX, FW_STAT_RX_PORT_MTU_CRC_ERROR_IX, FW_STAT_RX_PORT_CRC_ERROR_IX,
  FW_STAT_RX_PORT_LEN_ERROR_IX, FW_STAT_RX_PORT_SYM_ERROR_IX, FW_STAT_RX_PORT_64B_IX, FW_STAT_RX_PORT_65B_127B_IX,
  FW_STAT_RX_PORT_128B_255B_IX, FW_STAT_RX_PORT_256B_511B_IX, FW_STAT_RX_PORT_512B_1023B_IX, FW_STAT_RX_PORT_1024B_1518B_IX,
  FW_STAT_RX_PORT_1519B_MAX_IX, FW_STAT_RX_PORT_PAUSE_IX, FW_STAT_RX_PORT_PPP0_IX, FW_STAT_RX_PORT_PPP1_IX,
  FW_STAT_RX_PORT_PPP2_IX, FW_STAT_RX_PORT_PPP3_IX, FW_STAT_RX_PORT_PPP4_IX, FW_STAT_RX_PORT_PPP5_IX,
  FW_STAT_RX_PORT_PPP6_IX, FW_STAT_RX_PORT_PPP7_IX, FW_STAT_RX_PORT_LESS_64B_IX
}
 
enum  fw_port_lb_stats_index {
  FW_STAT_LB_PORT_BYTES_IX, FW_STAT_LB_PORT_FRAMES_IX, FW_STAT_LB_PORT_BCAST_IX, FW_STAT_LB_PORT_MCAST_IX,
  FW_STAT_LB_PORT_UCAST_IX, FW_STAT_LB_PORT_ERROR_IX, FW_STAT_LB_PORT_64B_IX, FW_STAT_LB_PORT_65B_127B_IX,
  FW_STAT_LB_PORT_128B_255B_IX, FW_STAT_LB_PORT_256B_511B_IX, FW_STAT_LB_PORT_512B_1023B_IX, FW_STAT_LB_PORT_1024B_1518B_IX,
  FW_STAT_LB_PORT_1519B_MAX_IX, FW_STAT_LB_PORT_DROP_FRAMES_IX
}
 
enum  fw_error_type { FW_ERROR_TYPE_EXCEPTION = 0x0, FW_ERROR_TYPE_HWMODULE = 0x1, FW_ERROR_TYPE_WR = 0x2, FW_ERROR_TYPE_ACL = 0x3 }
 
enum  fw_hdr_flags { FW_HDR_FLAGS_RESET_HALT = 0x00000001 }
 

Macro Definition Documentation

#define FW_ACL_MAC_CMD_EN (   x)    ((x) << 31)

Definition at line 1105 of file t4fw_api.h.

#define FW_ACL_MAC_CMD_PFN (   x)    ((x) << 8)

Definition at line 1103 of file t4fw_api.h.

#define FW_ACL_MAC_CMD_VFN (   x)    ((x) << 0)

Definition at line 1104 of file t4fw_api.h.

#define FW_ACL_VLAN_CMD_DROPNOVLAN (   x)    ((x) << 7)

Definition at line 1119 of file t4fw_api.h.

#define FW_ACL_VLAN_CMD_EN (   x)    ((x) << 31)

Definition at line 1118 of file t4fw_api.h.

#define FW_ACL_VLAN_CMD_FM (   x)    ((x) << 6)

Definition at line 1120 of file t4fw_api.h.

#define FW_ACL_VLAN_CMD_PFN (   x)    ((x) << 8)

Definition at line 1116 of file t4fw_api.h.

#define FW_ACL_VLAN_CMD_VFN (   x)    ((x) << 0)

Definition at line 1117 of file t4fw_api.h.

#define FW_CAPS_CONFIG_CMD_CFVALID   (1U << 27)

Definition at line 461 of file t4fw_api.h.

#define FW_CAPS_CONFIG_CMD_MEMADDR64K_CF (   x)    ((x) << 16)

Definition at line 463 of file t4fw_api.h.

#define FW_CAPS_CONFIG_CMD_MEMTYPE_CF (   x)    ((x) << 24)

Definition at line 462 of file t4fw_api.h.

#define FW_CLS_TCAM_NUM_ENTRIES   336

Definition at line 911 of file t4fw_api.h.

#define FW_CMD_EXEC   (1U << 20)

Definition at line 227 of file t4fw_api.h.

#define FW_CMD_HELLO_RETRIES   3

Definition at line 168 of file t4fw_api.h.

#define FW_CMD_HELLO_TIMEOUT   (3 * FW_CMD_MAX_TIMEOUT)

Definition at line 167 of file t4fw_api.h.

#define FW_CMD_LEN16 (   x)    ((x) << 0)

Definition at line 231 of file t4fw_api.h.

#define FW_CMD_MAX_TIMEOUT   3000

Definition at line 158 of file t4fw_api.h.

#define FW_CMD_OP (   x)    ((x) << 24)

Definition at line 222 of file t4fw_api.h.

#define FW_CMD_OP_GET (   x)    (((x) >> 24) & 0xff)

Definition at line 223 of file t4fw_api.h.

#define FW_CMD_RAMASK (   x)    ((x) << 20)

Definition at line 228 of file t4fw_api.h.

#define FW_CMD_READ   (1U << 22)

Definition at line 225 of file t4fw_api.h.

#define FW_CMD_REQUEST   (1U << 23)

Definition at line 224 of file t4fw_api.h.

#define FW_CMD_RETVAL (   x)    ((x) << 8)

Definition at line 229 of file t4fw_api.h.

#define FW_CMD_RETVAL_GET (   x)    (((x) >> 8) & 0xff)

Definition at line 230 of file t4fw_api.h.

#define FW_CMD_WR_DMA   (1U << 17)

Definition at line 143 of file t4fw_api.h.

#define FW_CMD_WRITE   (1U << 21)

Definition at line 226 of file t4fw_api.h.

#define FW_DEBUG_CMD_TYPE_GET (   x)    ((x) & 0xff)

Definition at line 1632 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_ALLOC   (1U << 31)

Definition at line 799 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_CIDXFTHRESH (   x)    ((x) << 16)

Definition at line 826 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_CIDXFTHRESHO (   x)    ((x) << 19)

Definition at line 825 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_CMPLIQID (   x)    ((x) << 20)

Definition at line 805 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_CPRIO (   x)    ((x) << 19)

Definition at line 816 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_DCACPU (   x)    ((x) << 26)

Definition at line 822 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_DCAEN (   x)    ((x) << 31)

Definition at line 821 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_EQID (   x)    ((x) << 0)

Definition at line 806 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_EQID_GET (   x)    (((x) >> 0) & 0xfffff)

Definition at line 807 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_EQSIZE (   x)    ((x) << 0)

Definition at line 827 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_EQSTART   (1U << 28)

Definition at line 802 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_EQSTOP   (1U << 27)

Definition at line 803 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_FBMAX (   x)    ((x) << 20)

Definition at line 824 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_FBMIN (   x)    ((x) << 23)

Definition at line 823 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_FETCHNS   (1U << 23)

Definition at line 813 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_FETCHRO   (1U << 22)

Definition at line 814 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_FETCHSZM   (1U << 26)

Definition at line 810 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_FREE   (1U << 30)

Definition at line 800 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_HOSTFCMODE (   x)    ((x) << 20)

Definition at line 815 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_IQID (   x)    ((x) << 0)

Definition at line 819 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_MODIFY   (1U << 29)

Definition at line 801 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_ONCHIP (   x)    ((x) << 18)

Definition at line 817 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_PCIECHN (   x)    ((x) << 16)

Definition at line 818 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_PFN (   x)    ((x) << 8)

Definition at line 796 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_PHYSEQID_GET (   x)    (((x) >> 0) & 0xfffff)

Definition at line 808 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_STATUSPGNS   (1U << 25)

Definition at line 811 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_STATUSPGRO   (1U << 24)

Definition at line 812 of file t4fw_api.h.

#define FW_EQ_CTRL_CMD_VFN (   x)    ((x) << 0)

Definition at line 797 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_ALLOC   (1U << 31)

Definition at line 754 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_CIDXFTHRESH (   x)    ((x) << 16)

Definition at line 781 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_CIDXFTHRESHO (   x)    ((x) << 19)

Definition at line 780 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_CPRIO (   x)    ((x) << 19)

Definition at line 771 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_DCACPU (   x)    ((x) << 26)

Definition at line 777 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_DCAEN (   x)    ((x) << 31)

Definition at line 776 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_EQID (   x)    ((x) << 0)

Definition at line 760 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_EQID_GET (   x)    (((x) >> 0) & 0xfffff)

Definition at line 761 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_EQSIZE (   x)    ((x) << 0)

Definition at line 782 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_EQSTART   (1U << 28)

Definition at line 757 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_EQSTOP   (1U << 27)

Definition at line 758 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_FBMAX (   x)    ((x) << 20)

Definition at line 779 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_FBMIN (   x)    ((x) << 23)

Definition at line 778 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_FETCHNS (   x)    ((x) << 23)

Definition at line 768 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_FETCHRO (   x)    ((x) << 22)

Definition at line 769 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_FETCHSZM (   x)    ((x) << 26)

Definition at line 765 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_FREE   (1U << 30)

Definition at line 755 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_HOSTFCMODE (   x)    ((x) << 20)

Definition at line 770 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_IQID (   x)    ((x) << 0)

Definition at line 774 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_MODIFY   (1U << 29)

Definition at line 756 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_ONCHIP (   x)    ((x) << 18)

Definition at line 772 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_PCIECHN (   x)    ((x) << 16)

Definition at line 773 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_PFN (   x)    ((x) << 8)

Definition at line 752 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_PHYSEQID (   x)    ((x) << 0)

Definition at line 762 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_PHYSEQID_GET (   x)    (((x) >> 0) & 0xfffff)

Definition at line 763 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_STATUSPGNS (   x)    ((x) << 25)

Definition at line 766 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_STATUSPGRO (   x)    ((x) << 24)

Definition at line 767 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_VFN (   x)    ((x) << 0)

Definition at line 753 of file t4fw_api.h.

#define FW_EQ_ETH_CMD_VIID (   x)    ((x) << 16)

Definition at line 784 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_ALLOC   (1U << 31)

Definition at line 842 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_CIDXFTHRESH (   x)    ((x) << 16)

Definition at line 868 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_CIDXFTHRESHO (   x)    ((x) << 19)

Definition at line 867 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_CPRIO (   x)    ((x) << 19)

Definition at line 858 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_DCACPU (   x)    ((x) << 26)

Definition at line 864 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_DCAEN (   x)    ((x) << 31)

Definition at line 863 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_EQID (   x)    ((x) << 0)

Definition at line 848 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_EQID_GET (   x)    (((x) >> 0) & 0xfffff)

Definition at line 849 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_EQSIZE (   x)    ((x) << 0)

Definition at line 869 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_EQSTART   (1U << 28)

Definition at line 845 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_EQSTOP   (1U << 27)

Definition at line 846 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_FBMAX (   x)    ((x) << 20)

Definition at line 866 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_FBMIN (   x)    ((x) << 23)

Definition at line 865 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_FETCHNS (   x)    ((x) << 23)

Definition at line 855 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_FETCHRO (   x)    ((x) << 22)

Definition at line 856 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_FETCHSZM (   x)    ((x) << 26)

Definition at line 852 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_FREE   (1U << 30)

Definition at line 843 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_HOSTFCMODE (   x)    ((x) << 20)

Definition at line 857 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_IQID (   x)    ((x) << 0)

Definition at line 861 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_MODIFY   (1U << 29)

Definition at line 844 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_ONCHIP (   x)    ((x) << 18)

Definition at line 859 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_PCIECHN (   x)    ((x) << 16)

Definition at line 860 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_PFN (   x)    ((x) << 8)

Definition at line 839 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_PHYSEQID_GET (   x)    (((x) >> 0) & 0xfffff)

Definition at line 850 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_STATUSPGNS (   x)    ((x) << 25)

Definition at line 853 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_STATUSPGRO (   x)    ((x) << 24)

Definition at line 854 of file t4fw_api.h.

#define FW_EQ_OFLD_CMD_VFN (   x)    ((x) << 0)

Definition at line 840 of file t4fw_api.h.

#define FW_FLOWC_WR_NPARAMS (   x)    ((x) << 0)

Definition at line 121 of file t4fw_api.h.

#define FW_HDR_FW_VER_BUILD_GET (   x)    (((x) >> 0) & 0xff)

Definition at line 1689 of file t4fw_api.h.

#define FW_HDR_FW_VER_MAJOR_GET (   x)    (((x) >> 24) & 0xff)

Definition at line 1686 of file t4fw_api.h.

#define FW_HDR_FW_VER_MICRO_GET (   x)    (((x) >> 8) & 0xff)

Definition at line 1688 of file t4fw_api.h.

#define FW_HDR_FW_VER_MINOR_GET (   x)    (((x) >> 16) & 0xff)

Definition at line 1687 of file t4fw_api.h.

#define FW_HELLO_CMD_CLEARINIT   (1U << 16)

Definition at line 348 of file t4fw_api.h.

#define FW_HELLO_CMD_ERR   (1U << 31)

Definition at line 337 of file t4fw_api.h.

#define FW_HELLO_CMD_INIT   (1U << 30)

Definition at line 338 of file t4fw_api.h.

#define FW_HELLO_CMD_MASTERDIS (   x)    ((x) << 29)

Definition at line 339 of file t4fw_api.h.

#define FW_HELLO_CMD_MASTERFORCE (   x)    ((x) << 28)

Definition at line 340 of file t4fw_api.h.

#define FW_HELLO_CMD_MBASYNCNOT (   x)    ((x) << 20)

Definition at line 346 of file t4fw_api.h.

#define FW_HELLO_CMD_MBMASTER (   x)    ((x) << FW_HELLO_CMD_MBMASTER_SHIFT)

Definition at line 343 of file t4fw_api.h.

#define FW_HELLO_CMD_MBMASTER_GET (   x)    (((x) >> FW_HELLO_CMD_MBMASTER_SHIFT) & FW_HELLO_CMD_MBMASTER_MASK)

Definition at line 344 of file t4fw_api.h.

#define FW_HELLO_CMD_MBMASTER_MASK   0xfU

Definition at line 341 of file t4fw_api.h.

#define FW_HELLO_CMD_MBMASTER_SHIFT   24

Definition at line 342 of file t4fw_api.h.

#define FW_HELLO_CMD_STAGE (   x)    ((x) << 17)

Definition at line 347 of file t4fw_api.h.

#define FW_IQ_CMD_ALLOC   (1U << 31)

Definition at line 662 of file t4fw_api.h.

#define FW_IQ_CMD_FL0CACHELOCK (   x)    ((x) << 15)

Definition at line 692 of file t4fw_api.h.

#define FW_IQ_CMD_FL0CIDXFTHRESH (   x)    ((x) << 0)

Definition at line 713 of file t4fw_api.h.

#define FW_IQ_CMD_FL0CIDXFTHRESHO   (1U << 3)

Definition at line 712 of file t4fw_api.h.

#define FW_IQ_CMD_FL0CNGCHMAP (   x)    ((x) << 20)

Definition at line 691 of file t4fw_api.h.

#define FW_IQ_CMD_FL0CONGCIF (   x)    ((x) << 11)

Definition at line 696 of file t4fw_api.h.

#define FW_IQ_CMD_FL0CONGEN   (1U << 0)

Definition at line 706 of file t4fw_api.h.

#define FW_IQ_CMD_FL0CPRIO (   x)    ((x) << 3)

Definition at line 703 of file t4fw_api.h.

#define FW_IQ_CMD_FL0DATANS (   x)    ((x) << 13)

Definition at line 694 of file t4fw_api.h.

#define FW_IQ_CMD_FL0DATARO (   x)    ((x) << 12)

Definition at line 695 of file t4fw_api.h.

#define FW_IQ_CMD_FL0DBP (   x)    ((x) << 14)

Definition at line 693 of file t4fw_api.h.

#define FW_IQ_CMD_FL0DCACPU (   x)    ((x) << 10)

Definition at line 709 of file t4fw_api.h.

#define FW_IQ_CMD_FL0DCAEN (   x)    ((x) << 15)

Definition at line 708 of file t4fw_api.h.

#define FW_IQ_CMD_FL0FBMAX (   x)    ((x) << 4)

Definition at line 711 of file t4fw_api.h.

#define FW_IQ_CMD_FL0FBMIN (   x)    ((x) << 7)

Definition at line 710 of file t4fw_api.h.

#define FW_IQ_CMD_FL0FETCHNS (   x)    ((x) << 7)

Definition at line 700 of file t4fw_api.h.

#define FW_IQ_CMD_FL0FETCHRO (   x)    ((x) << 6)

Definition at line 701 of file t4fw_api.h.

#define FW_IQ_CMD_FL0HOSTFCMODE (   x)    ((x) << 4)

Definition at line 702 of file t4fw_api.h.

#define FW_IQ_CMD_FL0ONCHIP (   x)    ((x) << 10)

Definition at line 697 of file t4fw_api.h.

#define FW_IQ_CMD_FL0PACKEN   (1U << 1)

Definition at line 705 of file t4fw_api.h.

#define FW_IQ_CMD_FL0PADEN   (1U << 2)

Definition at line 704 of file t4fw_api.h.

#define FW_IQ_CMD_FL0STATUSPGNS (   x)    ((x) << 9)

Definition at line 698 of file t4fw_api.h.

#define FW_IQ_CMD_FL0STATUSPGRO (   x)    ((x) << 8)

Definition at line 699 of file t4fw_api.h.

#define FW_IQ_CMD_FL1CACHELOCK (   x)    ((x) << 15)

Definition at line 716 of file t4fw_api.h.

#define FW_IQ_CMD_FL1CIDXFTHRESH (   x)    ((x) << 0)

Definition at line 737 of file t4fw_api.h.

#define FW_IQ_CMD_FL1CIDXFTHRESHO   (1U << 3)

Definition at line 736 of file t4fw_api.h.

#define FW_IQ_CMD_FL1CNGCHMAP (   x)    ((x) << 20)

Definition at line 715 of file t4fw_api.h.

#define FW_IQ_CMD_FL1CONGCIF (   x)    ((x) << 11)

Definition at line 720 of file t4fw_api.h.

#define FW_IQ_CMD_FL1CONGEN   (1U << 0)

Definition at line 730 of file t4fw_api.h.

#define FW_IQ_CMD_FL1CPRIO (   x)    ((x) << 3)

Definition at line 727 of file t4fw_api.h.

#define FW_IQ_CMD_FL1DATANS (   x)    ((x) << 13)

Definition at line 718 of file t4fw_api.h.

#define FW_IQ_CMD_FL1DATARO (   x)    ((x) << 12)

Definition at line 719 of file t4fw_api.h.

#define FW_IQ_CMD_FL1DBP (   x)    ((x) << 14)

Definition at line 717 of file t4fw_api.h.

#define FW_IQ_CMD_FL1DCACPU (   x)    ((x) << 10)

Definition at line 733 of file t4fw_api.h.

#define FW_IQ_CMD_FL1DCAEN (   x)    ((x) << 15)

Definition at line 732 of file t4fw_api.h.

#define FW_IQ_CMD_FL1FBMAX (   x)    ((x) << 4)

Definition at line 735 of file t4fw_api.h.

#define FW_IQ_CMD_FL1FBMIN (   x)    ((x) << 7)

Definition at line 734 of file t4fw_api.h.

#define FW_IQ_CMD_FL1FETCHNS (   x)    ((x) << 7)

Definition at line 724 of file t4fw_api.h.

#define FW_IQ_CMD_FL1FETCHRO (   x)    ((x) << 6)

Definition at line 725 of file t4fw_api.h.

#define FW_IQ_CMD_FL1HOSTFCMODE (   x)    ((x) << 4)

Definition at line 726 of file t4fw_api.h.

#define FW_IQ_CMD_FL1ONCHIP (   x)    ((x) << 10)

Definition at line 721 of file t4fw_api.h.

#define FW_IQ_CMD_FL1PACKEN   (1U << 1)

Definition at line 729 of file t4fw_api.h.

#define FW_IQ_CMD_FL1PADEN   (1U << 2)

Definition at line 728 of file t4fw_api.h.

#define FW_IQ_CMD_FL1STATUSPGNS (   x)    ((x) << 9)

Definition at line 722 of file t4fw_api.h.

#define FW_IQ_CMD_FL1STATUSPGRO (   x)    ((x) << 8)

Definition at line 723 of file t4fw_api.h.

#define FW_IQ_CMD_FREE   (1U << 30)

Definition at line 663 of file t4fw_api.h.

#define FW_IQ_CMD_IQANDST (   x)    ((x) << 15)

Definition at line 671 of file t4fw_api.h.

#define FW_IQ_CMD_IQANDSTINDEX (   x)    ((x) << 0)

Definition at line 674 of file t4fw_api.h.

#define FW_IQ_CMD_IQANUD (   x)    ((x) << 12)

Definition at line 673 of file t4fw_api.h.

#define FW_IQ_CMD_IQANUS (   x)    ((x) << 14)

Definition at line 672 of file t4fw_api.h.

#define FW_IQ_CMD_IQASYNCH (   x)    ((x) << 28)

Definition at line 669 of file t4fw_api.h.

#define FW_IQ_CMD_IQCPRIO (   x)    ((x) << 2)

Definition at line 683 of file t4fw_api.h.

#define FW_IQ_CMD_IQDCACPU (   x)    ((x) << 6)

Definition at line 680 of file t4fw_api.h.

#define FW_IQ_CMD_IQDCAEN (   x)    ((x) << 11)

Definition at line 679 of file t4fw_api.h.

#define FW_IQ_CMD_IQDROPRSS   (1U << 15)

Definition at line 676 of file t4fw_api.h.

#define FW_IQ_CMD_IQESIZE (   x)    ((x) << 0)

Definition at line 684 of file t4fw_api.h.

#define FW_IQ_CMD_IQFLINTCONGEN (   x)    ((x) << 27)

Definition at line 689 of file t4fw_api.h.

#define FW_IQ_CMD_IQFLINTIQHSEN (   x)    ((x) << 28)

Definition at line 688 of file t4fw_api.h.

#define FW_IQ_CMD_IQFLINTISCSIC (   x)    ((x) << 26)

Definition at line 690 of file t4fw_api.h.

#define FW_IQ_CMD_IQGTSMODE   (1U << 14)

Definition at line 677 of file t4fw_api.h.

#define FW_IQ_CMD_IQINTCNTTHRESH (   x)    ((x) << 4)

Definition at line 681 of file t4fw_api.h.

#define FW_IQ_CMD_IQNS (   x)    ((x) << 31)

Definition at line 686 of file t4fw_api.h.

#define FW_IQ_CMD_IQO   (1U << 3)

Definition at line 682 of file t4fw_api.h.

#define FW_IQ_CMD_IQPCIECH (   x)    ((x) << 12)

Definition at line 678 of file t4fw_api.h.

#define FW_IQ_CMD_IQRO (   x)    ((x) << 30)

Definition at line 687 of file t4fw_api.h.

#define FW_IQ_CMD_IQSTART (   x)    ((x) << 28)

Definition at line 665 of file t4fw_api.h.

#define FW_IQ_CMD_IQSTOP (   x)    ((x) << 27)

Definition at line 666 of file t4fw_api.h.

#define FW_IQ_CMD_MODIFY   (1U << 29)

Definition at line 664 of file t4fw_api.h.

#define FW_IQ_CMD_PFN (   x)    ((x) << 8)

Definition at line 659 of file t4fw_api.h.

#define FW_IQ_CMD_TYPE (   x)    ((x) << 29)

Definition at line 668 of file t4fw_api.h.

#define FW_IQ_CMD_VFN (   x)    ((x) << 0)

Definition at line 660 of file t4fw_api.h.

#define FW_IQ_CMD_VIID (   x)    ((x) << 16)

Definition at line 670 of file t4fw_api.h.

#define FW_LDST_CMD_ADDRSPACE (   x)    ((x) << 0)

Definition at line 263 of file t4fw_api.h.

#define FW_LDST_CMD_CTL (   x)    ((x) << 0)

Definition at line 313 of file t4fw_api.h.

#define FW_LDST_CMD_FID (   x)    ((x) << 15)

Definition at line 312 of file t4fw_api.h.

#define FW_LDST_CMD_MMD (   x)    ((x) << 0)

Definition at line 311 of file t4fw_api.h.

#define FW_LDST_CMD_MSG (   x)    ((x) << 31)

Definition at line 309 of file t4fw_api.h.

#define FW_LDST_CMD_PADDR (   x)    ((x) << 8)

Definition at line 310 of file t4fw_api.h.

#define FW_LDST_CMD_RPLCPF (   x)    ((x) << 0)

Definition at line 314 of file t4fw_api.h.

#define FW_NUM_LB_STATS   16

Definition at line 1452 of file t4fw_api.h.

#define FW_NUM_PORT_RX_STATS   27

Definition at line 1315 of file t4fw_api.h.

#define FW_NUM_PORT_STATS   50

Definition at line 1313 of file t4fw_api.h.

#define FW_NUM_PORT_TX_STATS   23

Definition at line 1314 of file t4fw_api.h.

#define FW_OFLD_TX_DATA_WR_FLUSH (   x)    ((x) << 17)

Definition at line 133 of file t4fw_api.h.

#define FW_OFLD_TX_DATA_WR_MORE (   x)    ((x) << 15)

Definition at line 135 of file t4fw_api.h.

#define FW_OFLD_TX_DATA_WR_SAVE (   x)    ((x) << 18)

Definition at line 132 of file t4fw_api.h.

#define FW_OFLD_TX_DATA_WR_SHOVE (   x)    ((x) << 14)

Definition at line 136 of file t4fw_api.h.

#define FW_OFLD_TX_DATA_WR_TUNNEL (   x)    ((x) << 19)

Definition at line 131 of file t4fw_api.h.

#define FW_OFLD_TX_DATA_WR_ULPMODE (   x)    ((x) << 10)

Definition at line 137 of file t4fw_api.h.

#define FW_OFLD_TX_DATA_WR_ULPSUBMODE (   x)    ((x) << 6)

Definition at line 138 of file t4fw_api.h.

#define FW_OFLD_TX_DATA_WR_URGENT (   x)    ((x) << 16)

Definition at line 134 of file t4fw_api.h.

#define FW_PARAMS_CMD_PFN (   x)    ((x) << 8)

Definition at line 577 of file t4fw_api.h.

#define FW_PARAMS_CMD_VFN (   x)    ((x) << 0)

Definition at line 578 of file t4fw_api.h.

#define FW_PARAMS_MNEM (   x)    ((x) << 24)

Definition at line 553 of file t4fw_api.h.

#define FW_PARAMS_PARAM_X (   x)    ((x) << 16)

Definition at line 554 of file t4fw_api.h.

#define FW_PARAMS_PARAM_XYZ (   x)    ((x) << 0)

Definition at line 565 of file t4fw_api.h.

#define FW_PARAMS_PARAM_Y (   x)    ((x) << FW_PARAMS_PARAM_Y_SHIFT)

Definition at line 557 of file t4fw_api.h.

#define FW_PARAMS_PARAM_Y_GET (   x)
Value:
FW_PARAMS_PARAM_Y_MASK)

Definition at line 558 of file t4fw_api.h.

#define FW_PARAMS_PARAM_Y_MASK   0xffU

Definition at line 556 of file t4fw_api.h.

#define FW_PARAMS_PARAM_Y_SHIFT   8

Definition at line 555 of file t4fw_api.h.

#define FW_PARAMS_PARAM_YZ (   x)    ((x) << 0)

Definition at line 566 of file t4fw_api.h.

#define FW_PARAMS_PARAM_Z (   x)    ((x) << FW_PARAMS_PARAM_Z_SHIFT)

Definition at line 562 of file t4fw_api.h.

#define FW_PARAMS_PARAM_Z_GET (   x)
Value:
FW_PARAMS_PARAM_Z_MASK)

Definition at line 563 of file t4fw_api.h.

#define FW_PARAMS_PARAM_Z_MASK   0xffu

Definition at line 561 of file t4fw_api.h.

#define FW_PARAMS_PARAM_Z_SHIFT   0

Definition at line 560 of file t4fw_api.h.

#define FW_PCIE_FW_ERR   (1U << 31)

Definition at line 1655 of file t4fw_api.h.

#define FW_PCIE_FW_HALT   (1U << 29)

Definition at line 1657 of file t4fw_api.h.

#define FW_PCIE_FW_INIT   (1U << 30)

Definition at line 1656 of file t4fw_api.h.

#define FW_PCIE_FW_MASTER (   x)    ((x) << FW_PCIE_FW_MASTER_SHIFT)

Definition at line 1661 of file t4fw_api.h.

#define FW_PCIE_FW_MASTER_GET (   x)
Value:
FW_PCIE_FW_MASTER_MASK)

Definition at line 1662 of file t4fw_api.h.

#define FW_PCIE_FW_MASTER_MASK   0x7

Definition at line 1659 of file t4fw_api.h.

#define FW_PCIE_FW_MASTER_SHIFT   12

Definition at line 1660 of file t4fw_api.h.

#define FW_PCIE_FW_MASTER_VLD   (1U << 15)

Definition at line 1658 of file t4fw_api.h.

#define FW_PFVF_CMD_CMASK (   x)    ((x) << 24)

Definition at line 604 of file t4fw_api.h.

#define FW_PFVF_CMD_CMASK_GET (   x)    (((x) >> 24) & FW_PFVF_CMD_CMASK_MASK)

Definition at line 606 of file t4fw_api.h.

#define FW_PFVF_CMD_CMASK_MASK   0xf

Definition at line 605 of file t4fw_api.h.

#define FW_PFVF_CMD_NEQ (   x)    ((x) << 0)

Definition at line 612 of file t4fw_api.h.

#define FW_PFVF_CMD_NEQ_GET (   x)    (((x) >> 0) & 0xfffff)

Definition at line 613 of file t4fw_api.h.

#define FW_PFVF_CMD_NETHCTRL (   x)    ((x) << 0)

Definition at line 630 of file t4fw_api.h.

#define FW_PFVF_CMD_NETHCTRL_GET (   x)    (((x) >> 0) & 0xffff)

Definition at line 631 of file t4fw_api.h.

#define FW_PFVF_CMD_NEXACTF (   x)    ((x) << 0)

Definition at line 621 of file t4fw_api.h.

#define FW_PFVF_CMD_NEXACTF_GET (   x)    (((x) >> 0) & 0xffff)

Definition at line 622 of file t4fw_api.h.

#define FW_PFVF_CMD_NIQ (   x)    ((x) << 0)

Definition at line 598 of file t4fw_api.h.

#define FW_PFVF_CMD_NIQ_GET (   x)    (((x) >> 0) & 0xfffff)

Definition at line 599 of file t4fw_api.h.

#define FW_PFVF_CMD_NIQFLINT (   x)    ((x) << 20)

Definition at line 595 of file t4fw_api.h.

#define FW_PFVF_CMD_NIQFLINT_GET (   x)    (((x) >> 20) & 0xfff)

Definition at line 596 of file t4fw_api.h.

#define FW_PFVF_CMD_NVI (   x)    ((x) << 16)

Definition at line 618 of file t4fw_api.h.

#define FW_PFVF_CMD_NVI_GET (   x)    (((x) >> 16) & 0xff)

Definition at line 619 of file t4fw_api.h.

#define FW_PFVF_CMD_PFN (   x)    ((x) << 8)

Definition at line 592 of file t4fw_api.h.

#define FW_PFVF_CMD_PMASK (   x)    ((x) << 20)

Definition at line 608 of file t4fw_api.h.

#define FW_PFVF_CMD_PMASK_GET (   x)    (((x) >> 20) & FW_PFVF_CMD_PMASK_MASK)

Definition at line 610 of file t4fw_api.h.

#define FW_PFVF_CMD_PMASK_MASK   0xf

Definition at line 609 of file t4fw_api.h.

#define FW_PFVF_CMD_R_CAPS (   x)    ((x) << 24)

Definition at line 624 of file t4fw_api.h.

#define FW_PFVF_CMD_R_CAPS_GET (   x)    (((x) >> 24) & 0xff)

Definition at line 625 of file t4fw_api.h.

#define FW_PFVF_CMD_TC (   x)    ((x) << 24)

Definition at line 615 of file t4fw_api.h.

#define FW_PFVF_CMD_TC_GET (   x)    (((x) >> 24) & 0xff)

Definition at line 616 of file t4fw_api.h.

#define FW_PFVF_CMD_TYPE   (1 << 31)

Definition at line 601 of file t4fw_api.h.

#define FW_PFVF_CMD_TYPE_GET (   x)    (((x) >> 31) & 0x1)

Definition at line 602 of file t4fw_api.h.

#define FW_PFVF_CMD_VFN (   x)    ((x) << 0)

Definition at line 593 of file t4fw_api.h.

#define FW_PFVF_CMD_WX_CAPS (   x)    ((x) << 16)

Definition at line 627 of file t4fw_api.h.

#define FW_PFVF_CMD_WX_CAPS_GET (   x)    (((x) >> 16) & 0xff)

Definition at line 628 of file t4fw_api.h.

#define FW_PORT_CMD_ACTION (   x)    ((x) << 16)

Definition at line 1247 of file t4fw_api.h.

#define FW_PORT_CMD_ACTION_GET (   x)    (((x) >> 16) & 0xffff)

Definition at line 1248 of file t4fw_api.h.

#define FW_PORT_CMD_CH0 (   x)    ((x) << 20)

Definition at line 1277 of file t4fw_api.h.

#define FW_PORT_CMD_CH1 (   x)    ((x) << 16)

Definition at line 1278 of file t4fw_api.h.

#define FW_PORT_CMD_CH2 (   x)    ((x) << 12)

Definition at line 1279 of file t4fw_api.h.

#define FW_PORT_CMD_CH3 (   x)    ((x) << 8)

Definition at line 1280 of file t4fw_api.h.

#define FW_PORT_CMD_CTLBF (   x)    ((x) << 10)

Definition at line 1250 of file t4fw_api.h.

#define FW_PORT_CMD_IVLAN0 (   x)    ((x) << 3)

Definition at line 1255 of file t4fw_api.h.

#define FW_PORT_CMD_LPRXPAUSE   (1U << 14)

Definition at line 1267 of file t4fw_api.h.

#define FW_PORT_CMD_LPTXPAUSE   (1U << 15)

Definition at line 1266 of file t4fw_api.h.

#define FW_PORT_CMD_LSPEED (   x)    ((x) << 24)

Definition at line 1260 of file t4fw_api.h.

#define FW_PORT_CMD_LSPEED_GET (   x)    (((x) >> 24) & 0x3f)

Definition at line 1261 of file t4fw_api.h.

#define FW_PORT_CMD_LSTATUS   (1U << 31)

Definition at line 1259 of file t4fw_api.h.

#define FW_PORT_CMD_MDIOADDR_GET (   x)    (((x) >> 16) & 0x1f)

Definition at line 1265 of file t4fw_api.h.

#define FW_PORT_CMD_MDIOCAP   (1U << 21)

Definition at line 1264 of file t4fw_api.h.

#define FW_PORT_CMD_MODTYPE_GET (   x)    (((x) >> 0) & FW_PORT_CMD_MODTYPE_MASK)

Definition at line 1271 of file t4fw_api.h.

#define FW_PORT_CMD_MODTYPE_MASK   0x1f

Definition at line 1270 of file t4fw_api.h.

#define FW_PORT_CMD_NCSICH (   x)    ((x) << 4)

Definition at line 1281 of file t4fw_api.h.

#define FW_PORT_CMD_NCSISRC (   x)    ((x) << 24)

Definition at line 1275 of file t4fw_api.h.

#define FW_PORT_CMD_OVLAN0 (   x)    ((x) << 4)

Definition at line 1254 of file t4fw_api.h.

#define FW_PORT_CMD_OVLAN1 (   x)    ((x) << 5)

Definition at line 1253 of file t4fw_api.h.

#define FW_PORT_CMD_OVLAN2 (   x)    ((x) << 6)

Definition at line 1252 of file t4fw_api.h.

#define FW_PORT_CMD_OVLAN3 (   x)    ((x) << 7)

Definition at line 1251 of file t4fw_api.h.

#define FW_PORT_CMD_PORTID (   x)    ((x) << 0)

Definition at line 1244 of file t4fw_api.h.

#define FW_PORT_CMD_PORTID_GET (   x)    (((x) >> 0) & 0xf)

Definition at line 1245 of file t4fw_api.h.

#define FW_PORT_CMD_PPPEN (   x)    ((x) << 31)

Definition at line 1273 of file t4fw_api.h.

#define FW_PORT_CMD_PTYPE_GET (   x)    (((x) >> 8) & FW_PORT_CMD_PTYPE_MASK)

Definition at line 1269 of file t4fw_api.h.

#define FW_PORT_CMD_PTYPE_MASK   0x1f

Definition at line 1268 of file t4fw_api.h.

#define FW_PORT_CMD_READ   (1U << 22)

Definition at line 1242 of file t4fw_api.h.

#define FW_PORT_CMD_RXPAUSE   (1U << 22)

Definition at line 1263 of file t4fw_api.h.

#define FW_PORT_CMD_TPSRC (   x)    ((x) << 28)

Definition at line 1274 of file t4fw_api.h.

#define FW_PORT_CMD_TXIPG (   x)    ((x) << 19)

Definition at line 1257 of file t4fw_api.h.

#define FW_PORT_CMD_TXPAUSE   (1U << 23)

Definition at line 1262 of file t4fw_api.h.

#define FW_PORT_LB_STATS_CMD_BG_BM (   x)    ((x) << 0)

Definition at line 1508 of file t4fw_api.h.

#define FW_PORT_LB_STATS_CMD_IX (   x)    ((x) << 0)

Definition at line 1509 of file t4fw_api.h.

#define FW_PORT_LB_STATS_CMD_LBPORT (   x)    ((x) << 0)

Definition at line 1506 of file t4fw_api.h.

#define FW_PORT_LB_STATS_CMD_NSTATS (   x)    ((x) << 4)

Definition at line 1507 of file t4fw_api.h.

#define FW_PORT_MDI (   x)    ((x) << 9)

Definition at line 1148 of file t4fw_api.h.

#define FW_PORT_STATS_CMD_BG_BM (   x)    ((x) << 0)

Definition at line 1447 of file t4fw_api.h.

#define FW_PORT_STATS_CMD_IX (   x)    ((x) << 0)

Definition at line 1449 of file t4fw_api.h.

#define FW_PORT_STATS_CMD_NSTATS (   x)    ((x) << 4)

Definition at line 1446 of file t4fw_api.h.

#define FW_PORT_STATS_CMD_TX (   x)    ((x) << 7)

Definition at line 1448 of file t4fw_api.h.

#define FW_RESET_CMD_HALT (   x)    ((x) << FW_RESET_CMD_HALT_SHIFT)

Definition at line 325 of file t4fw_api.h.

#define FW_RESET_CMD_HALT_GET (   x)    (((x) >> FW_RESET_CMD_HALT_SHIFT) & FW_RESET_CMD_HALT_MASK)

Definition at line 326 of file t4fw_api.h.

#define FW_RESET_CMD_HALT_MASK   0x1

Definition at line 324 of file t4fw_api.h.

#define FW_RESET_CMD_HALT_SHIFT   31

Definition at line 323 of file t4fw_api.h.

#define FW_RSS_GLB_CONFIG_CMD_HASHTOEPLITZ   (1U << 0)

Definition at line 1556 of file t4fw_api.h.

#define FW_RSS_GLB_CONFIG_CMD_MODE (   x)    ((x) << 28)

Definition at line 1563 of file t4fw_api.h.

#define FW_RSS_GLB_CONFIG_CMD_MODE_BASICVIRTUAL   1

Definition at line 1567 of file t4fw_api.h.

#define FW_RSS_GLB_CONFIG_CMD_MODE_GET (   x)    (((x) >> 28) & 0xf)

Definition at line 1564 of file t4fw_api.h.

#define FW_RSS_GLB_CONFIG_CMD_MODE_MANUAL   0

Definition at line 1566 of file t4fw_api.h.

#define FW_RSS_GLB_CONFIG_CMD_OFDMAPEN   (1U << 3)

Definition at line 1553 of file t4fw_api.h.

#define FW_RSS_GLB_CONFIG_CMD_SYN2TUPENIPV4   (1U << 4)

Definition at line 1552 of file t4fw_api.h.

#define FW_RSS_GLB_CONFIG_CMD_SYN2TUPENIPV6   (1U << 6)

Definition at line 1550 of file t4fw_api.h.

#define FW_RSS_GLB_CONFIG_CMD_SYN4TUPENIPV4   (1U << 5)

Definition at line 1551 of file t4fw_api.h.

#define FW_RSS_GLB_CONFIG_CMD_SYN4TUPENIPV6   (1U << 7)

Definition at line 1549 of file t4fw_api.h.

#define FW_RSS_GLB_CONFIG_CMD_SYNMAPEN   (1U << 8)

Definition at line 1548 of file t4fw_api.h.

#define FW_RSS_GLB_CONFIG_CMD_TNLALLLKP   (1U << 1)

Definition at line 1555 of file t4fw_api.h.

#define FW_RSS_GLB_CONFIG_CMD_TNLMAPEN   (1U << 2)

Definition at line 1554 of file t4fw_api.h.

#define FW_RSS_IND_TBL_CMD_IQ0 (   x)    ((x) << 20)

Definition at line 1519 of file t4fw_api.h.

#define FW_RSS_IND_TBL_CMD_IQ1 (   x)    ((x) << 10)

Definition at line 1520 of file t4fw_api.h.

#define FW_RSS_IND_TBL_CMD_IQ2 (   x)    ((x) << 0)

Definition at line 1521 of file t4fw_api.h.

#define FW_RSS_IND_TBL_CMD_VIID (   x)    ((x) << 0)

Definition at line 1513 of file t4fw_api.h.

#define FW_RSS_VI_CONFIG_CMD_DEFAULTQ (   x)    ((x) << 16)

Definition at line 1582 of file t4fw_api.h.

#define FW_RSS_VI_CONFIG_CMD_DEFAULTQ_GET (   x)    (((x) >> 16) & 0x3ff)

Definition at line 1583 of file t4fw_api.h.

#define FW_RSS_VI_CONFIG_CMD_IP4FOURTUPEN   (1U << 2)

Definition at line 1586 of file t4fw_api.h.

#define FW_RSS_VI_CONFIG_CMD_IP4TWOTUPEN   (1U << 1)

Definition at line 1587 of file t4fw_api.h.

#define FW_RSS_VI_CONFIG_CMD_IP6FOURTUPEN   (1U << 4)

Definition at line 1584 of file t4fw_api.h.

#define FW_RSS_VI_CONFIG_CMD_IP6TWOTUPEN   (1U << 3)

Definition at line 1585 of file t4fw_api.h.

#define FW_RSS_VI_CONFIG_CMD_UDPEN   (1U << 0)

Definition at line 1588 of file t4fw_api.h.

#define FW_RSS_VI_CONFIG_CMD_VIID (   x)    ((x) << 0)

Definition at line 1571 of file t4fw_api.h.

#define FW_RXMODE_MTU_NO_CHG   65535

Definition at line 952 of file t4fw_api.h.

#define FW_T4VF_CIM_BASE_ADDR   0x0300

Definition at line 42 of file t4fw_api.h.

#define FW_T4VF_MBDATA_BASE_ADDR   0x0240

Definition at line 41 of file t4fw_api.h.

#define FW_T4VF_MPS_BASE_ADDR   0x0100

Definition at line 39 of file t4fw_api.h.

#define FW_T4VF_PL_BASE_ADDR   0x0200

Definition at line 40 of file t4fw_api.h.

#define FW_T4VF_SGE_BASE_ADDR   0x0000

Definition at line 38 of file t4fw_api.h.

#define FW_VI_CMD_ALLOC   (1U << 31)

Definition at line 899 of file t4fw_api.h.

#define FW_VI_CMD_FREE   (1U << 30)

Definition at line 900 of file t4fw_api.h.

#define FW_VI_CMD_PFN (   x)    ((x) << 8)

Definition at line 897 of file t4fw_api.h.

#define FW_VI_CMD_PORTID (   x)    ((x) << 4)

Definition at line 903 of file t4fw_api.h.

#define FW_VI_CMD_PORTID_GET (   x)    (((x) >> 4) & 0xf)

Definition at line 904 of file t4fw_api.h.

#define FW_VI_CMD_RSSSIZE_GET (   x)    (((x) >> 0) & 0x7ff)

Definition at line 905 of file t4fw_api.h.

#define FW_VI_CMD_VFN (   x)    ((x) << 0)

Definition at line 898 of file t4fw_api.h.

#define FW_VI_CMD_VIID (   x)    ((x) << 0)

Definition at line 901 of file t4fw_api.h.

#define FW_VI_CMD_VIID_GET (   x)    ((x) & 0xfff)

Definition at line 902 of file t4fw_api.h.

#define FW_VI_ENABLE_CMD_EEN (   x)    ((x) << 30)

Definition at line 983 of file t4fw_api.h.

#define FW_VI_ENABLE_CMD_IEN (   x)    ((x) << 31)

Definition at line 982 of file t4fw_api.h.

#define FW_VI_ENABLE_CMD_LED   (1U << 29)

Definition at line 984 of file t4fw_api.h.

#define FW_VI_ENABLE_CMD_VIID (   x)    ((x) << 0)

Definition at line 981 of file t4fw_api.h.

#define FW_VI_MAC_ADD_MAC   0x3FF

Definition at line 908 of file t4fw_api.h.

#define FW_VI_MAC_ADD_PERSIST_MAC   0x3FE

Definition at line 909 of file t4fw_api.h.

#define FW_VI_MAC_CMD_FREEMACS (   x)    ((x) << 31)

Definition at line 942 of file t4fw_api.h.

#define FW_VI_MAC_CMD_HASHUNIEN (   x)    ((x) << 22)

Definition at line 944 of file t4fw_api.h.

#define FW_VI_MAC_CMD_HASHVECEN   (1U << 23)

Definition at line 943 of file t4fw_api.h.

#define FW_VI_MAC_CMD_IDX (   x)    ((x) << 0)

Definition at line 949 of file t4fw_api.h.

#define FW_VI_MAC_CMD_IDX_GET (   x)    (((x) >> 0) & 0x3ff)

Definition at line 950 of file t4fw_api.h.

#define FW_VI_MAC_CMD_PRIO (   x)    ((x) << 12)

Definition at line 946 of file t4fw_api.h.

#define FW_VI_MAC_CMD_SMAC_RESULT (   x)    ((x) << 10)

Definition at line 947 of file t4fw_api.h.

#define FW_VI_MAC_CMD_SMAC_RESULT_GET (   x)    (((x) >> 10) & 0x3)

Definition at line 948 of file t4fw_api.h.

#define FW_VI_MAC_CMD_VALID   (1U << 15)

Definition at line 945 of file t4fw_api.h.

#define FW_VI_MAC_CMD_VIID (   x)    ((x) << 0)

Definition at line 941 of file t4fw_api.h.

#define FW_VI_MAC_MAC_BASED_FREE   0x3FD

Definition at line 910 of file t4fw_api.h.

#define FW_VI_RXMODE_CMD_ALLMULTIEN (   x)    ((x) << 12)

Definition at line 967 of file t4fw_api.h.

#define FW_VI_RXMODE_CMD_ALLMULTIEN_MASK   0x3

Definition at line 966 of file t4fw_api.h.

#define FW_VI_RXMODE_CMD_BROADCASTEN (   x)    ((x) << 10)

Definition at line 969 of file t4fw_api.h.

#define FW_VI_RXMODE_CMD_BROADCASTEN_MASK   0x3

Definition at line 968 of file t4fw_api.h.

#define FW_VI_RXMODE_CMD_MTU (   x)    ((x) << 16)

Definition at line 963 of file t4fw_api.h.

#define FW_VI_RXMODE_CMD_MTU_MASK   0xffff

Definition at line 962 of file t4fw_api.h.

#define FW_VI_RXMODE_CMD_PROMISCEN (   x)    ((x) << 14)

Definition at line 965 of file t4fw_api.h.

#define FW_VI_RXMODE_CMD_PROMISCEN_MASK   0x3

Definition at line 964 of file t4fw_api.h.

#define FW_VI_RXMODE_CMD_VIID (   x)    ((x) << 0)

Definition at line 961 of file t4fw_api.h.

#define FW_VI_RXMODE_CMD_VLANEXEN (   x)    ((x) << 8)

Definition at line 971 of file t4fw_api.h.

#define FW_VI_RXMODE_CMD_VLANEXEN_MASK   0x3

Definition at line 970 of file t4fw_api.h.

#define FW_VI_STATS_CMD_IX (   x)    ((x) << 0)

Definition at line 1086 of file t4fw_api.h.

#define FW_VI_STATS_CMD_NSTATS (   x)    ((x) << 12)

Definition at line 1085 of file t4fw_api.h.

#define FW_VI_STATS_CMD_VIID (   x)    ((x) << 0)

Definition at line 1084 of file t4fw_api.h.

#define FW_VIID_PFN_GET (   x)    (((x) >> 8) & 0x7)

Definition at line 875 of file t4fw_api.h.

#define FW_VIID_VIN_GET (   x)    (((x) >> 0) & 0x7F)

Definition at line 877 of file t4fw_api.h.

#define FW_VIID_VIVLD_GET (   x)    (((x) >> 7) & 0x1)

Definition at line 876 of file t4fw_api.h.

#define FW_WR_ATOMIC (   x)    ((x) << 23)

Definition at line 71 of file t4fw_api.h.

#define FW_WR_COMPL (   x)    ((x) << 21)

Definition at line 73 of file t4fw_api.h.

#define FW_WR_EQUEQ   (1U << 30)

Definition at line 78 of file t4fw_api.h.

#define FW_WR_EQUIQ   (1U << 31)

Definition at line 77 of file t4fw_api.h.

#define FW_WR_FLOWID (   x)    ((x) << 8)

Definition at line 79 of file t4fw_api.h.

#define FW_WR_FLUSH (   x)    ((x) << 22)

Definition at line 72 of file t4fw_api.h.

#define FW_WR_IMMDLEN (   x)    ((x) << 0)

Definition at line 75 of file t4fw_api.h.

#define FW_WR_IMMDLEN_MASK   0xff

Definition at line 74 of file t4fw_api.h.

#define FW_WR_LEN16 (   x)    ((x) << 0)

Definition at line 80 of file t4fw_api.h.

#define FW_WR_OP (   x)    ((x) << 24)

Definition at line 70 of file t4fw_api.h.

#define HW_TPL_FR_MT_PR_IV_P_FC   0X32B

Definition at line 82 of file t4fw_api.h.

#define VI_PF_NUM_STATS   17

Definition at line 1008 of file t4fw_api.h.

#define VI_VF_NUM_STATS   16

Definition at line 987 of file t4fw_api.h.

Enumeration Type Documentation

Enumerator:
FW_CAPS_CONFIG_FCOE_INITIATOR 
FW_CAPS_CONFIG_FCOE_TARGET 

Definition at line 428 of file t4fw_api.h.

Enumerator:
FW_CAPS_CONFIG_HM_PCIE 
FW_CAPS_CONFIG_HM_PL 
FW_CAPS_CONFIG_HM_SGE 
FW_CAPS_CONFIG_HM_CIM 
FW_CAPS_CONFIG_HM_ULPTX 
FW_CAPS_CONFIG_HM_TP 
FW_CAPS_CONFIG_HM_ULPRX 
FW_CAPS_CONFIG_HM_PMRX 
FW_CAPS_CONFIG_HM_PMTX 
FW_CAPS_CONFIG_HM_MC 
FW_CAPS_CONFIG_HM_LE 
FW_CAPS_CONFIG_HM_MPS 
FW_CAPS_CONFIG_HM_XGMAC 
FW_CAPS_CONFIG_HM_CPLSWITCH 
FW_CAPS_CONFIG_HM_T4DBG 
FW_CAPS_CONFIG_HM_MI 
FW_CAPS_CONFIG_HM_I2CM 
FW_CAPS_CONFIG_HM_NCSI 
FW_CAPS_CONFIG_HM_SMB 
FW_CAPS_CONFIG_HM_MA 
FW_CAPS_CONFIG_HM_EDRAM 
FW_CAPS_CONFIG_HM_PMU 
FW_CAPS_CONFIG_HM_UART 
FW_CAPS_CONFIG_HM_SF 

Definition at line 364 of file t4fw_api.h.

Enumerator:
FW_CAPS_CONFIG_ISCSI_INITIATOR_PDU 
FW_CAPS_CONFIG_ISCSI_TARGET_PDU 
FW_CAPS_CONFIG_ISCSI_INITIATOR_CNXOFLD 
FW_CAPS_CONFIG_ISCSI_TARGET_CNXOFLD 

Definition at line 421 of file t4fw_api.h.

Enumerator:
FW_CAPS_CONFIG_LINK_PPP 
FW_CAPS_CONFIG_LINK_QFC 
FW_CAPS_CONFIG_LINK_DCBX 

Definition at line 396 of file t4fw_api.h.

Enumerator:
FW_CAPS_CONFIG_NBM_IPMI 
FW_CAPS_CONFIG_NBM_NCSI 

Definition at line 391 of file t4fw_api.h.

Enumerator:
FW_CAPS_CONFIG_NIC 
FW_CAPS_CONFIG_NIC_VM 

Definition at line 407 of file t4fw_api.h.

Enumerator:
FW_CAPS_CONFIG_OFLD 

Definition at line 412 of file t4fw_api.h.

Enumerator:
FW_CAPS_CONFIG_RDMA_RDDP 
FW_CAPS_CONFIG_RDMA_RDMAC 

Definition at line 416 of file t4fw_api.h.

Enumerator:
FW_CAPS_CONFIG_SWITCH_INGRESS 
FW_CAPS_CONFIG_SWITCH_EGRESS 

Definition at line 402 of file t4fw_api.h.

enum fw_cmd_cap
Enumerator:
FW_CMD_CAP_PF 
FW_CMD_CAP_DMAQ 
FW_CMD_CAP_PORT 
FW_CMD_CAP_PORTPROMISC 
FW_CMD_CAP_PORTSTATS 
FW_CMD_CAP_VF 

Definition at line 205 of file t4fw_api.h.

Enumerator:
FW_LDST_CMD 
FW_RESET_CMD 
FW_HELLO_CMD 
FW_BYE_CMD 
FW_INITIALIZE_CMD 
FW_CAPS_CONFIG_CMD 
FW_PARAMS_CMD 
FW_PFVF_CMD 
FW_IQ_CMD 
FW_EQ_MNGT_CMD 
FW_EQ_ETH_CMD 
FW_EQ_CTRL_CMD 
FW_EQ_OFLD_CMD 
FW_VI_CMD 
FW_VI_MAC_CMD 
FW_VI_RXMODE_CMD 
FW_VI_ENABLE_CMD 
FW_ACL_MAC_CMD 
FW_ACL_VLAN_CMD 
FW_VI_STATS_CMD 
FW_PORT_CMD 
FW_PORT_STATS_CMD 
FW_PORT_LB_STATS_CMD 
FW_PORT_TRACE_CMD 
FW_PORT_TRACE_MMAP_CMD 
FW_RSS_IND_TBL_CMD 
FW_RSS_GLB_CONFIG_CMD 
FW_RSS_VI_CONFIG_CMD 
FW_LASTC2E_CMD 
FW_ERROR_CMD 
FW_DEBUG_CMD 

Definition at line 171 of file t4fw_api.h.

Enumerator:
FW_ERROR_TYPE_EXCEPTION 
FW_ERROR_TYPE_HWMODULE 
FW_ERROR_TYPE_WR 
FW_ERROR_TYPE_ACL 

Definition at line 1595 of file t4fw_api.h.

Enumerator:
FW_FLOWC_MNEM_PFNVFN 
FW_FLOWC_MNEM_CH 
FW_FLOWC_MNEM_PORT 
FW_FLOWC_MNEM_IQID 
FW_FLOWC_MNEM_SNDNXT 
FW_FLOWC_MNEM_RCVNXT 
FW_FLOWC_MNEM_SNDBUF 
FW_FLOWC_MNEM_MSS 

Definition at line 102 of file t4fw_api.h.

Enumerator:
FW_HDR_FLAGS_RESET_HALT 

Definition at line 1691 of file t4fw_api.h.

Enumerator:
fw_hello_cmd_stage_os 

Definition at line 329 of file t4fw_api.h.

enum fw_iq_type
Enumerator:
FW_IQ_TYPE_FL_INT_CAP 
FW_IQ_TYPE_NO_FL_INT_CAP 

Definition at line 633 of file t4fw_api.h.

Enumerator:
FW_LDST_ADDRSPC_FIRMWARE 
FW_LDST_ADDRSPC_SGE_EGRC 
FW_LDST_ADDRSPC_SGE_INGC 
FW_LDST_ADDRSPC_SGE_FLMC 
FW_LDST_ADDRSPC_SGE_CONMC 
FW_LDST_ADDRSPC_TP_PIO 
FW_LDST_ADDRSPC_TP_TM_PIO 
FW_LDST_ADDRSPC_TP_MIB 
FW_LDST_ADDRSPC_MDIO 
FW_LDST_ADDRSPC_MPS 
FW_LDST_ADDRSPC_FUNC 

Definition at line 233 of file t4fw_api.h.

Enumerator:
FW_LDST_FUNC_ACC_CTL_VIID 
FW_LDST_FUNC_ACC_CTL_FID 

Definition at line 252 of file t4fw_api.h.

Enumerator:
FW_LDST_FUNC_MPS 

Definition at line 257 of file t4fw_api.h.

Enumerator:
FW_LDST_MPS_ATRB 
FW_LDST_MPS_RPLC 

Definition at line 247 of file t4fw_api.h.

Enumerator:
FW_MEMTYPE_CF_EDC0 
FW_MEMTYPE_CF_EDC1 
FW_MEMTYPE_CF_EXTMEM 
FW_MEMTYPE_CF_FLASH 
FW_MEMTYPE_CF_INTERNAL 

Definition at line 433 of file t4fw_api.h.

Enumerator:
FW_PARAMS_MNEM_DEV 
FW_PARAMS_MNEM_PFVF 
FW_PARAMS_MNEM_REG 
FW_PARAMS_MNEM_DMAQ 
FW_PARAMS_MNEM_LAST 

Definition at line 468 of file t4fw_api.h.

Enumerator:
FW_PARAMS_PARAM_DEV_CCLK 
FW_PARAMS_PARAM_DEV_PORTVEC 
FW_PARAMS_PARAM_DEV_NTID 
FW_PARAMS_PARAM_DEV_FLOWC_BUFFIFO_SZ 
FW_PARAMS_PARAM_DEV_INTVER_NIC 
FW_PARAMS_PARAM_DEV_INTVER_VNIC 
FW_PARAMS_PARAM_DEV_INTVER_OFLD 
FW_PARAMS_PARAM_DEV_INTVER_RI 
FW_PARAMS_PARAM_DEV_INTVER_ISCSIPDU 
FW_PARAMS_PARAM_DEV_INTVER_ISCSI 
FW_PARAMS_PARAM_DEV_INTVER_FCOE 
FW_PARAMS_PARAM_DEV_FWREV 
FW_PARAMS_PARAM_DEV_TPREV 
FW_PARAMS_PARAM_DEV_CF 

Definition at line 479 of file t4fw_api.h.

Enumerator:
FW_PARAMS_PARAM_DMAQ_IQ_DCAEN_DCACPU 
FW_PARAMS_PARAM_DMAQ_IQ_INTCNTTHRESH 
FW_PARAMS_PARAM_DMAQ_EQ_CMPLIQID_MNGT 
FW_PARAMS_PARAM_DMAQ_EQ_CMPLIQID_CTRL 
FW_PARAMS_PARAM_DMAQ_EQ_SCHEDCLASS_ETH 

Definition at line 545 of file t4fw_api.h.

Enumerator:
FW_PARAMS_PARAM_PFVF_RWXCAPS 
FW_PARAMS_PARAM_PFVF_ROUTE_START 
FW_PARAMS_PARAM_PFVF_ROUTE_END 
FW_PARAMS_PARAM_PFVF_CLIP_START 
FW_PARAMS_PARAM_PFVF_CLIP_END 
FW_PARAMS_PARAM_PFVF_FILTER_START 
FW_PARAMS_PARAM_PFVF_FILTER_END 
FW_PARAMS_PARAM_PFVF_SERVER_START 
FW_PARAMS_PARAM_PFVF_SERVER_END 
FW_PARAMS_PARAM_PFVF_TDDP_START 
FW_PARAMS_PARAM_PFVF_TDDP_END 
FW_PARAMS_PARAM_PFVF_ISCSI_START 
FW_PARAMS_PARAM_PFVF_ISCSI_END 
FW_PARAMS_PARAM_PFVF_STAG_START 
FW_PARAMS_PARAM_PFVF_STAG_END 
FW_PARAMS_PARAM_PFVF_RQ_START 
FW_PARAMS_PARAM_PFVF_RQ_END 
FW_PARAMS_PARAM_PFVF_PBL_START 
FW_PARAMS_PARAM_PFVF_PBL_END 
FW_PARAMS_PARAM_PFVF_L2T_START 
FW_PARAMS_PARAM_PFVF_L2T_END 
FW_PARAMS_PARAM_PFVF_SQRQ_START 
FW_PARAMS_PARAM_PFVF_SQRQ_END 
FW_PARAMS_PARAM_PFVF_CQ_START 
FW_PARAMS_PARAM_PFVF_CQ_END 
FW_PARAMS_PARAM_PFVF_SCHEDCLASS_ETH 
FW_PARAMS_PARAM_PFVF_VIID 
FW_PARAMS_PARAM_PFVF_CPMASK 
FW_PARAMS_PARAM_PFVF_OCQ_START 
FW_PARAMS_PARAM_PFVF_OCQ_END 
FW_PARAMS_PARAM_PFVF_CONM_MAP 
FW_PARAMS_PARAM_PFVF_IQFLINT_START 
FW_PARAMS_PARAM_PFVF_IQFLINT_END 
FW_PARAMS_PARAM_PFVF_EQ_START 
FW_PARAMS_PARAM_PFVF_EQ_END 
FW_PARAMS_PARAM_PFVF_ACTIVE_FILTER_START 
FW_PARAMS_PARAM_PFVF_ACTIVE_FILTER_END 

Definition at line 502 of file t4fw_api.h.

Enumerator:
FW_PORT_ACTION_L1_CFG 
FW_PORT_ACTION_L2_CFG 
FW_PORT_ACTION_GET_PORT_INFO 
FW_PORT_ACTION_L2_PPP_CFG 
FW_PORT_ACTION_L2_DCB_CFG 
FW_PORT_ACTION_LOW_PWR_TO_NORMAL 
FW_PORT_ACTION_L1_LOW_PWR_EN 
FW_PORT_ACTION_L2_WOL_MODE_EN 
FW_PORT_ACTION_LPBK_TO_NORMAL 
FW_PORT_ACTION_L1_LPBK 
FW_PORT_ACTION_L1_PMA_LPBK 
FW_PORT_ACTION_L1_PCS_LPBK 
FW_PORT_ACTION_L1_PHYXS_CSIDE_LPBK 
FW_PORT_ACTION_L1_PHYXS_ESIDE_LPBK 
FW_PORT_ACTION_PHY_RESET 
FW_PORT_ACTION_PMA_RESET 
FW_PORT_ACTION_PCS_RESET 
FW_PORT_ACTION_PHYXS_RESET 
FW_PORT_ACTION_DTEXS_REEST 
FW_PORT_ACTION_AN_RESET 

Definition at line 1150 of file t4fw_api.h.

Enumerator:
FW_PORT_CAP_SPEED_100M 
FW_PORT_CAP_SPEED_1G 
FW_PORT_CAP_SPEED_2_5G 
FW_PORT_CAP_SPEED_10G 
FW_PORT_CAP_SPEED_40G 
FW_PORT_CAP_SPEED_100G 
FW_PORT_CAP_FC_RX 
FW_PORT_CAP_FC_TX 
FW_PORT_CAP_ANEG 
FW_PORT_CAP_MDI_0 
FW_PORT_CAP_MDI_1 
FW_PORT_CAP_BEAN 
FW_PORT_CAP_PMA_LPBK 
FW_PORT_CAP_PCS_LPBK 
FW_PORT_CAP_PHYXS_LPBK 
FW_PORT_CAP_FAR_END_LPBK 

Definition at line 1122 of file t4fw_api.h.

Enumerator:
FW_PORT_DCB_CFG_PG 
FW_PORT_DCB_CFG_PFC 
FW_PORT_DCB_CFG_APPL 

Definition at line 1182 of file t4fw_api.h.

Enumerator:
FW_PORT_DCB_CFG_SUCCESS 
FW_PORT_DCB_CFG_ERROR 

Definition at line 1188 of file t4fw_api.h.

Enumerator:
FW_PORT_L2_CTLBF_OVLAN0 
FW_PORT_L2_CTLBF_OVLAN1 
FW_PORT_L2_CTLBF_OVLAN2 
FW_PORT_L2_CTLBF_OVLAN3 
FW_PORT_L2_CTLBF_IVLAN 
FW_PORT_L2_CTLBF_TXIPG 

Definition at line 1173 of file t4fw_api.h.

Enumerator:
FW_STAT_LB_PORT_BYTES_IX 
FW_STAT_LB_PORT_FRAMES_IX 
FW_STAT_LB_PORT_BCAST_IX 
FW_STAT_LB_PORT_MCAST_IX 
FW_STAT_LB_PORT_UCAST_IX 
FW_STAT_LB_PORT_ERROR_IX 
FW_STAT_LB_PORT_64B_IX 
FW_STAT_LB_PORT_65B_127B_IX 
FW_STAT_LB_PORT_128B_255B_IX 
FW_STAT_LB_PORT_256B_511B_IX 
FW_STAT_LB_PORT_512B_1023B_IX 
FW_STAT_LB_PORT_1024B_1518B_IX 
FW_STAT_LB_PORT_1519B_MAX_IX 
FW_STAT_LB_PORT_DROP_FRAMES_IX 

Definition at line 1453 of file t4fw_api.h.

Enumerator:
FW_PORT_MDI_UNCHANGED 
FW_PORT_MDI_AUTO 
FW_PORT_MDI_F_STRAIGHT 
FW_PORT_MDI_F_CROSSOVER 

Definition at line 1141 of file t4fw_api.h.

Enumerator:
FW_PORT_MOD_TYPE_NA 
FW_PORT_MOD_TYPE_LR 
FW_PORT_MOD_TYPE_SR 
FW_PORT_MOD_TYPE_ER 
FW_PORT_MOD_TYPE_TWINAX_PASSIVE 
FW_PORT_MOD_TYPE_TWINAX_ACTIVE 
FW_PORT_MOD_TYPE_LRM 
FW_PORT_MOD_TYPE_NONE 

Definition at line 1300 of file t4fw_api.h.

Enumerator:
FW_STAT_RX_PORT_BYTES_IX 
FW_STAT_RX_PORT_FRAMES_IX 
FW_STAT_RX_PORT_BCAST_IX 
FW_STAT_RX_PORT_MCAST_IX 
FW_STAT_RX_PORT_UCAST_IX 
FW_STAT_RX_PORT_MTU_ERROR_IX 
FW_STAT_RX_PORT_MTU_CRC_ERROR_IX 
FW_STAT_RX_PORT_CRC_ERROR_IX 
FW_STAT_RX_PORT_LEN_ERROR_IX 
FW_STAT_RX_PORT_SYM_ERROR_IX 
FW_STAT_RX_PORT_64B_IX 
FW_STAT_RX_PORT_65B_127B_IX 
FW_STAT_RX_PORT_128B_255B_IX 
FW_STAT_RX_PORT_256B_511B_IX 
FW_STAT_RX_PORT_512B_1023B_IX 
FW_STAT_RX_PORT_1024B_1518B_IX 
FW_STAT_RX_PORT_1519B_MAX_IX 
FW_STAT_RX_PORT_PAUSE_IX 
FW_STAT_RX_PORT_PPP0_IX 
FW_STAT_RX_PORT_PPP1_IX 
FW_STAT_RX_PORT_PPP2_IX 
FW_STAT_RX_PORT_PPP3_IX 
FW_STAT_RX_PORT_PPP4_IX 
FW_STAT_RX_PORT_PPP5_IX 
FW_STAT_RX_PORT_PPP6_IX 
FW_STAT_RX_PORT_PPP7_IX 
FW_STAT_RX_PORT_LESS_64B_IX 

Definition at line 1343 of file t4fw_api.h.

Enumerator:
FW_STAT_TX_PORT_BYTES_IX 
FW_STAT_TX_PORT_FRAMES_IX 
FW_STAT_TX_PORT_BCAST_IX 
FW_STAT_TX_PORT_MCAST_IX 
FW_STAT_TX_PORT_UCAST_IX 
FW_STAT_TX_PORT_ERROR_IX 
FW_STAT_TX_PORT_64B_IX 
FW_STAT_TX_PORT_65B_127B_IX 
FW_STAT_TX_PORT_128B_255B_IX 
FW_STAT_TX_PORT_256B_511B_IX 
FW_STAT_TX_PORT_512B_1023B_IX 
FW_STAT_TX_PORT_1024B_1518B_IX 
FW_STAT_TX_PORT_1519B_MAX_IX 
FW_STAT_TX_PORT_DROP_IX 
FW_STAT_TX_PORT_PAUSE_IX 
FW_STAT_TX_PORT_PPP0_IX 
FW_STAT_TX_PORT_PPP1_IX 
FW_STAT_TX_PORT_PPP2_IX 
FW_STAT_TX_PORT_PPP3_IX 
FW_STAT_TX_PORT_PPP4_IX 
FW_STAT_TX_PORT_PPP5_IX 
FW_STAT_TX_PORT_PPP6_IX 
FW_STAT_TX_PORT_PPP7_IX 

Definition at line 1317 of file t4fw_api.h.

Enumerator:
FW_PORT_TYPE_FIBER_XFI 
FW_PORT_TYPE_FIBER_XAUI 
FW_PORT_TYPE_BT_SGMII 
FW_PORT_TYPE_BT_XFI 
FW_PORT_TYPE_BT_XAUI 
FW_PORT_TYPE_KX4 
FW_PORT_TYPE_CX4 
FW_PORT_TYPE_KX 
FW_PORT_TYPE_KR 
FW_PORT_TYPE_SFP 
FW_PORT_TYPE_BP_AP 
FW_PORT_TYPE_BP4_AP 
FW_PORT_TYPE_NONE 

Definition at line 1283 of file t4fw_api.h.

Enumerator:
FW_VI_MAC_R_SUCCESS 
FW_VI_MAC_R_F_NONEXISTENT_NOMEM 
FW_VI_MAC_R_SMAC_FAIL 
FW_VI_MAC_R_F_ACL_CHECK 

Definition at line 920 of file t4fw_api.h.

Enumerator:
FW_VI_MAC_MPS_TCAM_ENTRY 
FW_VI_MAC_MPS_TCAM_ONLY 
FW_VI_MAC_SMT_ONLY 
FW_VI_MAC_SMT_AND_MPSTCAM 

Definition at line 913 of file t4fw_api.h.

Enumerator:
FW_VI_PF_STAT_TX_BCAST_BYTES_IX 
FW_VI_PF_STAT_TX_BCAST_FRAMES_IX 
FW_VI_PF_STAT_TX_MCAST_BYTES_IX 
FW_VI_PF_STAT_TX_MCAST_FRAMES_IX 
FW_VI_PF_STAT_TX_UCAST_BYTES_IX 
FW_VI_PF_STAT_TX_UCAST_FRAMES_IX 
FW_VI_PF_STAT_TX_OFLD_BYTES_IX 
FW_VI_PF_STAT_TX_OFLD_FRAMES_IX 
FW_VI_PF_STAT_RX_BYTES_IX 
FW_VI_PF_STAT_RX_FRAMES_IX 
FW_VI_PF_STAT_RX_BCAST_BYTES_IX 
FW_VI_PF_STAT_RX_BCAST_FRAMES_IX 
FW_VI_PF_STAT_RX_MCAST_BYTES_IX 
FW_VI_PF_STAT_RX_MCAST_FRAMES_IX 
FW_VI_PF_STAT_RX_UCAST_BYTES_IX 
FW_VI_PF_STAT_RX_UCAST_FRAMES_IX 
FW_VI_PF_STAT_RX_ERR_FRAMES_IX 

Definition at line 1009 of file t4fw_api.h.

Enumerator:
FW_VI_VF_STAT_TX_BCAST_BYTES_IX 
FW_VI_VF_STAT_TX_BCAST_FRAMES_IX 
FW_VI_VF_STAT_TX_MCAST_BYTES_IX 
FW_VI_VF_STAT_TX_MCAST_FRAMES_IX 
FW_VI_VF_STAT_TX_UCAST_BYTES_IX 
FW_VI_VF_STAT_TX_UCAST_FRAMES_IX 
FW_VI_VF_STAT_TX_DROP_FRAMES_IX 
FW_VI_VF_STAT_TX_OFLD_BYTES_IX 
FW_VI_VF_STAT_TX_OFLD_FRAMES_IX 
FW_VI_VF_STAT_RX_BCAST_BYTES_IX 
FW_VI_VF_STAT_RX_BCAST_FRAMES_IX 
FW_VI_VF_STAT_RX_MCAST_BYTES_IX 
FW_VI_VF_STAT_RX_MCAST_FRAMES_IX 
FW_VI_VF_STAT_RX_UCAST_BYTES_IX 
FW_VI_VF_STAT_RX_UCAST_FRAMES_IX 
FW_VI_VF_STAT_RX_ERR_FRAMES_IX 

Definition at line 988 of file t4fw_api.h.

Enumerator:
FW_FILTER_WR 
FW_ULPTX_WR 
FW_TP_WR 
FW_ETH_TX_PKT_WR 
FW_FLOWC_WR 
FW_OFLD_TX_DATA_WR 
FW_CMD_WR 
FW_ETH_TX_PKT_VM_WR 
FW_RI_RES_WR 
FW_RI_INIT_WR 
FW_RI_RDMA_WRITE_WR 
FW_RI_SEND_WR 
FW_RI_RDMA_READ_WR 
FW_RI_RECV_WR 
FW_RI_BIND_MW_WR 
FW_RI_FR_NSMR_WR 
FW_RI_INV_LSTAG_WR 
FW_LASTC2E_WR 

Definition at line 44 of file t4fw_api.h.