Lines Matching +full:rx +full:- +full:180
2 SPDX-License-Identifier: BSD-2-Clause
4 Copyright (c) 2007-2009, Chelsio Inc.
64 enum { /* adapter interrupt-maintained statistics */
113 SGE_QSETS = 8, /* # of SGE Tx/Rx/RspQ sets */
114 SGE_RXQ_PER_SET = 2, /* # of Rx queues per set */
141 #define WR_FLITS (TX_DESC_FLITS + 1 - SGE_NUM_GENBITS)
222 u64 rx_mac_internal_errs; /* # of internal MAC errors on Rx */
224 u64 rx_frames_64; /* # of Rx frames in a particular range */
232 u64 rx_cong_drops; /* # of Rx drops due to SGE congestion */
297 unsigned int chan_rx_size; /* per channel Rx size */
299 unsigned int rx_pg_size; /* Rx page size */
301 unsigned int rx_num_pgs; /* # of Rx pages */
339 /* MC5 modes, these must be non-0 */
398 unsigned int chan_map; /* bitmap of in-use Tx channels */
456 return p->tcam_size; in t3_mc5_size()
470 return p->size; in t3_mc7_size()
581 unsigned long fifo_errors; /* FIFO over/under-flows */
593 return phy->mdio_read(phy->adapter, phy->addr, mmd, reg, valp); in mdio_read()
599 return phy->mdio_write(phy->adapter, phy->addr, mmd, reg, val); in mdio_write()
608 phy->addr = (u8)phy_addr; in cphy_init()
609 phy->caps = caps; in cphy_init()
610 phy->adapter = adapter; in cphy_init()
611 phy->pinfo = pinfo; in cphy_init()
612 phy->desc = desc; in cphy_init()
613 phy->ops = phy_ops; in cphy_init()
615 phy->mdio_read = mdio_ops->read; in cphy_init()
616 phy->mdio_write = mdio_ops->write; in cphy_init()
620 /* Accumulate MAC statistics every 180 seconds. For 1G we multiply by 10. */
621 #define MAC_STATS_ACCUM_SECS 180
627 ((reg_addr) + (idx) * (XGMAC0_1_BASE_ADDR - XGMAC0_0_BASE_ADDR))
641 for (iter = 0; iter < (adapter)->params.nports; ++iter)
643 #define adapter_info(adap) ((adap)->params.info)
647 return adapter_info(adap)->caps & SUPPORTED_AUI; in uses_xaui()
652 return adapter_info(adap)->caps & SUPPORTED_10000baseT_Full; in is_10G()
657 return adap->params.offload; in is_offload()
662 return adap->params.vpd.cclk / 1000; in core_ticks_per_usec()
668 return (ticks << adap->params.tp.dack_re) / core_ticks_per_usec(adap); in dack_ticks_to_usec()
673 return adap->params.pci.variant == PCI_VARIANT_PCIE; in is_pcie()