/titanic_44/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_lock.c | 39 void BNXE_LOCK_ENTER_INTR (um_device_t * pUM, int idx) { mutex_enter(&pUM->intrMutex[idx]… in BNXE_LOCK_ENTER_INTR() 40 void BNXE_LOCK_EXIT_INTR (um_device_t * pUM, int idx) { mutex_exit(&pUM->intrMutex[idx])… in BNXE_LOCK_EXIT_INTR() 41 void BNXE_LOCK_ENTER_INTR_FLIP (um_device_t * pUM, int idx) { mutex_enter(&pUM->intrFlipMutex[… in BNXE_LOCK_ENTER_INTR_FLIP() 42 void BNXE_LOCK_EXIT_INTR_FLIP (um_device_t * pUM, int idx) { mutex_exit(&pUM->intrFlipMutex[i… in BNXE_LOCK_EXIT_INTR_FLIP() 43 void BNXE_LOCK_ENTER_TX (um_device_t * pUM, int idx) { mutex_enter(&pUM->txq[idx].txMut… in BNXE_LOCK_ENTER_TX() 44 void BNXE_LOCK_EXIT_TX (um_device_t * pUM, int idx) { mutex_exit(&pUM->txq[idx].txMute… in BNXE_LOCK_EXIT_TX() 45 void BNXE_LOCK_ENTER_FREETX (um_device_t * pUM, int idx) { mutex_enter(&pUM->txq[idx].freeT… in BNXE_LOCK_ENTER_FREETX() 46 void BNXE_LOCK_EXIT_FREETX (um_device_t * pUM, int idx) { mutex_exit(&pUM->txq[idx].freeTx… in BNXE_LOCK_EXIT_FREETX() 47 void BNXE_LOCK_ENTER_RX (um_device_t * pUM, int idx) { mutex_enter(&pUM->rxq[idx].rxMut… in BNXE_LOCK_ENTER_RX() 48 void BNXE_LOCK_EXIT_RX (um_device_t * pUM, int idx) { mutex_exit(&pUM->rxq[idx].rxMute… in BNXE_LOCK_EXIT_RX() [all …]
|
H A D | bnxe.h | 159 #define BNXE_FCOE(dev) ((um_device_t *)(dev))->do_fcoe 691 } um_device_t; typedef 734 void BnxeCfgInit(um_device_t * pUM); 735 void BnxeCfgReset(um_device_t * pUM); 738 void BnxeInitBdCnts(um_device_t * pUM, 742 boolean_t BnxeGldInit(um_device_t * pUM); 743 boolean_t BnxeGldFini(um_device_t * pUM); 744 void BnxeGldLink(um_device_t * pUM, 748 boolean_t BnxeEstablishHwConn(um_device_t * pUM, 750 int BnxeHwStartFCOE(um_device_t * pUM); [all …]
|
H A D | bnxe_mm_l4.c | 42 BnxeDbgBreak((um_device_t *)pdev); in mm_acquire_tcp_lock() 51 BnxeDbgBreak((um_device_t *)pdev); in mm_release_tcp_lock() 57 BNXE_LOCK_ENTER_TOE((um_device_t *)pDev); in MM_ACQUIRE_TOE_LOCK() 63 BNXE_LOCK_EXIT_TOE((um_device_t *)pDev); in MM_RELEASE_TOE_LOCK() 69 BnxeDbgBreak((um_device_t *)pdev); in MM_ACQUIRE_TOE_GRQ_LOCK_DPC() 75 BnxeDbgBreak((um_device_t *)pdev); in MM_RELEASE_TOE_GRQ_LOCK_DPC() 81 BnxeDbgBreak((um_device_t *)pdev); in MM_ACQUIRE_TOE_GRQ_LOCK() 87 BnxeDbgBreak((um_device_t *)pdev); in MM_RELEASE_TOE_GRQ_LOCK() 96 BnxeDbgBreak((um_device_t *)pdev); in mm_tcp_complete_path_upload_request() 105 BnxeDbgBreak((um_device_t *)pdev); in mm_tcp_complete_neigh_upload_request() [all …]
|
H A D | bnxe_mm_l5.c | 45 BnxeDbgBreak((um_device_t *)pdev); in mm_sc_comp_l5_request() 56 return (!BnxeFcoeCompRequestCqe((um_device_t *)pdev, kcqes, num_kcqes)) ? in mm_fc_comp_request() 63 BnxeDbgBreak((um_device_t *)pdev); in mm_sc_complete_init_request() 71 BnxeDbgBreak((um_device_t *)_pdev); in mm_sc_is_omgr_enabled() 82 BnxeDbgBreak((um_device_t *)_pdev); in mm_sc_omgr_flush_rx() 89 BnxeDbgBreak((um_device_t *)pdev); in mm_sc_complete_update_request() 99 return (!BnxeFcoeInitCqe((um_device_t *)pdev, kcqe)) ? in mm_fc_complete_init_request() 109 return (!BnxeFcoeDestroyCqe((um_device_t *)pdev, kcqe)) ? in mm_fc_complete_destroy_request() 120 return (!BnxeFcoeOffloadConnCqe((um_device_t *)pdev, in mm_fc_complete_ofld_request() 133 return (!BnxeFcoeEnableConnCqe((um_device_t *)pdev, in mm_fc_complete_enable_request() [all …]
|
H A D | bnxe_mm.c | 111 um_device_t * pUM = (um_device_t *)pDev; in mm_read_pci() 123 um_device_t * pUM = (um_device_t *)pDev; in mm_write_pci() 131 void BnxeInitBdCnts(um_device_t * pUM, in BnxeInitBdCnts() 160 um_device_t * pUM = (um_device_t *)pLM; in mm_get_user_config() 309 static boolean_t BnxeIsBarUsed(um_device_t * pUM, in BnxeIsBarUsed() 343 um_device_t * pUM = (um_device_t *)pLM; in mm_map_io_base() 414 um_device_t * pUM = (um_device_t *)pLM; in mm_map_io_space_solaris() 470 um_device_t * pUM = (um_device_t *)pLM; in mm_unmap_io_space() 501 um_device_t * pUM = (um_device_t *)pLM; in mm_alloc_mem_imp() 567 um_device_t * pUM = (um_device_t *)pLM; in mm_alloc_phys_mem_align_imp() [all …]
|
H A D | bnxe_debug.c | 47 um_device_t * pUM = (um_device_t *)pDev; in DbgMessageFunc() 73 um_device_t * pUM = (um_device_t *)bp; in elink_cb_dbg() 90 um_device_t * pUM = (um_device_t *)bp; in elink_cb_dbg1() 107 um_device_t * pUM = (um_device_t *)bp; in elink_cb_dbg2() 124 um_device_t * pUM = (um_device_t *)bp; in elink_cb_dbg3() 143 um_device_t * pUM = (um_device_t *)pDev; in BnxeLogInfo() 172 um_device_t * pUM = (um_device_t *)pDev; in BnxeLogWarn() 195 um_device_t * pUM = (um_device_t *)pDev; in BnxeLogDbg() 215 void BnxeDumpMem(um_device_t * pUM, in BnxeDumpMem() 253 void BnxeDumpPkt(um_device_t * pUM, in BnxeDumpPkt()
|
H A D | bnxe_workq.c | 44 void (*pWorkCbkCopy)(um_device_t *, void *, u32_t); 45 void (*pWorkCbkNoCopy)(um_device_t *, void *); 46 void (*pWorkCbkGeneric)(um_device_t *); 63 boolean_t BnxeWorkQueueInit(um_device_t * pUM) in BnxeWorkQueueInit() 110 void BnxeWorkQueueWaitAndDestroy(um_device_t * pUM) in BnxeWorkQueueWaitAndDestroy() 120 um_device_t * pUM = (um_device_t *)pWorkq->pUM; in BnxeWorkQueueDispatch() 173 static void BnxeWorkQueueTrigger(um_device_t * pUM, in BnxeWorkQueueTrigger() 190 void BnxeWorkQueueStartPending(um_device_t * pUM) in BnxeWorkQueueStartPending() 220 boolean_t BnxeWorkQueueAdd(um_device_t * pUM, in BnxeWorkQueueAdd() 221 void (*pWorkCbkCopy)(um_device_t *, void *, u32_t), in BnxeWorkQueueAdd() argument [all …]
|
H A D | bnxe_fcoe.c | 51 void BnxeFcoeFreeResc(um_device_t * pUM, in BnxeFcoeFreeResc() 64 static boolean_t BnxeFcoeCqeIndicate(um_device_t * pUM, in BnxeFcoeCqeIndicate() 91 static void BnxeFcoeInitCqeWork(um_device_t * pUM, in BnxeFcoeInitCqeWork() 106 boolean_t BnxeFcoeInitCqe(um_device_t * pUM, in BnxeFcoeInitCqe() 126 static void BnxeFcoeInitWqeWork(um_device_t * pUM, in BnxeFcoeInitWqeWork() 190 static boolean_t BnxeFcoeInitWqe(um_device_t * pUM, in BnxeFcoeInitWqe() 203 static void BnxeFcoeOffloadConnCqeWork(um_device_t * pUM, in BnxeFcoeOffloadConnCqeWork() 218 boolean_t BnxeFcoeOffloadConnCqe(um_device_t * pUM, in BnxeFcoeOffloadConnCqe() 250 static void BnxeFcoeOffloadConnWqeWork(um_device_t * pUM, in BnxeFcoeOffloadConnWqeWork() 345 static boolean_t BnxeFcoeOffloadConnWqe(um_device_t * pUM, in BnxeFcoeOffloadConnWqe() [all …]
|
H A D | bnxe_main.c | 68 um_device_t * pUM = (um_device_t *)pDev; in BnxeInstance() 76 um_device_t * pUM = (um_device_t *)pDev; in BnxeDevName() 81 char * BnxeChipName(um_device_t * pUM) in BnxeChipName() 103 boolean_t BnxeProtoSupport(um_device_t * pUM, int proto) in BnxeProtoSupport() 168 boolean_t BnxeProtoFcoeAfex(um_device_t * pUM) in BnxeProtoFcoeAfex() 175 static boolean_t BnxePciInit(um_device_t * pUM) in BnxePciInit() 188 static void BnxePciDestroy(um_device_t * pUM) in BnxePciDestroy() 198 static void BnxeBarMemDestroy(um_device_t * pUM) in BnxeBarMemDestroy() 213 static void BnxeMutexInit(um_device_t * pUM) in BnxeMutexInit() 290 static void BnxeMutexDestroy(um_device_t * pUM) in BnxeMutexDestroy() [all …]
|
H A D | bnxe_gld.c | 114 um_device_t * pUM = (um_device_t *)pArg; in BnxeMacStats() 515 um_device_t * pUM = (um_device_t *)pArg; in BnxeMacStart() 553 um_device_t * pUM = (um_device_t *)pArg; in BnxeMacStop() 578 um_device_t * pUM = (um_device_t *)pArg; in BnxeMacPromiscuous() 626 um_device_t * pUM = (um_device_t *)pArg; in BnxeMacMulticast() 659 um_device_t * pUM = (um_device_t *)pRxQGroup->pUM; in BnxeRxRingGroupAddMac() 715 um_device_t * pUM = (um_device_t *)pRxQGroup->pUM; in BnxeRxRingGroupRemMac() 765 um_device_t * pUM = (um_device_t *)pTxQ->pUM; in BnxeTxRingSend() 803 um_device_t * pUM = (um_device_t *)pArg; in BnxeMacUnicast() 846 um_device_t * pUM = (um_device_t *)pArg; in BnxeMacTx() [all …]
|
H A D | bnxe_rx.c | 59 static void BnxeRxPostBuffers(um_device_t * pUM, in BnxeRxPostBuffers() 114 static u32_t BnxeRxPktDescrSize(um_device_t * pUM) in BnxeRxPktDescrSize() 126 static void BnxeRxPktDescrFree(um_device_t * pUM, in BnxeRxPktDescrFree() 144 um_device_t * pUM = (um_device_t *)pRxPkt->pUM; in BnxeRxPktFree() 204 boolean_t BnxeWaitForPacketsFromClient(um_device_t * pUM, in BnxeWaitForPacketsFromClient() 273 mblk_t * BnxeRxRingProcess(um_device_t * pUM, in BnxeRxRingProcess() 577 static void BnxeRxRingDump(um_device_t * pUM, in BnxeRxRingDump() 597 static void BnxeRxPktsAbortIdx(um_device_t * pUM, in BnxeRxPktsAbortIdx() 608 void BnxeRxPktsAbort(um_device_t * pUM, in BnxeRxPktsAbort() 637 static int BnxeRxBufAlloc(um_device_t * pUM, in BnxeRxBufAlloc() [all …]
|
H A D | bnxe_timer.c | 46 um_device_t * pUM = (um_device_t *)pArg; in BnxeTimer() 79 void BnxeTimerStart(um_device_t * pUM) in BnxeTimerStart() 90 void BnxeTimerStop(um_device_t * pUM) in BnxeTimerStop()
|
H A D | bnxe_intr.c | 76 static void BnxeFindDmaHandles(um_device_t * pUM) in BnxeFindDmaHandles() 147 void BnxeIntrIguSbEnable(um_device_t * pUM, in BnxeIntrIguSbEnable() 189 void BnxeIntrIguSbDisable(um_device_t * pUM, in BnxeIntrIguSbDisable() 232 static void BnxeServiceDefSbIntr(um_device_t * pUM, in BnxeServiceDefSbIntr() 378 void BnxePollRxRing(um_device_t * pUM, in BnxePollRxRing() 451 void BnxePollRxRingFCOE(um_device_t * pUM) in BnxePollRxRingFCOE() 499 static void BnxeServiceSbIntr(um_device_t * pUM, in BnxeServiceSbIntr() 590 um_device_t * pUM = (um_device_t *)arg1; in BnxeIntrISR() 694 um_device_t * pUM = (um_device_t *)arg1; in BnxeIntrMISR() 800 static boolean_t BnxeIntrBlockAlloc(um_device_t * pUM, in BnxeIntrBlockAlloc() [all …]
|
H A D | bnxe_tx.c | 74 static um_txpacket_t * BnxeTxPktAlloc(um_device_t * pUM, size_t size); 136 void BnxeTxPktsReclaim(um_device_t * pUM, in BnxeTxPktsReclaim() 170 static int BnxeTxSendWaitingPkt(um_device_t * pUM, in BnxeTxSendWaitingPkt() 216 void BnxeTxRingProcess(um_device_t * pUM, in BnxeTxRingProcess() 303 static inline int BnxeTxPktMapFrag(um_device_t * pUM, in BnxeTxPktMapFrag() 406 static int BnxeTxPktCopy(um_device_t * pUM, in BnxeTxPktCopy() 613 static inline u16_t BnxeUdpPseudoCsum(um_device_t * pUM, in BnxeUdpPseudoCsum() 650 static inline int BnxeGetHdrInfo(um_device_t * pUM, in BnxeGetHdrInfo() 829 int BnxeTxSendMblk(um_device_t * pUM, in BnxeTxSendMblk() 1048 static void BnxeTxPktsAbortIdx(um_device_t * pUM, in BnxeTxPktsAbortIdx() [all …]
|
H A D | bnxe_hw.c | 44 static void BnxeVerifySavedDmaList(um_device_t * pUM) in BnxeVerifySavedDmaList() 74 static boolean_t BnxeRssEnable(um_device_t * pUM) in BnxeRssEnable() 129 static lm_status_t BnxeRssDisable(um_device_t * pUM) in BnxeRssDisable() 153 lm_medium_t BnxeHwReqPhyMediumSettings(um_device_t * pUM) in BnxeHwReqPhyMediumSettings() 575 lm_flow_control_t BnxeHwReqPhyFlowSettings(um_device_t * pUM) in BnxeHwReqPhyFlowSettings() 653 void BnxeUpdatePhy(um_device_t * pUM) in BnxeUpdatePhy() 715 int BnxeMacAddress(um_device_t * pUM, in BnxeMacAddress() 770 void BnxeMulticastE1(um_device_t * pUM, in BnxeMulticastE1() 810 int BnxeMulticast(um_device_t * pUM, in BnxeMulticast() 966 int BnxeRxMask(um_device_t * pUM, in BnxeRxMask() [all …]
|
H A D | bnxe_kstat.c | 570 um_device_t * pUM = (um_device_t *)kstats->ks_private; in BnxeKstatUpdate() 654 um_device_t * pUM = (um_device_t *)kstats->ks_private; in BnxeKstatLinkUpdate() 687 um_device_t * pUM = (um_device_t *)kstats->ks_private; in BnxeKstatIntrUpdate() 781 um_device_t * pUM = (um_device_t *)kstats->ks_private; in BnxeKstatL2ChipUpdate() 874 um_device_t * pUM = (um_device_t *)kstats->ks_private; in BnxeKstatL2DriverUpdate() 907 um_device_t * pUM = (um_device_t *)kstats->ks_private; in BnxeKstatL2StatsUpdate() 963 um_device_t * pUM = (um_device_t *)kstats->ks_private; in BnxeKstatFcoeUpdate() 1104 um_device_t * pUM = (um_device_t *)kstats->ks_private; in BnxeKstatDcbxUpdate() 1567 um_device_t * pUM = (um_device_t *)pMap->pUM; in BnxeKstatRxRingUpdate() 1637 um_device_t * pUM = (um_device_t *)pMap->pUM; in BnxeKstatTxRingUpdate() [all …]
|
H A D | bnxe_cfg.c | 59 static void BnxeCfgGetVal(um_device_t * pUM, in BnxeCfgGetVal() 100 void BnxeCfg_LLDP_DCBX(um_device_t * pUM) in BnxeCfg_LLDP_DCBX() 308 void BnxeCfgInit(um_device_t * pUM) in BnxeCfgInit() 651 void BnxeCfgReset(um_device_t * pUM) in BnxeCfgReset()
|
H A D | bnxe_rr.c | 41 int BnxeRouteTxRing(um_device_t * pUM, in BnxeRouteTxRing()
|