Lines Matching refs:p_common
315 struct qede_stats_common *p_common = &edev->stats.common; in qede_fill_by_demand_stats() local
322 p_common->no_buff_discards = stats.common.no_buff_discards; in qede_fill_by_demand_stats()
323 p_common->packet_too_big_discard = stats.common.packet_too_big_discard; in qede_fill_by_demand_stats()
324 p_common->ttl0_discard = stats.common.ttl0_discard; in qede_fill_by_demand_stats()
325 p_common->rx_ucast_bytes = stats.common.rx_ucast_bytes; in qede_fill_by_demand_stats()
326 p_common->rx_mcast_bytes = stats.common.rx_mcast_bytes; in qede_fill_by_demand_stats()
327 p_common->rx_bcast_bytes = stats.common.rx_bcast_bytes; in qede_fill_by_demand_stats()
328 p_common->rx_ucast_pkts = stats.common.rx_ucast_pkts; in qede_fill_by_demand_stats()
329 p_common->rx_mcast_pkts = stats.common.rx_mcast_pkts; in qede_fill_by_demand_stats()
330 p_common->rx_bcast_pkts = stats.common.rx_bcast_pkts; in qede_fill_by_demand_stats()
331 p_common->mftag_filter_discards = stats.common.mftag_filter_discards; in qede_fill_by_demand_stats()
332 p_common->mac_filter_discards = stats.common.mac_filter_discards; in qede_fill_by_demand_stats()
333 p_common->gft_filter_drop = stats.common.gft_filter_drop; in qede_fill_by_demand_stats()
335 p_common->tx_ucast_bytes = stats.common.tx_ucast_bytes; in qede_fill_by_demand_stats()
336 p_common->tx_mcast_bytes = stats.common.tx_mcast_bytes; in qede_fill_by_demand_stats()
337 p_common->tx_bcast_bytes = stats.common.tx_bcast_bytes; in qede_fill_by_demand_stats()
338 p_common->tx_ucast_pkts = stats.common.tx_ucast_pkts; in qede_fill_by_demand_stats()
339 p_common->tx_mcast_pkts = stats.common.tx_mcast_pkts; in qede_fill_by_demand_stats()
340 p_common->tx_bcast_pkts = stats.common.tx_bcast_pkts; in qede_fill_by_demand_stats()
341 p_common->tx_err_drop_pkts = stats.common.tx_err_drop_pkts; in qede_fill_by_demand_stats()
342 p_common->coalesced_pkts = stats.common.tpa_coalesced_pkts; in qede_fill_by_demand_stats()
343 p_common->coalesced_events = stats.common.tpa_coalesced_events; in qede_fill_by_demand_stats()
344 p_common->coalesced_aborts_num = stats.common.tpa_aborts_num; in qede_fill_by_demand_stats()
345 p_common->non_coalesced_pkts = stats.common.tpa_not_coalesced_pkts; in qede_fill_by_demand_stats()
346 p_common->coalesced_bytes = stats.common.tpa_coalesced_bytes; in qede_fill_by_demand_stats()
348 p_common->rx_64_byte_packets = stats.common.rx_64_byte_packets; in qede_fill_by_demand_stats()
349 p_common->rx_65_to_127_byte_packets = in qede_fill_by_demand_stats()
351 p_common->rx_128_to_255_byte_packets = in qede_fill_by_demand_stats()
353 p_common->rx_256_to_511_byte_packets = in qede_fill_by_demand_stats()
355 p_common->rx_512_to_1023_byte_packets = in qede_fill_by_demand_stats()
357 p_common->rx_1024_to_1518_byte_packets = in qede_fill_by_demand_stats()
359 p_common->rx_crc_errors = stats.common.rx_crc_errors; in qede_fill_by_demand_stats()
360 p_common->rx_mac_crtl_frames = stats.common.rx_mac_crtl_frames; in qede_fill_by_demand_stats()
361 p_common->rx_pause_frames = stats.common.rx_pause_frames; in qede_fill_by_demand_stats()
362 p_common->rx_pfc_frames = stats.common.rx_pfc_frames; in qede_fill_by_demand_stats()
363 p_common->rx_align_errors = stats.common.rx_align_errors; in qede_fill_by_demand_stats()
364 p_common->rx_carrier_errors = stats.common.rx_carrier_errors; in qede_fill_by_demand_stats()
365 p_common->rx_oversize_packets = stats.common.rx_oversize_packets; in qede_fill_by_demand_stats()
366 p_common->rx_jabbers = stats.common.rx_jabbers; in qede_fill_by_demand_stats()
367 p_common->rx_undersize_packets = stats.common.rx_undersize_packets; in qede_fill_by_demand_stats()
368 p_common->rx_fragments = stats.common.rx_fragments; in qede_fill_by_demand_stats()
369 p_common->tx_64_byte_packets = stats.common.tx_64_byte_packets; in qede_fill_by_demand_stats()
370 p_common->tx_65_to_127_byte_packets = in qede_fill_by_demand_stats()
372 p_common->tx_128_to_255_byte_packets = in qede_fill_by_demand_stats()
374 p_common->tx_256_to_511_byte_packets = in qede_fill_by_demand_stats()
376 p_common->tx_512_to_1023_byte_packets = in qede_fill_by_demand_stats()
378 p_common->tx_1024_to_1518_byte_packets = in qede_fill_by_demand_stats()
380 p_common->tx_pause_frames = stats.common.tx_pause_frames; in qede_fill_by_demand_stats()
381 p_common->tx_pfc_frames = stats.common.tx_pfc_frames; in qede_fill_by_demand_stats()
382 p_common->brb_truncates = stats.common.brb_truncates; in qede_fill_by_demand_stats()
383 p_common->brb_discards = stats.common.brb_discards; in qede_fill_by_demand_stats()
384 p_common->tx_mac_ctrl_frames = stats.common.tx_mac_ctrl_frames; in qede_fill_by_demand_stats()
385 p_common->link_change_count = stats.common.link_change_count; in qede_fill_by_demand_stats()
386 p_common->ptp_skip_txts = edev->ptp_skip_txts; in qede_fill_by_demand_stats()
427 struct qede_stats_common *p_common; in qede_get_stats64() local
429 p_common = &edev->stats.common; in qede_get_stats64()
433 stats->rx_packets = p_common->rx_ucast_pkts + p_common->rx_mcast_pkts + in qede_get_stats64()
434 p_common->rx_bcast_pkts; in qede_get_stats64()
435 stats->tx_packets = p_common->tx_ucast_pkts + p_common->tx_mcast_pkts + in qede_get_stats64()
436 p_common->tx_bcast_pkts; in qede_get_stats64()
438 stats->rx_bytes = p_common->rx_ucast_bytes + p_common->rx_mcast_bytes + in qede_get_stats64()
439 p_common->rx_bcast_bytes; in qede_get_stats64()
440 stats->tx_bytes = p_common->tx_ucast_bytes + p_common->tx_mcast_bytes + in qede_get_stats64()
441 p_common->tx_bcast_bytes; in qede_get_stats64()
443 stats->tx_errors = p_common->tx_err_drop_pkts; in qede_get_stats64()
444 stats->multicast = p_common->rx_mcast_pkts + p_common->rx_bcast_pkts; in qede_get_stats64()
446 stats->rx_fifo_errors = p_common->no_buff_discards; in qede_get_stats64()
450 stats->rx_crc_errors = p_common->rx_crc_errors; in qede_get_stats64()
451 stats->rx_frame_errors = p_common->rx_align_errors; in qede_get_stats64()