Searched refs:pstx_fb (Results 1 – 2 of 2) sorted by relevance
80 static void cmpk_count_txstatistic(struct net_device *dev, cmpk_txfb_t *pstx_fb) in cmpk_count_txstatistic() argument103 if (pstx_fb->tok) { in cmpk_count_txstatistic()106 priv->stats.txokbytestotal += pstx_fb->pkt_length; in cmpk_count_txstatistic()110 if (pstx_fb->pkt_type == PACKET_MULTICAST) { in cmpk_count_txstatistic()112 priv->stats.txbytesmulticast += pstx_fb->pkt_length; in cmpk_count_txstatistic()113 } else if (pstx_fb->pkt_type == PACKET_BROADCAST) { in cmpk_count_txstatistic()115 priv->stats.txbytesbroadcast += pstx_fb->pkt_length; in cmpk_count_txstatistic()118 priv->stats.txbytesunicast += pstx_fb->pkt_length; in cmpk_count_txstatistic()123 priv->stats.txerrbytestotal += pstx_fb->pkt_length; in cmpk_count_txstatistic()126 if (pstx_fb->pkt_type == PACKET_MULTICAST) in cmpk_count_txstatistic()[all …]
95 struct cmpk_txfb *pstx_fb) in cmpk_count_txstatistic() argument108 if (pstx_fb->tok) { in cmpk_count_txstatistic()111 priv->stats.txokbytestotal += pstx_fb->pkt_length; in cmpk_count_txstatistic()114 if (pstx_fb->pkt_type == PACKET_MULTICAST) { in cmpk_count_txstatistic()116 priv->stats.txbytesmulticast += pstx_fb->pkt_length; in cmpk_count_txstatistic()117 } else if (pstx_fb->pkt_type == PACKET_BROADCAST) { in cmpk_count_txstatistic()119 priv->stats.txbytesbroadcast += pstx_fb->pkt_length; in cmpk_count_txstatistic()122 priv->stats.txbytesunicast += pstx_fb->pkt_length; in cmpk_count_txstatistic()127 priv->stats.txerrbytestotal += pstx_fb->pkt_length; in cmpk_count_txstatistic()129 if (pstx_fb->pkt_type == PACKET_MULTICAST) in cmpk_count_txstatistic()[all …]