nstat 1679 drivers/net/ethernet/broadcom/b44.c struct rtnl_link_stats64 *nstat) nstat 1689 drivers/net/ethernet/broadcom/b44.c nstat->rx_packets = hwstat->rx_pkts; nstat 1690 drivers/net/ethernet/broadcom/b44.c nstat->tx_packets = hwstat->tx_pkts; nstat 1691 drivers/net/ethernet/broadcom/b44.c nstat->rx_bytes = hwstat->rx_octets; nstat 1692 drivers/net/ethernet/broadcom/b44.c nstat->tx_bytes = hwstat->tx_octets; nstat 1693 drivers/net/ethernet/broadcom/b44.c nstat->tx_errors = (hwstat->tx_jabber_pkts + nstat 1698 drivers/net/ethernet/broadcom/b44.c nstat->multicast = hwstat->rx_multicast_pkts; nstat 1699 drivers/net/ethernet/broadcom/b44.c nstat->collisions = hwstat->tx_total_cols; nstat 1701 drivers/net/ethernet/broadcom/b44.c nstat->rx_length_errors = (hwstat->rx_oversize_pkts + nstat 1703 drivers/net/ethernet/broadcom/b44.c nstat->rx_over_errors = hwstat->rx_missed_pkts; nstat 1704 drivers/net/ethernet/broadcom/b44.c nstat->rx_frame_errors = hwstat->rx_align_errs; nstat 1705 drivers/net/ethernet/broadcom/b44.c nstat->rx_crc_errors = hwstat->rx_crc_errs; nstat 1706 drivers/net/ethernet/broadcom/b44.c nstat->rx_errors = (hwstat->rx_jabber_pkts + nstat 1715 drivers/net/ethernet/broadcom/b44.c nstat->tx_aborted_errors = hwstat->tx_underruns; nstat 1718 drivers/net/ethernet/broadcom/b44.c nstat->tx_carrier_errors = hwstat->tx_carrier_lost; nstat 2536 drivers/net/ethernet/cadence/macb_main.c struct net_device_stats *nstat = &bp->dev->stats; nstat 2540 drivers/net/ethernet/cadence/macb_main.c nstat->rx_errors = (hwstat->rx_frame_check_sequence_errors + nstat 2548 drivers/net/ethernet/cadence/macb_main.c nstat->tx_errors = (hwstat->tx_late_collisions + nstat 2552 drivers/net/ethernet/cadence/macb_main.c nstat->multicast = hwstat->rx_multicast_frames; nstat 2553 drivers/net/ethernet/cadence/macb_main.c nstat->collisions = (hwstat->tx_single_collision_frames + nstat 2556 drivers/net/ethernet/cadence/macb_main.c nstat->rx_length_errors = (hwstat->rx_oversize_frames + nstat 2560 drivers/net/ethernet/cadence/macb_main.c nstat->rx_over_errors = hwstat->rx_resource_errors; nstat 2561 drivers/net/ethernet/cadence/macb_main.c nstat->rx_crc_errors = hwstat->rx_frame_check_sequence_errors; nstat 2562 drivers/net/ethernet/cadence/macb_main.c nstat->rx_frame_errors = hwstat->rx_alignment_errors; nstat 2563 drivers/net/ethernet/cadence/macb_main.c nstat->rx_fifo_errors = hwstat->rx_overruns; nstat 2564 drivers/net/ethernet/cadence/macb_main.c nstat->tx_aborted_errors = hwstat->tx_excessive_collisions; nstat 2565 drivers/net/ethernet/cadence/macb_main.c nstat->tx_carrier_errors = hwstat->tx_carrier_sense_errors; nstat 2566 drivers/net/ethernet/cadence/macb_main.c nstat->tx_fifo_errors = hwstat->tx_underrun; nstat 2568 drivers/net/ethernet/cadence/macb_main.c return nstat; nstat 2622 drivers/net/ethernet/cadence/macb_main.c struct net_device_stats *nstat = &bp->dev->stats; nstat 2632 drivers/net/ethernet/cadence/macb_main.c nstat->rx_errors = (hwstat->rx_fcs_errors + nstat 2640 drivers/net/ethernet/cadence/macb_main.c nstat->tx_errors = (hwstat->tx_late_cols + nstat 2645 drivers/net/ethernet/cadence/macb_main.c nstat->collisions = (hwstat->tx_single_cols + nstat 2648 drivers/net/ethernet/cadence/macb_main.c nstat->rx_length_errors = (hwstat->rx_oversize_pkts + nstat 2652 drivers/net/ethernet/cadence/macb_main.c nstat->rx_over_errors = hwstat->rx_resource_errors + nstat 2654 drivers/net/ethernet/cadence/macb_main.c nstat->rx_crc_errors = hwstat->rx_fcs_errors; nstat 2655 drivers/net/ethernet/cadence/macb_main.c nstat->rx_frame_errors = hwstat->rx_align_errors; nstat 2656 drivers/net/ethernet/cadence/macb_main.c nstat->rx_fifo_errors = hwstat->rx_overruns; nstat 2658 drivers/net/ethernet/cadence/macb_main.c nstat->tx_aborted_errors = hwstat->tx_excessive_cols; nstat 2659 drivers/net/ethernet/cadence/macb_main.c nstat->tx_carrier_errors = hwstat->tx_carrier_errors; nstat 2660 drivers/net/ethernet/cadence/macb_main.c nstat->tx_fifo_errors = hwstat->tx_underruns; nstat 2663 drivers/net/ethernet/cadence/macb_main.c return nstat; nstat 695 drivers/net/ethernet/dnet.c struct net_device_stats *nstat = &dev->stats; nstat 702 drivers/net/ethernet/dnet.c nstat->rx_errors = (hwstat->rx_len_chk_err + nstat 709 drivers/net/ethernet/dnet.c nstat->tx_errors = hwstat->tx_bad_fcs; nstat 710 drivers/net/ethernet/dnet.c nstat->rx_length_errors = (hwstat->rx_len_chk_err + nstat 713 drivers/net/ethernet/dnet.c nstat->rx_crc_errors = hwstat->rx_crc_err; nstat 714 drivers/net/ethernet/dnet.c nstat->rx_frame_errors = hwstat->rx_pre_shrink + hwstat->rx_drib_nib; nstat 715 drivers/net/ethernet/dnet.c nstat->rx_packets = hwstat->rx_ok_pkt; nstat 716 drivers/net/ethernet/dnet.c nstat->tx_packets = (hwstat->tx_unicast + nstat 718 drivers/net/ethernet/dnet.c nstat->rx_bytes = hwstat->rx_byte; nstat 719 drivers/net/ethernet/dnet.c nstat->tx_bytes = hwstat->tx_byte; nstat 720 drivers/net/ethernet/dnet.c nstat->multicast = hwstat->rx_multicast; nstat 721 drivers/net/ethernet/dnet.c nstat->rx_missed_errors = hwstat->rx_pkt_ignr; nstat 725 drivers/net/ethernet/dnet.c return nstat; nstat 111 drivers/net/ethernet/intel/i40e/i40e_debugfs.c struct rtnl_link_stats64 *nstat; nstat 157 drivers/net/ethernet/intel/i40e/i40e_debugfs.c nstat = i40e_get_vsi_stats_struct(vsi); nstat 160 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->rx_packets, nstat 161 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->rx_bytes, nstat 162 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->rx_errors, nstat 163 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->rx_dropped); nstat 166 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->tx_packets, nstat 167 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->tx_bytes, nstat 168 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->tx_errors, nstat 169 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->tx_dropped); nstat 172 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->multicast, nstat 173 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->collisions); nstat 176 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->rx_length_errors, nstat 177 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->rx_over_errors, nstat 178 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->rx_crc_errors); nstat 181 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->rx_frame_errors, nstat 182 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->rx_fifo_errors, nstat 183 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->rx_missed_errors); nstat 186 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->tx_aborted_errors, nstat 187 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->tx_carrier_errors, nstat 188 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->tx_fifo_errors); nstat 191 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->tx_heartbeat_errors, nstat 192 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->tx_window_errors); nstat 195 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->rx_compressed, nstat 196 drivers/net/ethernet/intel/i40e/i40e_debugfs.c (unsigned long int)nstat->tx_compressed);