/titanic_41/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_fcoe.c | 38 #define VERIFY_FCOE_BINDING(pUM) \ argument 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() [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_main.c | 68 um_device_t * pUM = (um_device_t *)pDev; in BnxeInstance() local 76 um_device_t * pUM = (um_device_t *)pDev; in BnxeDevName() local 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_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() local 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_gld.c | 114 um_device_t * pUM = (um_device_t *)pArg; in BnxeMacStats() local 515 um_device_t * pUM = (um_device_t *)pArg; in BnxeMacStart() local 553 um_device_t * pUM = (um_device_t *)pArg; in BnxeMacStop() local 578 um_device_t * pUM = (um_device_t *)pArg; in BnxeMacPromiscuous() local 626 um_device_t * pUM = (um_device_t *)pArg; in BnxeMacMulticast() local 659 um_device_t * pUM = (um_device_t *)pRxQGroup->pUM; in BnxeRxRingGroupAddMac() local 715 um_device_t * pUM = (um_device_t *)pRxQGroup->pUM; in BnxeRxRingGroupRemMac() local 765 um_device_t * pUM = (um_device_t *)pTxQ->pUM; in BnxeTxRingSend() local 803 um_device_t * pUM = (um_device_t *)pArg; in BnxeMacUnicast() local 846 um_device_t * pUM = (um_device_t *)pArg; in BnxeMacTx() local [all …]
|
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() local 694 um_device_t * pUM = (um_device_t *)arg1; in BnxeIntrMISR() local 800 static boolean_t BnxeIntrBlockAlloc(um_device_t * pUM, in BnxeIntrBlockAlloc() [all …]
|
H A D | bnxe_workq.c | 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() local 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() 262 boolean_t BnxeWorkQueueAddNoCopy(um_device_t * pUM, in BnxeWorkQueueAddNoCopy() 300 boolean_t BnxeWorkQueueAddGeneric(um_device_t * pUM, in BnxeWorkQueueAddGeneric() 337 boolean_t BnxeWorkQueueAddDelay(um_device_t * pUM, in BnxeWorkQueueAddDelay() 380 boolean_t BnxeWorkQueueAddDelayNoCopy(um_device_t * pUM, in BnxeWorkQueueAddDelayNoCopy() [all …]
|
H A D | bnxe_debug.c | 47 um_device_t * pUM = (um_device_t *)pDev; in DbgMessageFunc() local 73 um_device_t * pUM = (um_device_t *)bp; in elink_cb_dbg() local 90 um_device_t * pUM = (um_device_t *)bp; in elink_cb_dbg1() local 107 um_device_t * pUM = (um_device_t *)bp; in elink_cb_dbg2() local 124 um_device_t * pUM = (um_device_t *)bp; in elink_cb_dbg3() local 143 um_device_t * pUM = (um_device_t *)pDev; in BnxeLogInfo() local 172 um_device_t * pUM = (um_device_t *)pDev; in BnxeLogWarn() local 195 um_device_t * pUM = (um_device_t *)pDev; in BnxeLogDbg() local 215 void BnxeDumpMem(um_device_t * pUM, in BnxeDumpMem() 253 void BnxeDumpPkt(um_device_t * pUM, in BnxeDumpPkt()
|
H A D | bnxe_tx.c | 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() 1063 void BnxeTxPktsAbort(um_device_t * pUM, in BnxeTxPktsAbort() [all …]
|
H A D | bnxe_timer.c | 46 um_device_t * pUM = (um_device_t *)pArg; in BnxeTimer() local 79 void BnxeTimerStart(um_device_t * pUM) in BnxeTimerStart() 90 void BnxeTimerStop(um_device_t * pUM) in BnxeTimerStop()
|
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.h | 363 void * pUM; /* backpointer to um_device_t */ member 400 void * pUM; /* backpointer to um_device_t for free routine */ member 412 void * pUM; /* backpointer to um_device_t */ member 439 void * pUM; /* backpointer to um_device_t */ member 448 void * pUM; /* reference back to um_device_t */ member 515 void * pUM; member 542 #define CLIENT_DEVI(pUM, client) \ argument 545 #define CLIENT_HW(pUM, client) \ argument 548 #define CLIENT_BOUND(pUM, client) \ argument 553 #define CLIENT_DEVI_SET(pUM, client) \ argument [all …]
|
H A D | bnxe_mm.c | 111 um_device_t * pUM = (um_device_t *)pDev; in mm_read_pci() local 123 um_device_t * pUM = (um_device_t *)pDev; in mm_write_pci() local 131 void BnxeInitBdCnts(um_device_t * pUM, in BnxeInitBdCnts() 160 um_device_t * pUM = (um_device_t *)pLM; in mm_get_user_config() local 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() local 414 um_device_t * pUM = (um_device_t *)pLM; in mm_map_io_space_solaris() local 470 um_device_t * pUM = (um_device_t *)pLM; in mm_unmap_io_space() local 501 um_device_t * pUM = (um_device_t *)pLM; in mm_alloc_mem_imp() local 567 um_device_t * pUM = (um_device_t *)pLM; in mm_alloc_phys_mem_align_imp() local [all …]
|
H A D | bnxe_rr.c | 41 int BnxeRouteTxRing(um_device_t * pUM, in BnxeRouteTxRing()
|
H A D | bnxe_kstat.c | 570 um_device_t * pUM = (um_device_t *)kstats->ks_private; in BnxeKstatUpdate() local 654 um_device_t * pUM = (um_device_t *)kstats->ks_private; in BnxeKstatLinkUpdate() local 687 um_device_t * pUM = (um_device_t *)kstats->ks_private; in BnxeKstatIntrUpdate() local 781 um_device_t * pUM = (um_device_t *)kstats->ks_private; in BnxeKstatL2ChipUpdate() local 874 um_device_t * pUM = (um_device_t *)kstats->ks_private; in BnxeKstatL2DriverUpdate() local 907 um_device_t * pUM = (um_device_t *)kstats->ks_private; in BnxeKstatL2StatsUpdate() local 963 um_device_t * pUM = (um_device_t *)kstats->ks_private; in BnxeKstatFcoeUpdate() local 1104 um_device_t * pUM = (um_device_t *)kstats->ks_private; in BnxeKstatDcbxUpdate() local 1567 um_device_t * pUM = (um_device_t *)pMap->pUM; in BnxeKstatRxRingUpdate() local 1637 um_device_t * pUM = (um_device_t *)pMap->pUM; in BnxeKstatTxRingUpdate() local [all …]
|