/titanic_41/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_cfg.c | 102 lm_device_t * pLM = &pUM->lm_dev; in BnxeCfg_LLDP_DCBX() local 107 pLM->params.dcbx_port_params.dcbx_enabled = FALSE; in BnxeCfg_LLDP_DCBX() 110 pLM->params.dcbx_port_params.pfc.enabled = FALSE; in BnxeCfg_LLDP_DCBX() 114 pLM->params.dcbx_port_params.app.traffic_type_priority[i] = in BnxeCfg_LLDP_DCBX() 118 pLM->params.dcbx_port_params.pfc.priority_non_pauseable_mask = 0; in BnxeCfg_LLDP_DCBX() 120 memset(&pLM->params.lldp_config_params, 0xFF, in BnxeCfg_LLDP_DCBX() 121 sizeof(pLM->params.lldp_config_params)); in BnxeCfg_LLDP_DCBX() 122 memset(&pLM->params.dcbx_config_params, 0xFF, in BnxeCfg_LLDP_DCBX() 123 sizeof(pLM->params.dcbx_config_params)); in BnxeCfg_LLDP_DCBX() 125 pLM->params.dcbx_config_params.dcb_enable = 1; in BnxeCfg_LLDP_DCBX() [all …]
|
H A D | bnxe_hw.c | 155 lm_device_t * pLM = &pUM->lm_dev; in BnxeHwReqPhyMediumSettings() local 162 switch (pLM->params.link.num_phys) in BnxeHwReqPhyMediumSettings() 167 pLM->params.link.phy[ELINK_INT_PHY].supported; in BnxeHwReqPhyMediumSettings() 174 pLM->params.link.phy[ELINK_EXT_PHY1].supported; in BnxeHwReqPhyMediumSettings() 180 if (pLM->params.link.multi_phy_config & in BnxeHwReqPhyMediumSettings() 184 pLM->params.link.phy[ELINK_EXT_PHY1].supported; in BnxeHwReqPhyMediumSettings() 186 pLM->params.link.phy[ELINK_EXT_PHY2].supported; in BnxeHwReqPhyMediumSettings() 191 pLM->params.link.phy[ELINK_EXT_PHY1].supported; in BnxeHwReqPhyMediumSettings() 193 pLM->params.link.phy[ELINK_EXT_PHY2].supported; in BnxeHwReqPhyMediumSettings() 202 pLM->params.link.num_phys); in BnxeHwReqPhyMediumSettings() [all …]
|
H A D | bnxe_intr.c | 236 lm_device_t * pLM = (lm_device_t *)pUM; in BnxeServiceDefSbIntr() local 259 if (lm_is_def_sb_updated(pLM) == 0) in BnxeServiceDefSbIntr() 265 BnxeCheckAccHandle(pLM->vars.reg_handle[BAR_0]) != DDI_FM_OK) in BnxeServiceDefSbIntr() 274 lm_update_def_hc_indices(pLM, DEF_STATUS_BLOCK_INDEX, &activity_flg); in BnxeServiceDefSbIntr() 285 lm_get_attn_info(pLM, &lcl_attn_bits, &lcl_attn_ack); in BnxeServiceDefSbIntr() 296 GET_ATTN_CHNG_GROUPS(pLM, lcl_attn_bits, lcl_attn_ack, in BnxeServiceDefSbIntr() 304 lm_handle_assertion_processing(pLM, asserted_proc_grps); in BnxeServiceDefSbIntr() 307 BnxeCheckAccHandle(pLM->vars.reg_handle[BAR_0]) != DDI_FM_OK) in BnxeServiceDefSbIntr() 320 lm_handle_deassertion_processing(pLM, deasserted_proc_grps); in BnxeServiceDefSbIntr() 323 BnxeCheckAccHandle(pLM->vars.reg_handle[BAR_0]) != DDI_FM_OK) in BnxeServiceDefSbIntr() [all …]
|
H A D | bnxe_mm.c | 134 lm_device_t * pLM = (lm_device_t *)pUM; in BnxeInitBdCnts() local 137 pLM->params.l2_tx_bd_page_cnt[cli_idx] = BNXE_DEF_TX_BD_PAGE_CNT; in BnxeInitBdCnts() 138 pLM->params.l2_tx_coal_buf_cnt[cli_idx] = BNXE_DEF_TX_COAL_BUF_CNT; in BnxeInitBdCnts() 143 if (pLM->params.l2_rx_desc_cnt[cli_idx] <= pPageCfg->bufCnt) in BnxeInitBdCnts() 145 pLM->params.l2_tx_bd_page_cnt[cli_idx] = pPageCfg->txBdPageCnt; in BnxeInitBdCnts() 146 pLM->params.l2_tx_coal_buf_cnt[cli_idx] = pPageCfg->txCoalBufCnt; in BnxeInitBdCnts() 158 lm_status_t mm_get_user_config(lm_device_t * pLM) in mm_get_user_config() argument 160 um_device_t * pUM = (um_device_t *)pLM; in mm_get_user_config() 166 pLM->params.sw_config = LM_SWCFG_10G; in mm_get_user_config() 168 pLM->params.ofld_cap = (LM_OFFLOAD_TX_IP_CKSUM | in mm_get_user_config() [all …]
|
H A D | bnxe_kstat.c | 571 lm_device_t * pLM = (lm_device_t *)pUM; in BnxeKstatUpdate() local 604 …pStats->multiFunctionVnics.value.ui64 = IS_MULTI_VNIC(&pUM->lm_dev) ? pLM->params.vnics_per_port :… in BnxeKstatUpdate() 607 pLM->params.mac_addr[0], pLM->params.mac_addr[1], in BnxeKstatUpdate() 608 pLM->params.mac_addr[2], pLM->params.mac_addr[3], in BnxeKstatUpdate() 609 pLM->params.mac_addr[4], pLM->params.mac_addr[5]); in BnxeKstatUpdate() 622 pStats->timerFired.value.ui64 = pLM->vars.stats.stats_collect.timer_wakeup; in BnxeKstatUpdate() 623 pStats->timerReply.value.ui64 = pLM->vars.stats.stats_collect.stats_fw.drv_counter; in BnxeKstatUpdate() 624 …pStats->timerNoReplyTotal.value.ui64 = pLM->vars.stats.stats_collect.stats_fw.timer_wakeup_no_co… in BnxeKstatUpdate() 625 …pStats->timerNoReplyCurrent.value.ui64 = pLM->vars.stats.stats_collect.stats_fw.timer_wakeup_no_co… in BnxeKstatUpdate() 626 … pStats->timerDone.value.ui64 = pLM->vars.stats.stats_collect.stats_fw.b_completion_done; in BnxeKstatUpdate() [all …]
|
H A D | bnxe_timer.c | 47 lm_device_t * pLM = &pUM->lm_dev; in BnxeTimer() local 57 lm_stats_on_timer(pLM); in BnxeTimer() 60 BnxeCheckAccHandle(pLM->vars.reg_handle[BAR_0]) != DDI_FM_OK) in BnxeTimer() 68 lm_link_on_timer(pLM); in BnxeTimer()
|
H A D | bnxe_tx.c | 174 lm_device_t * pLM = &pUM->lm_dev; in BnxeTxSendWaitingPkt() local 179 pLmTxChain = &pLM->tx_info.chain[idx]; in BnxeTxSendWaitingPkt() 192 rc = lm_send_packet(pLM, idx, &pTxPkt->lm_pkt, &pTxPkt->frag_list); in BnxeTxSendWaitingPkt() 195 BnxeCheckAccHandle(pLM->vars.reg_handle[BAR_0]) != DDI_FM_OK) in BnxeTxSendWaitingPkt() 220 lm_device_t * pLM = &pUM->lm_dev; in BnxeTxRingProcess() local 286 if (idx == FCOE_CID(pLM)) in BnxeTxRingProcess() 835 lm_device_t * pLM = &pUM->lm_dev; in BnxeTxSendMblk() local 862 numPkts = lm_get_packets_sent(pLM, idx, &tmpList); in BnxeTxSendMblk() 866 BnxeCheckAccHandle(pLM->vars.reg_handle[BAR_0]) != DDI_FM_OK) in BnxeTxSendMblk() 910 if (idx == FCOE_CID(pLM)) in BnxeTxSendMblk() [all …]
|
H A D | bnxe_rx.c | 740 lm_device_t * pLM = &pUM->lm_dev; in BnxeRxPktsInitIdx() local 749 pLmRxChain = &LM_RXQ(pLM, idx); in BnxeRxPktsInitIdx() 752 pUM->rxq[idx].rxLowWater = pLM->params.l2_rx_desc_cnt[LM_CHAIN_IDX_CLI(pLM, idx)]; in BnxeRxPktsInitIdx() 760 i < pLM->params.l2_rx_desc_cnt[LM_CHAIN_IDX_CLI(pLM, idx)]; in BnxeRxPktsInitIdx() 772 pRxPkt->signature = pUM->rxBufSignature[LM_CHAIN_IDX_CLI(pLM, idx)]; in BnxeRxPktsInitIdx() 789 if (postCnt != pLM->params.l2_rx_desc_cnt[LM_CHAIN_IDX_CLI(pLM, idx)]) in BnxeRxPktsInitIdx() 792 pLM->params.l2_rx_desc_cnt[LM_CHAIN_IDX_CLI(pLM, idx)], in BnxeRxPktsInitIdx()
|
H A D | bnxe_gld.c | 115 lm_device_t * pLM; in BnxeMacStats() local 124 pLM = &pUM->lm_dev; in BnxeMacStats() 143 lm_stats_get_l2_chip_stats(pLM, &b10_l2_stats, in BnxeMacStats() 149 lm_stats_get_l2_chip_stats(pLM, &b10_l2_stats, in BnxeMacStats() 155 lm_stats_get_l2_chip_stats(pLM, &b10_l2_stats, in BnxeMacStats() 161 lm_stats_get_l2_chip_stats(pLM, &b10_l2_stats, in BnxeMacStats() 167 lm_get_stats(pLM, LM_STATS_RCV_NO_BUFFER_DROP, (u64_t *)pVal); in BnxeMacStats() 172 LM_FOREACH_TSS_IDX(pLM, idx) in BnxeMacStats() 180 lm_stats_get_l2_chip_stats(pLM, &b10_l2_stats, in BnxeMacStats() 190 lm_stats_get_l2_chip_stats(pLM, &b10_l2_stats, in BnxeMacStats() [all …]
|
H A D | bnxe_main.c | 215 lm_device_t * pLM = &pUM->lm_dev; in BnxeMutexInit() local 292 lm_device_t * pLM = &pUM->lm_dev; in BnxeMutexDestroy() local
|
H A D | bnxe_fcoe.c | 1288 lm_device_t * pLM = &pUM->lm_dev; in BnxeFcoePrvTx() local 1311 rc = BnxeTxSendMblk(pUM, FCOE_CID(pLM), pMblk, flags, vlan_tag); in BnxeFcoePrvTx()
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/ |
H A D | mm.h | 254 mm_map_io_space_solaris(struct _lm_device_t * pLM,
|