/titanic_41/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_cfg.c | 318 pUM->devParams.mtu[LM_CLI_IDX_NDIS] = USER_OPTION_MTU_DEFAULT; in BnxeCfgInit() 320 pUM->devParams.numRxDesc[LM_CLI_IDX_NDIS] = USER_OPTION_RX_BDS_DEFAULT; in BnxeCfgInit() 321 pUM->devParams.numTxDesc[LM_CLI_IDX_NDIS] = USER_OPTION_TX_BDS_DEFAULT; in BnxeCfgInit() 431 pUM->devParams.mtu[LM_CLI_IDX_NDIS], in BnxeCfgInit() 433 pUM->devParams.mtu[LM_CLI_IDX_NDIS] = in BnxeCfgInit() 439 pUM->lm_dev.params.mtu[LM_CLI_IDX_NDIS] = pUM->devParams.mtu[LM_CLI_IDX_NDIS]; in BnxeCfgInit() 444 pUM->lm_dev.params.mtu_max = (pUM->lm_dev.params.mtu[LM_CLI_IDX_NDIS] > in BnxeCfgInit() 446 pUM->lm_dev.params.mtu[LM_CLI_IDX_NDIS] : in BnxeCfgInit() 489 pUM->devParams.numRxDesc[LM_CLI_IDX_NDIS], in BnxeCfgInit() 491 pUM->devParams.numRxDesc[LM_CLI_IDX_NDIS] = in BnxeCfgInit() [all …]
|
H A D | bnxe_hw.c | 722 if ((cliIdx != LM_CLI_IDX_NDIS) && (cliIdx != LM_CLI_IDX_FCOE)) in BnxeMacAddress() 773 if ((cliIdx != LM_CLI_IDX_NDIS) || !CHIP_IS_E1(&pUM->lm_dev)) in BnxeMulticastE1() 782 if (!(pUM->devParams.rx_filter_mask[LM_CLI_IDX_NDIS] & in BnxeMulticastE1() 787 pUM->devParams.rx_filter_mask[LM_CLI_IDX_NDIS] |= in BnxeMulticastE1() 790 BnxeRxMask(pUM, LM_CLI_IDX_NDIS, in BnxeMulticastE1() 791 pUM->devParams.rx_filter_mask[LM_CLI_IDX_NDIS]); in BnxeMulticastE1() 796 if (pUM->devParams.rx_filter_mask[LM_CLI_IDX_NDIS] & in BnxeMulticastE1() 801 pUM->devParams.rx_filter_mask[LM_CLI_IDX_NDIS] &= in BnxeMulticastE1() 804 BnxeRxMask(pUM, LM_CLI_IDX_NDIS, in BnxeMulticastE1() 805 pUM->devParams.rx_filter_mask[LM_CLI_IDX_NDIS]); in BnxeMulticastE1() [all …]
|
H A D | bnxe_gld.c | 590 pUM->devParams.rx_filter_mask[LM_CLI_IDX_NDIS] |= in BnxeMacPromiscuous() 595 pUM->devParams.rx_filter_mask[LM_CLI_IDX_NDIS] &= in BnxeMacPromiscuous() 601 if (BnxeRxMask(pUM, LM_CLI_IDX_NDIS, in BnxeMacPromiscuous() 602 pUM->devParams.rx_filter_mask[LM_CLI_IDX_NDIS]) < 0) in BnxeMacPromiscuous() 638 rc = BnxeMulticast(pUM, LM_CLI_IDX_NDIS, flag, pMcastAddr, B_TRUE); in BnxeMacMulticast() 693 rc = BnxeMacAddress(pUM, LM_CLI_IDX_NDIS, B_TRUE, in BnxeRxRingGroupAddMac() 741 rc = BnxeMacAddress(pUM, LM_CLI_IDX_NDIS, B_FALSE, in BnxeRxRingGroupRemMac() 827 rc = BnxeMacAddress(pUM, LM_CLI_IDX_NDIS, B_TRUE, in BnxeMacUnicast() 2047 pUM->devParams.numRxDesc[LM_CLI_IDX_NDIS] = (uint32_t)result; in BnxeSetPrivateProperty() 2080 pUM->devParams.numTxDesc[LM_CLI_IDX_NDIS] = (uint32_t)result; in BnxeSetPrivateProperty() [all …]
|
H A D | bnxe_rx.c | 233 case LM_CLI_IDX_NDIS: in BnxeWaitForPacketsFromClient() 620 case LM_CLI_IDX_NDIS: in BnxeRxPktsAbort() 718 case LM_CLI_IDX_NDIS: in BnxeRxPktsInitPostBuffers() 817 case LM_CLI_IDX_NDIS: in BnxeRxPktsInit() 906 case LM_CLI_IDX_NDIS: in BnxeRxPktsFini()
|
H A D | bnxe_mm.c | 189 pLM->params.l2_rx_desc_cnt[LM_CLI_IDX_NDIS] = pUM->devParams.numRxDesc[LM_CLI_IDX_NDIS]; in mm_get_user_config() 190 pLM->params.l2_tx_bd_page_cnt[LM_CLI_IDX_NDIS] = 0; in mm_get_user_config() 191 pLM->params.l2_tx_coal_buf_cnt[LM_CLI_IDX_NDIS] = 0; in mm_get_user_config() 193 BnxeInitBdCnts(pUM, LM_CLI_IDX_NDIS); in mm_get_user_config() 901 LM_CLI_IDX_NDIS); in mm_return_sq_pending_command() 909 LM_CLI_IDX_NDIS); in mm_get_sq_pending_command() 1151 if (CLIENT_BOUND(pUM, LM_CLI_IDX_NDIS)) in mm_indicate_link()
|
H A D | bnxe.h | 549 (((client) == LM_CLI_IDX_NDIS) ? \ 1043 return (CLIENT_HW(pUM, LM_CLI_IDX_NDIS) || in BnxeIsClientBound() 1049 if (CLIENT_HW(pUM, LM_CLI_IDX_NDIS) && in BnxeClientsHw() 1051 else if (CLIENT_HW(pUM, LM_CLI_IDX_NDIS)) { return "L2"; } in BnxeClientsHw() 1064 if (CLIENT_HW(pUM, LM_CLI_IDX_NDIS) && in BnxeClientsBound() 1066 else if (CLIENT_HW(pUM, LM_CLI_IDX_NDIS)) { return "L2"; } in BnxeClientsBound()
|
H A D | bnxe_tx.c | 1075 case LM_CLI_IDX_NDIS: in BnxeTxPktsAbort() 1291 case LM_CLI_IDX_NDIS: in BnxeTxPktsInit() 1358 case LM_CLI_IDX_NDIS: in BnxeTxPktsFini()
|
H A D | bnxe_kstat.c | 667 pStats->mtuL2.value.ui64 = pUM->lm_dev.params.mtu[LM_CLI_IDX_NDIS]; in BnxeKstatLinkUpdate()
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_devinfo.c | 2795 pdev->params.uc_table_size[LM_CLI_IDX_NDIS] = uc_credit - 1; /* - one for iscsi... */ in lm_init_cam_params() 2798 pdev->params.mc_table_size[LM_CLI_IDX_NDIS] = mc_credit; in lm_init_cam_params() 2801 … pdev->params.uc_table_size[LM_CLI_IDX_NDIS], pdev->params.uc_table_size[LM_CLI_IDX_ISCSI], in lm_init_cam_params() 2802 pdev->params.mc_table_size[LM_CLI_IDX_NDIS]); in lm_init_cam_params() 2813 pdev->params.uc_table_size[LM_CLI_IDX_NDIS] = uc_credit - 1; /* - one for iscsi... */ in lm_init_cam_params() 2816 pdev->params.mc_table_size[LM_CLI_IDX_NDIS] = LM_MC_NDIS_TABLE_SIZE; in lm_init_cam_params() 2819 … pdev->params.uc_table_size[LM_CLI_IDX_NDIS], pdev->params.uc_table_size[LM_CLI_IDX_ISCSI], in lm_init_cam_params() 2820 pdev->params.mc_table_size[LM_CLI_IDX_NDIS]); in lm_init_cam_params() 2839 pdev->params.uc_table_size[LM_CLI_IDX_NDIS] = uc_credit - 2; /* - the two above... */ in lm_init_cam_params() 2842 pdev->params.mc_table_size[LM_CLI_IDX_NDIS] = LM_MC_NDIS_TABLE_SIZE; in lm_init_cam_params() [all …]
|
H A D | lm_niv.c | 322 …>tx_frames_dropped, fw_stats->eth_xstorm_common.client_statistics[LM_CLI_IDX_NDIS].error_drop_p… in lm_niv_chip_stats_to_niv_stats() 338 … fw_stats->eth_tstorm_common.client_statistics[LM_CLI_IDX_NDIS].checksum_discard); in lm_niv_chip_stats_to_niv_stats()
|
H A D | lm_pf.c | 679 LM_SLOWPATH(pdev, mac_rdata)[LM_CLI_IDX_NDIS], in lm_pf_init_vf_client() 680 LM_SLOWPATH_PHYS(pdev, mac_rdata)[LM_CLI_IDX_NDIS], in lm_pf_init_vf_client() 693 LM_SLOWPATH(pdev, mac_rdata)[LM_CLI_IDX_NDIS], in lm_pf_init_vf_client() 694 LM_SLOWPATH_PHYS(pdev, mac_rdata)[LM_CLI_IDX_NDIS], in lm_pf_init_vf_client()
|
H A D | lm_stats.c | 159 const u32_t i = LM_CLI_IDX_NDIS; in lm_get_stats() 1847 const u8_t cli_id = LM_CLI_IDX_NDIS ; in lm_stats_fw_assign() 2059 const u8_t cli_id = LM_CLI_IDX_NDIS ; in lm_pf_stats_vf_fw_assign() 2599 const u8_t client_id = LM_CLI_CID(pdev, LM_CLI_IDX_NDIS ); in lm_drv_info_to_mfw_assign_eth() 2807 u32_t idx = LM_CLI_IDX_NDIS ; in lm_stats_get_l2_chip_stats() 3048 …vars.stats.stats_mirror.stats_fw.eth_tstorm_common.client_statistics[LM_CLI_IDX_NDIS].rcv_error_by… in lm_stats_mgmt_assign_func()
|
H A D | lm_hw_access.c | 282 lm_status = lm_set_mac_in_nig(pdev, addr, LM_CLI_IDX_NDIS, offset); in lm_insert_nig_entry() 326 lm_status = lm_set_mac_in_nig(pdev, NULL, LM_CLI_IDX_NDIS, offset); in lm_remove_nig_entry()
|
H A D | lm_sp.c | 1545 …lm_status = lm_vf_pf_set_q_filters(pdev, LM_CLI_IDX_NDIS, cookie, Q_FILTER_MAC, mac_addr, ETHERNET… in lm_set_mac_addr() 1588 case LM_CLI_IDX_NDIS: in lm_set_mac_addr() 2186 lm_cli_idx = CHIP_IS_E1x(pdev) ? LM_CLI_IDX_NDIS : LM_CHAIN_IDX_CLI(pdev, chain_idx); in lm_set_rx_mask() 3148 mm_set_done(pdev, LM_CLI_IDX_NDIS, cookie); in lm_eq_handle_function_update_eqe()
|
H A D | lm_mcp.c | 1131 case LM_CLI_IDX_NDIS: in lm_mcp_cli_idx_to_drv_cap_flag()
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/ |
H A D | lm5710.h | 201 LM_CLI_IDX_NDIS = 0, enumerator 212 LM_RESOURCE_NDIS = LM_CLI_IDX_NDIS, 1143 … #define NDIS_CID(_pdev) (_pdev)->params.map_client_to_cid[LM_CLI_IDX_NDIS] 1152 …LI(pdev, cid) ((lm_chain_type_not_cos != lm_mp_get_chain_type(pdev, cid)) ? LM_CLI_IDX_NDIS : \ 1157 …(pdev)->params.max_pf_fw_client_cnt) && (cid < (pdev)->params.fw_client_cnt)) ? LM_CLI_IDX_NDIS : \
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/ |
H A D | lm_vf.c | 1769 pdev->params.mc_table_size[LM_CLI_IDX_NDIS] = presp->resc.num_mc_filters; in lm_vf_pf_acquire_msg() 2637 pdev->params.mac_config[LM_CLI_IDX_NDIS] = mm_alloc_phys_mem(pdev, in lm_vf_setup_alloc_resc() 2639 &pdev->params.mac_config_phy[LM_CLI_IDX_NDIS], in lm_vf_setup_alloc_resc() 2643 if CHK_NULL( pdev->params.mac_config[LM_CLI_IDX_NDIS] ) in lm_vf_setup_alloc_resc() 2649 mm_mem_zero((void *) (pdev->params.mac_config[LM_CLI_IDX_NDIS]), alloc_size ); in lm_vf_setup_alloc_resc()
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/basic_vf/ |
H A D | lm_vf.c | 362 lm_status = lm_set_rx_mask(pdev, LM_CLI_IDX_NDIS, LM_RX_MASK_ACCEPT_NONE, NULL); in lm_vf_chip_init()
|