p_common 1783 drivers/net/ethernet/qlogic/qed/qed_l2.c struct qed_eth_stats_common *p_common = &p_stats->common; p_common 1794 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->rx_64_byte_packets += port_stats.eth.r64; p_common 1795 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->rx_65_to_127_byte_packets += port_stats.eth.r127; p_common 1796 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->rx_128_to_255_byte_packets += port_stats.eth.r255; p_common 1797 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->rx_256_to_511_byte_packets += port_stats.eth.r511; p_common 1798 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->rx_512_to_1023_byte_packets += port_stats.eth.r1023; p_common 1799 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->rx_1024_to_1518_byte_packets += port_stats.eth.r1518; p_common 1800 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->rx_crc_errors += port_stats.eth.rfcs; p_common 1801 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->rx_mac_crtl_frames += port_stats.eth.rxcf; p_common 1802 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->rx_pause_frames += port_stats.eth.rxpf; p_common 1803 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->rx_pfc_frames += port_stats.eth.rxpp; p_common 1804 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->rx_align_errors += port_stats.eth.raln; p_common 1805 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->rx_carrier_errors += port_stats.eth.rfcr; p_common 1806 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->rx_oversize_packets += port_stats.eth.rovr; p_common 1807 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->rx_jabbers += port_stats.eth.rjbr; p_common 1808 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->rx_undersize_packets += port_stats.eth.rund; p_common 1809 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->rx_fragments += port_stats.eth.rfrg; p_common 1810 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->tx_64_byte_packets += port_stats.eth.t64; p_common 1811 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->tx_65_to_127_byte_packets += port_stats.eth.t127; p_common 1812 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->tx_128_to_255_byte_packets += port_stats.eth.t255; p_common 1813 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->tx_256_to_511_byte_packets += port_stats.eth.t511; p_common 1814 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->tx_512_to_1023_byte_packets += port_stats.eth.t1023; p_common 1815 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->tx_1024_to_1518_byte_packets += port_stats.eth.t1518; p_common 1816 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->tx_pause_frames += port_stats.eth.txpf; p_common 1817 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->tx_pfc_frames += port_stats.eth.txpp; p_common 1818 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->rx_mac_bytes += port_stats.eth.rbyte; p_common 1819 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->rx_mac_uc_packets += port_stats.eth.rxuca; p_common 1820 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->rx_mac_mc_packets += port_stats.eth.rxmca; p_common 1821 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->rx_mac_bc_packets += port_stats.eth.rxbca; p_common 1822 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->rx_mac_frames_ok += port_stats.eth.rxpok; p_common 1823 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->tx_mac_bytes += port_stats.eth.tbyte; p_common 1824 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->tx_mac_uc_packets += port_stats.eth.txuca; p_common 1825 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->tx_mac_mc_packets += port_stats.eth.txmca; p_common 1826 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->tx_mac_bc_packets += port_stats.eth.txbca; p_common 1827 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->tx_mac_ctrl_frames += port_stats.eth.txcf; p_common 1829 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->brb_truncates += port_stats.brb.brb_truncate[j]; p_common 1830 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->brb_discards += port_stats.brb.brb_discard[j]; p_common 1865 drivers/net/ethernet/qlogic/qed/qed_l2.c p_common->link_change_count = qed_rd(p_hwfn, p_ptt, p_common 2743 drivers/net/ethernet/qlogic/qed/qed_main.c struct qed_eth_stats_common *p_common; p_common 2765 drivers/net/ethernet/qlogic/qed/qed_main.c p_common = &stats.common; p_common 2766 drivers/net/ethernet/qlogic/qed/qed_main.c tlv->rx_frames = p_common->rx_ucast_pkts + p_common->rx_mcast_pkts + p_common 2767 drivers/net/ethernet/qlogic/qed/qed_main.c p_common->rx_bcast_pkts; p_common 2769 drivers/net/ethernet/qlogic/qed/qed_main.c tlv->rx_bytes = p_common->rx_ucast_bytes + p_common->rx_mcast_bytes + p_common 2770 drivers/net/ethernet/qlogic/qed/qed_main.c p_common->rx_bcast_bytes; p_common 2772 drivers/net/ethernet/qlogic/qed/qed_main.c tlv->tx_frames = p_common->tx_ucast_pkts + p_common->tx_mcast_pkts + p_common 2773 drivers/net/ethernet/qlogic/qed/qed_main.c p_common->tx_bcast_pkts; p_common 2775 drivers/net/ethernet/qlogic/qed/qed_main.c tlv->tx_bytes = p_common->tx_ucast_bytes + p_common->tx_mcast_bytes + p_common 2776 drivers/net/ethernet/qlogic/qed/qed_main.c p_common->tx_bcast_bytes; p_common 324 drivers/net/ethernet/qlogic/qede/qede_main.c struct qede_stats_common *p_common = &edev->stats.common; p_common 329 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->no_buff_discards = stats.common.no_buff_discards; p_common 330 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->packet_too_big_discard = stats.common.packet_too_big_discard; p_common 331 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->ttl0_discard = stats.common.ttl0_discard; p_common 332 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_ucast_bytes = stats.common.rx_ucast_bytes; p_common 333 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_mcast_bytes = stats.common.rx_mcast_bytes; p_common 334 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_bcast_bytes = stats.common.rx_bcast_bytes; p_common 335 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_ucast_pkts = stats.common.rx_ucast_pkts; p_common 336 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_mcast_pkts = stats.common.rx_mcast_pkts; p_common 337 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_bcast_pkts = stats.common.rx_bcast_pkts; p_common 338 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->mftag_filter_discards = stats.common.mftag_filter_discards; p_common 339 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->mac_filter_discards = stats.common.mac_filter_discards; p_common 340 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->gft_filter_drop = stats.common.gft_filter_drop; p_common 342 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->tx_ucast_bytes = stats.common.tx_ucast_bytes; p_common 343 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->tx_mcast_bytes = stats.common.tx_mcast_bytes; p_common 344 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->tx_bcast_bytes = stats.common.tx_bcast_bytes; p_common 345 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->tx_ucast_pkts = stats.common.tx_ucast_pkts; p_common 346 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->tx_mcast_pkts = stats.common.tx_mcast_pkts; p_common 347 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->tx_bcast_pkts = stats.common.tx_bcast_pkts; p_common 348 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->tx_err_drop_pkts = stats.common.tx_err_drop_pkts; p_common 349 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->coalesced_pkts = stats.common.tpa_coalesced_pkts; p_common 350 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->coalesced_events = stats.common.tpa_coalesced_events; p_common 351 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->coalesced_aborts_num = stats.common.tpa_aborts_num; p_common 352 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->non_coalesced_pkts = stats.common.tpa_not_coalesced_pkts; p_common 353 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->coalesced_bytes = stats.common.tpa_coalesced_bytes; p_common 355 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_64_byte_packets = stats.common.rx_64_byte_packets; p_common 356 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_65_to_127_byte_packets = p_common 358 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_128_to_255_byte_packets = p_common 360 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_256_to_511_byte_packets = p_common 362 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_512_to_1023_byte_packets = p_common 364 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_1024_to_1518_byte_packets = p_common 366 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_crc_errors = stats.common.rx_crc_errors; p_common 367 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_mac_crtl_frames = stats.common.rx_mac_crtl_frames; p_common 368 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_pause_frames = stats.common.rx_pause_frames; p_common 369 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_pfc_frames = stats.common.rx_pfc_frames; p_common 370 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_align_errors = stats.common.rx_align_errors; p_common 371 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_carrier_errors = stats.common.rx_carrier_errors; p_common 372 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_oversize_packets = stats.common.rx_oversize_packets; p_common 373 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_jabbers = stats.common.rx_jabbers; p_common 374 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_undersize_packets = stats.common.rx_undersize_packets; p_common 375 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_fragments = stats.common.rx_fragments; p_common 376 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->tx_64_byte_packets = stats.common.tx_64_byte_packets; p_common 377 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->tx_65_to_127_byte_packets = p_common 379 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->tx_128_to_255_byte_packets = p_common 381 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->tx_256_to_511_byte_packets = p_common 383 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->tx_512_to_1023_byte_packets = p_common 385 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->tx_1024_to_1518_byte_packets = p_common 387 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->tx_pause_frames = stats.common.tx_pause_frames; p_common 388 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->tx_pfc_frames = stats.common.tx_pfc_frames; p_common 389 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->brb_truncates = stats.common.brb_truncates; p_common 390 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->brb_discards = stats.common.brb_discards; p_common 391 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->tx_mac_ctrl_frames = stats.common.tx_mac_ctrl_frames; p_common 392 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->link_change_count = stats.common.link_change_count; p_common 393 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->ptp_skip_txts = edev->ptp_skip_txts; p_common 432 drivers/net/ethernet/qlogic/qede/qede_main.c struct qede_stats_common *p_common; p_common 435 drivers/net/ethernet/qlogic/qede/qede_main.c p_common = &edev->stats.common; p_common 437 drivers/net/ethernet/qlogic/qede/qede_main.c stats->rx_packets = p_common->rx_ucast_pkts + p_common->rx_mcast_pkts + p_common 438 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_bcast_pkts; p_common 439 drivers/net/ethernet/qlogic/qede/qede_main.c stats->tx_packets = p_common->tx_ucast_pkts + p_common->tx_mcast_pkts + p_common 440 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->tx_bcast_pkts; p_common 442 drivers/net/ethernet/qlogic/qede/qede_main.c stats->rx_bytes = p_common->rx_ucast_bytes + p_common->rx_mcast_bytes + p_common 443 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->rx_bcast_bytes; p_common 444 drivers/net/ethernet/qlogic/qede/qede_main.c stats->tx_bytes = p_common->tx_ucast_bytes + p_common->tx_mcast_bytes + p_common 445 drivers/net/ethernet/qlogic/qede/qede_main.c p_common->tx_bcast_bytes; p_common 447 drivers/net/ethernet/qlogic/qede/qede_main.c stats->tx_errors = p_common->tx_err_drop_pkts; p_common 448 drivers/net/ethernet/qlogic/qede/qede_main.c stats->multicast = p_common->rx_mcast_pkts + p_common->rx_bcast_pkts; p_common 450 drivers/net/ethernet/qlogic/qede/qede_main.c stats->rx_fifo_errors = p_common->no_buff_discards; p_common 454 drivers/net/ethernet/qlogic/qede/qede_main.c stats->rx_crc_errors = p_common->rx_crc_errors; p_common 455 drivers/net/ethernet/qlogic/qede/qede_main.c stats->rx_frame_errors = p_common->rx_align_errors;