Searched refs:PackInfo (Results 1 – 12 of 12) sorted by relevance
/linux-3.4.99/drivers/staging/bcm/ |
D | LeakyBucket.c | 34 if(TRUE == Adapter->PackInfo[i].bValid && in UpdateTokenCount() 35 (1 == Adapter->PackInfo[i].ucDirection)) in UpdateTokenCount() 38 Adapter->PackInfo[i].stLastUpdateTokenAt.tv_sec)*1000 + in UpdateTokenCount() 39 (tv.tv_usec-Adapter->PackInfo[i].stLastUpdateTokenAt.tv_usec)/ in UpdateTokenCount() 43 Adapter->PackInfo[i].uiCurrentTokenCount += (ULONG) in UpdateTokenCount() 44 ((Adapter->PackInfo[i].uiMaxAllowedRate) * in UpdateTokenCount() 46 memcpy(&Adapter->PackInfo[i].stLastUpdateTokenAt, in UpdateTokenCount() 48 Adapter->PackInfo[i].liLastUpdateTokenAt = liCurrentTime; in UpdateTokenCount() 49 if((Adapter->PackInfo[i].uiCurrentTokenCount) >= in UpdateTokenCount() 50 Adapter->PackInfo[i].uiMaxBucketSize) in UpdateTokenCount() [all …]
|
D | Misc.c | 14 Adapter->PackInfo[uiLoopIndex].uiThreshold = TX_PACKET_THRESHOLD; in default_wimax_protocol_initialize() 15 Adapter->PackInfo[uiLoopIndex].uiMaxAllowedRate = MAX_ALLOWED_RATE; in default_wimax_protocol_initialize() 16 Adapter->PackInfo[uiLoopIndex].uiMaxBucketSize = 20*1024*1024; in default_wimax_protocol_initialize() 47 spin_lock_init(&psAdapter->PackInfo[i].SFQueueLock); in InitAdapter() 381 spin_lock_bh(&Adapter->PackInfo[HiPriority].SFQueueLock); in CopyBufferToControlPacket() 382 Adapter->PackInfo[HiPriority].uiCurrentBytesOnHost += pLeader->PLength; in CopyBufferToControlPacket() 383 Adapter->PackInfo[HiPriority].uiCurrentPacketsOnHost++; in CopyBufferToControlPacket() 385 spin_unlock_bh(&Adapter->PackInfo[HiPriority].SFQueueLock); in CopyBufferToControlPacket() 386 Adapter->PackInfo[HiPriority].bValid = TRUE; in CopyBufferToControlPacket() 389 Adapter->PackInfo[HiPriority].uiCurrentBytesOnHost, in CopyBufferToControlPacket() [all …]
|
D | CmHost.c | 36 if (Adapter->PackInfo[i].ulSFID == uiSfid) in SearchSfid() 57 if (Adapter->PackInfo[i].ulSFID == 0) in SearchFreeSfid() 111 memset((PVOID)&Adapter->PackInfo[uiSearchRuleIndex], 0, sizeof(S_MIBS_SERVICEFLOW_TABLE)); in deleteSFBySfid() 247 if (Adapter->PackInfo[uiSearchRuleIndex].usVCID_Value == 0 || in CopyClassifierRuleToSF() 260 …pstClassifierEntry->bIpv6Protocol = (Adapter->PackInfo[uiSearchRuleIndex].ucIpVersion == IPV6) ? T… in CopyClassifierRuleToSF() 304 (Adapter->PackInfo[uiSearchRuleIndex].ucIpVersion == IPV6) ? in CopyClassifierRuleToSF() 313 (Adapter->PackInfo[uiSearchRuleIndex].ucIpVersion == IPV6) ? TRUE : FALSE, in CopyClassifierRuleToSF() 336 pstClassifierEntry->ucDirection = Adapter->PackInfo[uiSearchRuleIndex].ucDirection; in CopyClassifierRuleToSF() 338 pstClassifierEntry->usVCID_Value = Adapter->PackInfo[uiSearchRuleIndex].usVCID_Value; in CopyClassifierRuleToSF() 339 pstClassifierEntry->ulSFID = Adapter->PackInfo[uiSearchRuleIndex].ulSFID; in CopyClassifierRuleToSF() [all …]
|
D | Qos.c | 293 if(FALSE == Adapter->PackInfo[iMatchedSFQueueIndex].bActive) in IpVersion4() 311 if(!Adapter->PackInfo[iIndex].bValid) in PruneQueueAllSF() 342 spin_lock_bh(&Adapter->PackInfo[iIndex].SFQueueLock); in PruneQueue() 349 Adapter->PackInfo[iIndex].uiCurrentBytesOnHost, in PruneQueue() 350 Adapter->PackInfo[iIndex].uiMaxBucketSize); in PruneQueue() 352 PacketToDrop = Adapter->PackInfo[iIndex].FirstTxQueue; in PruneQueue() 356 if((Adapter->PackInfo[iIndex].uiCurrentPacketsOnHost < SF_MAX_ALLOWED_PACKETS_TO_BACKUP) && in PruneQueue() 357 …((B_UINT32 *)(PacketToDrop->cb)+SKB_CB_LATENCY_OFFSET))/HZ) <= Adapter->PackInfo[iIndex].uiMaxLate… in PruneQueue() 368 DEQUEUEPACKET(Adapter->PackInfo[iIndex].FirstTxQueue, in PruneQueue() 369 Adapter->PackInfo[iIndex].LastTxQueue); in PruneQueue() [all …]
|
D | Transmit.c | 104 bHeaderSupressionEnabled = Adapter->PackInfo[QueueIndex].bHeaderSuppressionEnabled in SetupNextSend() 114 (UINT *)&Packet->len, Adapter->PackInfo[QueueIndex].bEthCSSupport); in SetupNextSend() 129 if(Adapter->PackInfo[QueueIndex].bEthCSSupport) in SetupNextSend() 161 Adapter->PackInfo[QueueIndex].uiTotalTxBytes += Leader.PLength; in SetupNextSend() 166 Adapter->PackInfo[QueueIndex].uiCurrentTokenCount -= Leader.PLength << 3; in SetupNextSend() 167 Adapter->PackInfo[QueueIndex].uiSentBytes += (Packet->len); in SetupNextSend() 168 Adapter->PackInfo[QueueIndex].uiSentPackets++; in SetupNextSend() 169 Adapter->PackInfo[QueueIndex].NumOfPacketsSent++; in SetupNextSend() 171 atomic_dec(&Adapter->PackInfo[QueueIndex].uiPerSFTxResourceCount); in SetupNextSend() 172 Adapter->PackInfo[QueueIndex].uiThisPeriodSentBytes += Leader.PLength; in SetupNextSend()
|
D | Bcmnet.c | 75 if (Adapter->PackInfo[qindex].uiCurrentPacketsOnHost >= in bcm_transmit() 84 spin_lock(&Adapter->PackInfo[qindex].SFQueueLock); in bcm_transmit() 85 Adapter->PackInfo[qindex].uiCurrentBytesOnHost += skb->len; in bcm_transmit() 86 Adapter->PackInfo[qindex].uiCurrentPacketsOnHost++; in bcm_transmit() 89 ENQUEUEPACKET(Adapter->PackInfo[qindex].FirstTxQueue, in bcm_transmit() 90 Adapter->PackInfo[qindex].LastTxQueue, skb); in bcm_transmit() 92 spin_unlock(&Adapter->PackInfo[qindex].SFQueueLock); in bcm_transmit()
|
D | hostmibs.c | 39 if (Adapter->PackInfo[nSfIndex].bValid) { in ProcessGetHostMibs() 41 (PVOID) & Adapter->PackInfo[nSfIndex], in ProcessGetHostMibs() 55 Adapter->PackInfo[nSfIndex]. in ProcessGetHostMibs() 69 ulSFID = Adapter->PackInfo[nSfIndex].ulSFID; in ProcessGetHostMibs() 106 …S_MIBS_EXTSERVICEFLOW_PARAMETERS *t = &Adapter->PackInfo[uiSearchRuleIndex].stMibsExtServiceFlowTa… in CopyMIBSExtendedSFParameters()
|
D | InterfaceRx.c | 8 if(Adapter->PackInfo[iIndex].usVCID_Value == usVcid) in SearchVcid() 110 Adapter->PackInfo[QueueIndex].bHeaderSuppressionEnabled; in read_bulk_callback() 152 Adapter->PackInfo[QueueIndex].uiTotalRxBytes+=pLeader->PLength; in read_bulk_callback() 153 Adapter->PackInfo[QueueIndex].uiThisPeriodRxBytes+= pLeader->PLength; in read_bulk_callback() 163 if(!Adapter->PackInfo[QueueIndex].bEthCSSupport) in read_bulk_callback()
|
D | sort.c | 30 sort(Adapter->PackInfo, NO_OF_QUEUES, sizeof(PacketInfo), in SortPackInfo()
|
D | IPv6Protocol.c | 253 if(FALSE == Adapter->PackInfo[iMatchedSFQueueIndex].bActive) in IpVersion6()
|
D | Adapter.h | 419 PacketInfo PackInfo[NO_OF_QUEUES]; member
|
D | Bcmchar.c | 958 if (get_user(Adapter->PackInfo[uiLoopIndex].uiThreshold, in bcm_char_ioctl() 974 if (copy_to_user(argp, &Adapter->PackInfo, sizeof(PacketInfo)*NO_OF_QUEUES)) in bcm_char_ioctl()
|