• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/cxgb4/

Lines Matching defs:GET_STAT

2043 #define GET_STAT(name) \
2047 p->tx_octets = GET_STAT(TX_PORT_BYTES);
2048 p->tx_frames = GET_STAT(TX_PORT_FRAMES);
2049 p->tx_bcast_frames = GET_STAT(TX_PORT_BCAST);
2050 p->tx_mcast_frames = GET_STAT(TX_PORT_MCAST);
2051 p->tx_ucast_frames = GET_STAT(TX_PORT_UCAST);
2052 p->tx_error_frames = GET_STAT(TX_PORT_ERROR);
2053 p->tx_frames_64 = GET_STAT(TX_PORT_64B);
2054 p->tx_frames_65_127 = GET_STAT(TX_PORT_65B_127B);
2055 p->tx_frames_128_255 = GET_STAT(TX_PORT_128B_255B);
2056 p->tx_frames_256_511 = GET_STAT(TX_PORT_256B_511B);
2057 p->tx_frames_512_1023 = GET_STAT(TX_PORT_512B_1023B);
2058 p->tx_frames_1024_1518 = GET_STAT(TX_PORT_1024B_1518B);
2059 p->tx_frames_1519_max = GET_STAT(TX_PORT_1519B_MAX);
2060 p->tx_drop = GET_STAT(TX_PORT_DROP);
2061 p->tx_pause = GET_STAT(TX_PORT_PAUSE);
2062 p->tx_ppp0 = GET_STAT(TX_PORT_PPP0);
2063 p->tx_ppp1 = GET_STAT(TX_PORT_PPP1);
2064 p->tx_ppp2 = GET_STAT(TX_PORT_PPP2);
2065 p->tx_ppp3 = GET_STAT(TX_PORT_PPP3);
2066 p->tx_ppp4 = GET_STAT(TX_PORT_PPP4);
2067 p->tx_ppp5 = GET_STAT(TX_PORT_PPP5);
2068 p->tx_ppp6 = GET_STAT(TX_PORT_PPP6);
2069 p->tx_ppp7 = GET_STAT(TX_PORT_PPP7);
2071 p->rx_octets = GET_STAT(RX_PORT_BYTES);
2072 p->rx_frames = GET_STAT(RX_PORT_FRAMES);
2073 p->rx_bcast_frames = GET_STAT(RX_PORT_BCAST);
2074 p->rx_mcast_frames = GET_STAT(RX_PORT_MCAST);
2075 p->rx_ucast_frames = GET_STAT(RX_PORT_UCAST);
2076 p->rx_too_long = GET_STAT(RX_PORT_MTU_ERROR);
2077 p->rx_jabber = GET_STAT(RX_PORT_MTU_CRC_ERROR);
2078 p->rx_fcs_err = GET_STAT(RX_PORT_CRC_ERROR);
2079 p->rx_len_err = GET_STAT(RX_PORT_LEN_ERROR);
2080 p->rx_symbol_err = GET_STAT(RX_PORT_SYM_ERROR);
2081 p->rx_runt = GET_STAT(RX_PORT_LESS_64B);
2082 p->rx_frames_64 = GET_STAT(RX_PORT_64B);
2083 p->rx_frames_65_127 = GET_STAT(RX_PORT_65B_127B);
2084 p->rx_frames_128_255 = GET_STAT(RX_PORT_128B_255B);
2085 p->rx_frames_256_511 = GET_STAT(RX_PORT_256B_511B);
2086 p->rx_frames_512_1023 = GET_STAT(RX_PORT_512B_1023B);
2087 p->rx_frames_1024_1518 = GET_STAT(RX_PORT_1024B_1518B);
2088 p->rx_frames_1519_max = GET_STAT(RX_PORT_1519B_MAX);
2089 p->rx_pause = GET_STAT(RX_PORT_PAUSE);
2090 p->rx_ppp0 = GET_STAT(RX_PORT_PPP0);
2091 p->rx_ppp1 = GET_STAT(RX_PORT_PPP1);
2092 p->rx_ppp2 = GET_STAT(RX_PORT_PPP2);
2093 p->rx_ppp3 = GET_STAT(RX_PORT_PPP3);
2094 p->rx_ppp4 = GET_STAT(RX_PORT_PPP4);
2095 p->rx_ppp5 = GET_STAT(RX_PORT_PPP5);
2096 p->rx_ppp6 = GET_STAT(RX_PORT_PPP6);
2097 p->rx_ppp7 = GET_STAT(RX_PORT_PPP7);
2108 #undef GET_STAT
2124 #define GET_STAT(name) \
2128 p->octets = GET_STAT(BYTES);
2129 p->frames = GET_STAT(FRAMES);
2130 p->bcast_frames = GET_STAT(BCAST);
2131 p->mcast_frames = GET_STAT(MCAST);
2132 p->ucast_frames = GET_STAT(UCAST);
2133 p->error_frames = GET_STAT(ERROR);
2135 p->frames_64 = GET_STAT(64B);
2136 p->frames_65_127 = GET_STAT(65B_127B);
2137 p->frames_128_255 = GET_STAT(128B_255B);
2138 p->frames_256_511 = GET_STAT(256B_511B);
2139 p->frames_512_1023 = GET_STAT(512B_1023B);
2140 p->frames_1024_1518 = GET_STAT(1024B_1518B);
2141 p->frames_1519_max = GET_STAT(1519B_MAX);
2154 #undef GET_STAT