| /drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | fs_counters.c | 82 u64 packets = MLX5_GET64(traffic_counter, stats, packets); in update_counter_cache() local 85 if (cache->packets == packets) in update_counter_cache() 88 cache->packets = packets; in update_counter_cache() 271 counter->lastpackets = counter->cache.packets; in mlx5_fc_create() 361 u64 *packets, u64 *bytes) in mlx5_fc_query() argument 363 return mlx5_cmd_fc_query(dev, counter->id, packets, bytes); in mlx5_fc_query() 373 u64 *bytes, u64 *packets, u64 *lastuse) in mlx5_fc_query_cached() argument 380 *packets = c.packets - counter->lastpackets; in mlx5_fc_query_cached() 384 counter->lastpackets = c.packets; in mlx5_fc_query_cached() 388 u64 *bytes, u64 *packets, u64 *lastuse) in mlx5_fc_query_cached_raw() argument [all …]
|
| A D | en_rep.c | 226 MLX5_GET_CTR(out, transmitted_ib_unicast.packets) + in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 227 MLX5_GET_CTR(out, transmitted_eth_unicast.packets) + in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 233 MLX5_GET_CTR(out, received_ib_unicast.packets) + in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 234 MLX5_GET_CTR(out, received_eth_unicast.packets) + in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 235 MLX5_GET_CTR(out, received_ib_multicast.packets) + in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 236 MLX5_GET_CTR(out, received_eth_multicast.packets) + in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 237 MLX5_GET_CTR(out, received_eth_broadcast.packets); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 253 MLX5_GET_CTR(out, transmitted_ib_unicast.packets); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 255 MLX5_GET_CTR(out, received_ib_unicast.packets); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 263 MLX5_GET_CTR(out, received_ib_multicast.packets); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() [all …]
|
| /drivers/net/ |
| A D | loopback.c | 96 void dev_lstats_read(struct net_device *dev, u64 *packets, u64 *bytes) in dev_lstats_read() argument 100 *packets = 0; in dev_lstats_read() 111 tpackets = u64_stats_read(&lb_stats->packets); in dev_lstats_read() 115 *packets += tpackets; in dev_lstats_read() 123 u64 packets, bytes; in loopback_get_stats64() local 125 dev_lstats_read(dev, &packets, &bytes); in loopback_get_stats64() 127 stats->rx_packets = packets; in loopback_get_stats64() 128 stats->tx_packets = packets; in loopback_get_stats64()
|
| A D | ifb.c | 42 u64 packets; member 71 { "packets", IFB_Q_STAT(packets) }, 84 stats->packets++; in ifb_update_q_stats() 160 u64 packets, bytes; in ifb_stats64() local 166 packets = txp->rx_stats.packets; in ifb_stats64() 169 stats->rx_packets += packets; in ifb_stats64() 174 packets = txp->tx_stats.packets; in ifb_stats64() 177 stats->tx_packets += packets; in ifb_stats64()
|
| /drivers/net/ethernet/meta/fbnic/ |
| A D | fbnic_netdev.c | 422 tx_packets = stats->packets; in fbnic_get_stats64() 447 tx_packets = stats->packets; in fbnic_get_stats64() 459 rx_packets = stats->packets; in fbnic_get_stats64() 501 rx_packets = stats->packets; in fbnic_get_stats64() 542 packets = stats->packets; in fbnic_get_queue_stats_rx() 549 rx->packets = packets; in fbnic_get_queue_stats_rx() 572 u64 bytes, packets; in fbnic_get_queue_stats_tx() local 581 packets = stats->packets; in fbnic_get_queue_stats_tx() 589 tx->packets = packets; in fbnic_get_queue_stats_tx() 603 tx->packets = fbn->tx_stats.packets; in fbnic_get_base_stats() [all …]
|
| /drivers/vdpa/mlx5/net/ |
| A D | debug.c | 56 u64 packets; in packets_show() local 60 err = mlx5_fc_query(counter->mdev, counter->counter, &packets, &bytes); in packets_show() 64 seq_printf(file, "0x%llx\n", packets); in packets_show() 71 u64 packets; in bytes_show() local 75 err = mlx5_fc_query(counter->mdev, counter->counter, &packets, &bytes); in bytes_show() 83 DEFINE_SHOW_ATTRIBUTE(packets);
|
| /drivers/net/wireguard/ |
| A D | send.c | 345 struct sk_buff_head packets; in wg_packet_send_staged_packets() local 349 __skb_queue_head_init(&packets); in wg_packet_send_staged_packets() 351 skb_queue_splice_init(&peer->staged_packet_queue, &packets); in wg_packet_send_staged_packets() 353 if (unlikely(skb_queue_empty(&packets))) in wg_packet_send_staged_packets() 374 skb_queue_walk(&packets, skb) { in wg_packet_send_staged_packets() 385 packets.prev->next = NULL; in wg_packet_send_staged_packets() 387 PACKET_CB(packets.next)->keypair = keypair; in wg_packet_send_staged_packets() 388 wg_packet_create_data(peer, packets.next); in wg_packet_send_staged_packets() 399 skb_queue_walk(&packets, skb) in wg_packet_send_staged_packets() 407 skb_queue_splice(&packets, &peer->staged_packet_queue); in wg_packet_send_staged_packets()
|
| /drivers/net/wireless/marvell/mwifiex/ |
| A D | README | 109 num_tx_pkts = <number of packets sent to device> 110 num_rx_pkts = <number of packets received from device and sent to kernel> 111 num_tx_pkts_dropped = <number of Tx packets dropped by driver> 112 num_rx_pkts_dropped = <number of Rx packets dropped by driver> 113 num_tx_pkts_err = <number of Tx packets failed to send to device> 114 num_rx_pkts_err = <number of Rx packets failed to receive from device> 121 wmm_ac_vo = <number of packets sent to device from WMM AcVo queue> 122 wmm_ac_vi = <number of packets sent to device from WMM AcVi queue> 123 wmm_ac_be = <number of packets sent to device from WMM AcBE queue> 124 wmm_ac_bk = <number of packets sent to device from WMM AcBK queue> [all …]
|
| /drivers/media/pci/intel/ipu6/ |
| A D | ipu6-fw-com.c | 342 unsigned int packets; in ipu6_send_get_token() local 352 packets = rd - wr - 1; in ipu6_send_get_token() 354 packets = q->size - (wr - rd + 1); in ipu6_send_get_token() 356 if (!packets) in ipu6_send_get_token() 383 unsigned int packets; in ipu6_recv_get_token() local 394 packets = wr - rd; in ipu6_recv_get_token() 395 if (!packets) in ipu6_recv_get_token()
|
| /drivers/net/ethernet/chelsio/cxgb4/ |
| A D | cxgb4_tc_matchall.c | 396 tc_port_matchall->ingress.packets = 0; in cxgb4_matchall_free_filter() 475 u64 tmp_packets, tmp_bytes, packets = 0, bytes = 0; in cxgb4_tc_matchall_stats() local 495 packets += tmp_packets; in cxgb4_tc_matchall_stats() 499 if (tc_port_matchall->ingress.packets != packets) { in cxgb4_tc_matchall_stats() 502 packets - tc_port_matchall->ingress.packets, in cxgb4_tc_matchall_stats() 506 tc_port_matchall->ingress.packets = packets; in cxgb4_tc_matchall_stats()
|
| A D | cxgb4_tc_flower.c | 1019 u64 packets; in ch_flower_stats_handler() local 1031 &packets, &bytes, in ch_flower_stats_handler() 1037 if (ofld_stats->prev_packet_count != packets) { in ch_flower_stats_handler() 1038 ofld_stats->prev_packet_count = packets; in ch_flower_stats_handler() 1065 u64 packets; in cxgb4_tc_flower_stats() local 1076 &packets, &bytes, in cxgb4_tc_flower_stats() 1083 if (ofld_stats->packet_count != packets) { in cxgb4_tc_flower_stats() 1084 if (ofld_stats->prev_packet_count != packets) in cxgb4_tc_flower_stats() 1087 packets - ofld_stats->packet_count, 0, in cxgb4_tc_flower_stats() 1091 ofld_stats->packet_count = packets; in cxgb4_tc_flower_stats() [all …]
|
| /drivers/net/ethernet/mellanox/mlx4/ |
| A D | en_port.c | 154 unsigned long packets, bytes; in mlx4_en_fold_software_stats() local 160 packets = 0; in mlx4_en_fold_software_stats() 165 packets += READ_ONCE(ring->packets); in mlx4_en_fold_software_stats() 168 dev->stats.rx_packets = packets; in mlx4_en_fold_software_stats() 171 packets = 0; in mlx4_en_fold_software_stats() 176 packets += READ_ONCE(ring->packets); in mlx4_en_fold_software_stats() 179 dev->stats.tx_packets = packets; in mlx4_en_fold_software_stats()
|
| /drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| A D | bridge_debugfs.c | 44 u64 packets, bytes, lastuse; in mlx5_esw_bridge_debugfs_show() local 53 mlx5_fc_query_cached_raw(entry->ingress_counter, &bytes, &packets, &lastuse); in mlx5_esw_bridge_debugfs_show() 55 entry->dev->name, entry->key.addr, entry->key.vid, packets, bytes, lastuse, in mlx5_esw_bridge_debugfs_show()
|
| /drivers/nvmem/ |
| A D | microchip-otpc.c | 41 struct list_head packets; member 65 list_for_each_entry(packet, &otpc->packets, list) { in mchp_otpc_id_to_packet() 199 INIT_LIST_HEAD(&otpc->packets); in mchp_otpc_init_packets_list() 219 list_add_tail(&packet->list, &otpc->packets); in mchp_otpc_init_packets_list()
|
| /drivers/net/ovpn/ |
| A D | stats.c | 17 atomic64_set(&ps->rx.packets, 0); in ovpn_peer_stats_init() 20 atomic64_set(&ps->tx.packets, 0); in ovpn_peer_stats_init()
|
| A D | stats.h | 17 atomic64_t packets; member 32 atomic64_inc(&stat->packets); in ovpn_peer_stats_increment()
|
| /drivers/net/ethernet/mellanox/mlx5/core/diag/ |
| A D | en_tc_tracepoint.h | 63 __field(u64, packets) 68 __entry->packets = f->stats.pkts; 73 __entry->packets, __entry->lastused
|
| /drivers/net/ethernet/marvell/prestera/ |
| A D | prestera_counter.h | 10 u64 packets; member 28 u32 counter_id, u64 *packets, u64 *bytes);
|
| /drivers/net/ethernet/microsoft/mana/ |
| A D | mana_ethtool.c | 193 u64 packets, bytes; in mana_get_ethtool_stats() local 230 packets = rx_stats->packets; in mana_get_ethtool_stats() 237 data[i++] = packets; in mana_get_ethtool_stats() 249 packets = tx_stats->packets; in mana_get_ethtool_stats() 262 data[i++] = packets; in mana_get_ethtool_stats()
|
| /drivers/net/ethernet/intel/iavf/ |
| A D | iavf_txrx.c | 182 int packets; in iavf_detect_recover_hung() local 207 packets = tx_ring->stats.packets & INT_MAX; in iavf_detect_recover_hung() 326 tx_ring->stats.packets += total_packets; in iavf_clean_tx_irq() 508 packets = rc->total_packets; in iavf_update_itr() 517 if (packets && packets < 4 && bytes < 9000 && in iavf_update_itr() 522 } else if (packets < 4) { in iavf_update_itr() 532 } else if (packets > 32) { in iavf_update_itr() 547 if (packets < 56) { in iavf_update_itr() 556 if (packets <= 256) { in iavf_update_itr() 564 if (packets <= 112) in iavf_update_itr() [all …]
|
| /drivers/infiniband/hw/mlx5/ |
| A D | mad.c | 90 cpu_to_be64(MLX5_SUM_CNT(out, transmitted_ib_unicast.packets, in pma_cnt_ext_assign() 91 transmitted_ib_multicast.packets)); in pma_cnt_ext_assign() 93 cpu_to_be64(MLX5_SUM_CNT(out, received_ib_unicast.packets, in pma_cnt_ext_assign() 94 received_ib_multicast.packets)); in pma_cnt_ext_assign() 97 out, transmitted_ib_unicast.packets); in pma_cnt_ext_assign() 100 out, received_ib_unicast.packets); in pma_cnt_ext_assign() 103 out, transmitted_ib_multicast.packets); in pma_cnt_ext_assign() 106 out, received_ib_multicast.packets); in pma_cnt_ext_assign()
|
| /drivers/net/hyperv/ |
| A D | netvsc_drv.c | 888 rx_stats->packets++; in netvsc_recv_callback() 1288 u64 packets, bytes; in netvsc_get_pcpu_stats() local 1294 packets = tx_stats->packets; in netvsc_get_pcpu_stats() 1304 packets = rx_stats->packets; in netvsc_get_pcpu_stats() 1346 packets = tx_stats->packets; in netvsc_get_stats64() 1356 packets = rx_stats->packets; in netvsc_get_stats64() 1481 u64 packets, bytes; in netvsc_get_ethtool_stats() local 1503 packets = tx_stats->packets; in netvsc_get_ethtool_stats() 1507 data[i++] = packets; in netvsc_get_ethtool_stats() 1514 packets = rx_stats->packets; in netvsc_get_ethtool_stats() [all …]
|
| /drivers/net/team/ |
| A D | Kconfig | 22 Basic mode where packets are transmitted always by all suitable ports. 33 Basic mode where port used for transmitting packets is selected in 45 Basic mode where port used for transmitting packets is selected
|
| /drivers/net/ethernet/intel/idpf/ |
| A D | idpf_singleq_txrx.c | 408 first->packets = offload.tso_segs; in idpf_tx_singleq_frame() 409 first->bytes = skb->len + ((first->packets - 1) * offload.tso_hdr_len); in idpf_tx_singleq_frame() 412 first->packets = 1; in idpf_tx_singleq_frame() 511 *cleaned += ss.packets; in idpf_tx_singleq_clean() 514 u64_stats_add(&tx_q->q_stats.packets, ss.packets); in idpf_tx_singleq_clean() 523 __netif_txq_completed_wake(nq, ss.packets, ss.bytes, in idpf_tx_singleq_clean() 1057 u64_stats_add(&rx_q->q_stats.packets, total_rx_pkts); in idpf_rx_singleq_clean()
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
| A D | police.c | 175 u64 bytes, packets, drops, lastuse; in tc_act_police_stats() local 184 mlx5e_tc_meter_get_stats(meter, &bytes, &packets, &drops, &lastuse); in tc_act_police_stats() 185 flow_stats_update(&fl_act->stats, bytes, packets, drops, lastuse, in tc_act_police_stats()
|