Lines Matching refs:srs

567 	mac_soft_ring_set_t	srs;  in mac_srs_dcmd()  local
591 if (mdb_vread(&srs, sizeof (srs), addr) == -1) { in mac_srs_dcmd()
596 if (mdb_vread(&mci, sizeof (mci), (uintptr_t)srs.srs_mcip) == -1) { in mac_srs_dcmd()
598 "for SRS %p", srs.srs_mcip, addr); in mac_srs_dcmd()
614 if (srs.srs_type & SRST_TX) in mac_srs_dcmd()
618 addr, mci.mci_name, srs.srs_state, srs.srs_type, in mac_srs_dcmd()
619 srs.srs_count, srs.srs_size, srs.srs_soft_ring_count); in mac_srs_dcmd()
633 if (!(srs.srs_type & SRST_TX)) in mac_srs_dcmd()
638 addr, mci.mci_name, mac_srs_txmode2str(srs.srs_tx.st_mode), in mac_srs_dcmd()
639 srs.srs_state, srs.srs_type, srs.srs_count, srs.srs_size, in mac_srs_dcmd()
640 srs.srs_tx_ring_count); in mac_srs_dcmd()
644 mac_cpus_t mc = srs.srs_cpu; in mac_srs_dcmd()
656 if ((args & MAC_SRS_RX) && (srs.srs_type & SRST_TX)) in mac_srs_dcmd()
666 mac_cpus_t mc = srs.srs_cpu; in mac_srs_dcmd()
677 if (!(srs.srs_type & SRST_TX)) in mac_srs_dcmd()
686 if (srs.srs_tx_ring_count == 0) { in mac_srs_dcmd()
694 for (s_ringp = srs.srs_soft_ring_head, i = 0; s_ringp != NULL; in mac_srs_dcmd()
713 mac_cpus_t mc = srs.srs_cpu; in mac_srs_dcmd()
726 if (!(srs.srs_type & SRST_TX)) in mac_srs_dcmd()
735 if (srs.srs_tx_ring_count == 0) { in mac_srs_dcmd()
736 m_ringp = srs.srs_tx.st_arg2; in mac_srs_dcmd()
752 for (s_ringp = srs.srs_soft_ring_head, i = 0; s_ringp != NULL; in mac_srs_dcmd()
776 mac_cpus_t mc = srs.srs_cpu; in mac_srs_dcmd()
786 if ((args & MAC_SRS_RX) && (srs.srs_type & SRST_TX)) in mac_srs_dcmd()
791 m_ringp = srs.srs_ring; in mac_srs_dcmd()
806 mac_cpus_t mc = srs.srs_cpu; in mac_srs_dcmd()
818 if (((args & MAC_SRS_TX) && !(srs.srs_type & SRST_TX)) || in mac_srs_dcmd()
819 ((args & MAC_SRS_RX) && (srs.srs_type & SRST_TX))) in mac_srs_dcmd()
848 mac_rx_stats_t *mac_rx_stat = &srs.srs_rx.sr_stat; in mac_srs_dcmd()
860 if (srs.srs_type & SRST_TX) in mac_srs_dcmd()
872 mac_tx_stats_t *mac_tx_stat = &srs.srs_tx.st_stat; in mac_srs_dcmd()
883 if (!(srs.srs_type & SRST_TX)) in mac_srs_dcmd()
892 if (srs.srs_tx_ring_count == 0) { in mac_srs_dcmd()
900 for (s_ringp = srs.srs_soft_ring_head; s_ringp != NULL; in mac_srs_dcmd()
927 addr, mci.mci_name, srs.srs_flent, srs.srs_ring, in mac_srs_dcmd()
928 (srs.srs_type & SRST_TX ? "TX" : "RX")); in mac_srs_dcmd()
983 mac_soft_ring_set_t srs; in mac_ring_dcmd() local
997 if (mdb_vread(&srs, sizeof (srs), (uintptr_t)ring.mr_srs) != -1) { in mac_ring_dcmd()
999 (uintptr_t)srs.srs_flent); in mac_ring_dcmd()