Lines Matching refs:p_common

306 	struct qede_stats_common *p_common = &edev->stats.common;  in qede_fill_by_demand_stats()  local
311 p_common->no_buff_discards = stats.common.no_buff_discards; in qede_fill_by_demand_stats()
312 p_common->packet_too_big_discard = stats.common.packet_too_big_discard; in qede_fill_by_demand_stats()
313 p_common->ttl0_discard = stats.common.ttl0_discard; in qede_fill_by_demand_stats()
314 p_common->rx_ucast_bytes = stats.common.rx_ucast_bytes; in qede_fill_by_demand_stats()
315 p_common->rx_mcast_bytes = stats.common.rx_mcast_bytes; in qede_fill_by_demand_stats()
316 p_common->rx_bcast_bytes = stats.common.rx_bcast_bytes; in qede_fill_by_demand_stats()
317 p_common->rx_ucast_pkts = stats.common.rx_ucast_pkts; in qede_fill_by_demand_stats()
318 p_common->rx_mcast_pkts = stats.common.rx_mcast_pkts; in qede_fill_by_demand_stats()
319 p_common->rx_bcast_pkts = stats.common.rx_bcast_pkts; in qede_fill_by_demand_stats()
320 p_common->mftag_filter_discards = stats.common.mftag_filter_discards; in qede_fill_by_demand_stats()
321 p_common->mac_filter_discards = stats.common.mac_filter_discards; in qede_fill_by_demand_stats()
322 p_common->gft_filter_drop = stats.common.gft_filter_drop; in qede_fill_by_demand_stats()
324 p_common->tx_ucast_bytes = stats.common.tx_ucast_bytes; in qede_fill_by_demand_stats()
325 p_common->tx_mcast_bytes = stats.common.tx_mcast_bytes; in qede_fill_by_demand_stats()
326 p_common->tx_bcast_bytes = stats.common.tx_bcast_bytes; in qede_fill_by_demand_stats()
327 p_common->tx_ucast_pkts = stats.common.tx_ucast_pkts; in qede_fill_by_demand_stats()
328 p_common->tx_mcast_pkts = stats.common.tx_mcast_pkts; in qede_fill_by_demand_stats()
329 p_common->tx_bcast_pkts = stats.common.tx_bcast_pkts; in qede_fill_by_demand_stats()
330 p_common->tx_err_drop_pkts = stats.common.tx_err_drop_pkts; in qede_fill_by_demand_stats()
331 p_common->coalesced_pkts = stats.common.tpa_coalesced_pkts; in qede_fill_by_demand_stats()
332 p_common->coalesced_events = stats.common.tpa_coalesced_events; in qede_fill_by_demand_stats()
333 p_common->coalesced_aborts_num = stats.common.tpa_aborts_num; in qede_fill_by_demand_stats()
334 p_common->non_coalesced_pkts = stats.common.tpa_not_coalesced_pkts; in qede_fill_by_demand_stats()
335 p_common->coalesced_bytes = stats.common.tpa_coalesced_bytes; in qede_fill_by_demand_stats()
337 p_common->rx_64_byte_packets = stats.common.rx_64_byte_packets; in qede_fill_by_demand_stats()
338 p_common->rx_65_to_127_byte_packets = in qede_fill_by_demand_stats()
340 p_common->rx_128_to_255_byte_packets = in qede_fill_by_demand_stats()
342 p_common->rx_256_to_511_byte_packets = in qede_fill_by_demand_stats()
344 p_common->rx_512_to_1023_byte_packets = in qede_fill_by_demand_stats()
346 p_common->rx_1024_to_1518_byte_packets = in qede_fill_by_demand_stats()
348 p_common->rx_crc_errors = stats.common.rx_crc_errors; in qede_fill_by_demand_stats()
349 p_common->rx_mac_crtl_frames = stats.common.rx_mac_crtl_frames; in qede_fill_by_demand_stats()
350 p_common->rx_pause_frames = stats.common.rx_pause_frames; in qede_fill_by_demand_stats()
351 p_common->rx_pfc_frames = stats.common.rx_pfc_frames; in qede_fill_by_demand_stats()
352 p_common->rx_align_errors = stats.common.rx_align_errors; in qede_fill_by_demand_stats()
353 p_common->rx_carrier_errors = stats.common.rx_carrier_errors; in qede_fill_by_demand_stats()
354 p_common->rx_oversize_packets = stats.common.rx_oversize_packets; in qede_fill_by_demand_stats()
355 p_common->rx_jabbers = stats.common.rx_jabbers; in qede_fill_by_demand_stats()
356 p_common->rx_undersize_packets = stats.common.rx_undersize_packets; in qede_fill_by_demand_stats()
357 p_common->rx_fragments = stats.common.rx_fragments; in qede_fill_by_demand_stats()
358 p_common->tx_64_byte_packets = stats.common.tx_64_byte_packets; in qede_fill_by_demand_stats()
359 p_common->tx_65_to_127_byte_packets = in qede_fill_by_demand_stats()
361 p_common->tx_128_to_255_byte_packets = in qede_fill_by_demand_stats()
363 p_common->tx_256_to_511_byte_packets = in qede_fill_by_demand_stats()
365 p_common->tx_512_to_1023_byte_packets = in qede_fill_by_demand_stats()
367 p_common->tx_1024_to_1518_byte_packets = in qede_fill_by_demand_stats()
369 p_common->tx_pause_frames = stats.common.tx_pause_frames; in qede_fill_by_demand_stats()
370 p_common->tx_pfc_frames = stats.common.tx_pfc_frames; in qede_fill_by_demand_stats()
371 p_common->brb_truncates = stats.common.brb_truncates; in qede_fill_by_demand_stats()
372 p_common->brb_discards = stats.common.brb_discards; in qede_fill_by_demand_stats()
373 p_common->tx_mac_ctrl_frames = stats.common.tx_mac_ctrl_frames; in qede_fill_by_demand_stats()
374 p_common->link_change_count = stats.common.link_change_count; in qede_fill_by_demand_stats()
375 p_common->ptp_skip_txts = edev->ptp_skip_txts; in qede_fill_by_demand_stats()
414 struct qede_stats_common *p_common; in qede_get_stats64() local
417 p_common = &edev->stats.common; in qede_get_stats64()
419 stats->rx_packets = p_common->rx_ucast_pkts + p_common->rx_mcast_pkts + in qede_get_stats64()
420 p_common->rx_bcast_pkts; in qede_get_stats64()
421 stats->tx_packets = p_common->tx_ucast_pkts + p_common->tx_mcast_pkts + in qede_get_stats64()
422 p_common->tx_bcast_pkts; in qede_get_stats64()
424 stats->rx_bytes = p_common->rx_ucast_bytes + p_common->rx_mcast_bytes + in qede_get_stats64()
425 p_common->rx_bcast_bytes; in qede_get_stats64()
426 stats->tx_bytes = p_common->tx_ucast_bytes + p_common->tx_mcast_bytes + in qede_get_stats64()
427 p_common->tx_bcast_bytes; in qede_get_stats64()
429 stats->tx_errors = p_common->tx_err_drop_pkts; in qede_get_stats64()
430 stats->multicast = p_common->rx_mcast_pkts + p_common->rx_bcast_pkts; in qede_get_stats64()
432 stats->rx_fifo_errors = p_common->no_buff_discards; in qede_get_stats64()
436 stats->rx_crc_errors = p_common->rx_crc_errors; in qede_get_stats64()
437 stats->rx_frame_errors = p_common->rx_align_errors; in qede_get_stats64()