Lines Matching refs:status

607  * Get the status counters for a port for older non PKI chips.
611 * @param status Where to put the results.
613 static inline void cvmx_pip_get_port_stats(u64 port_num, u64 clear, cvmx_pip_port_status_t *status)
700 status->dropped_octets = stat0.s.drp_octs;
701 status->dropped_packets = stat0.s.drp_pkts;
702 status->octets = stat1.s.octs;
703 status->pci_raw_packets = stat2.s.raw;
704 status->packets = stat2.s.pkts;
705 status->multicast_packets = stat3.s.mcst;
706 status->broadcast_packets = stat3.s.bcst;
707 status->len_64_packets = stat4.s.h64;
708 status->len_65_127_packets = stat4.s.h65to127;
709 status->len_128_255_packets = stat5.s.h128to255;
710 status->len_256_511_packets = stat5.s.h256to511;
711 status->len_512_1023_packets = stat6.s.h512to1023;
712 status->len_1024_1518_packets = stat6.s.h1024to1518;
713 status->len_1519_max_packets = stat7.s.h1519;
714 status->fcs_align_err_packets = stat7.s.fcs;
715 status->runt_packets = stat8.s.undersz;
716 status->runt_crc_packets = stat8.s.frag;
717 status->oversize_packets = stat9.s.oversz;
718 status->oversize_crc_packets = stat9.s.jabber;
720 status->mcast_l2_red_packets = stat10.s.mcast;
721 status->bcast_l2_red_packets = stat10.s.bcast;
722 status->mcast_l3_red_packets = stat11.s.mcast;
723 status->bcast_l3_red_packets = stat11.s.bcast;
725 status->inb_packets = pip_stat_inb_pktsx.s.pkts;
726 status->inb_octets = pip_stat_inb_octsx.s.octs;
727 status->inb_errors = pip_stat_inb_errsx.s.errs;
731 * Get the status counters for a port.
735 * @param status Where to put the results.
737 static inline void cvmx_pip_get_port_status(u64 port_num, u64 clear, cvmx_pip_port_status_t *status)
742 cvmx_pki_get_port_stats(node, port_num, (struct cvmx_pki_port_stats *)status);
744 cvmx_pip_get_port_stats(port_num, clear, status);