Lines Matching refs:VNIC_STAT

66 #define VNIC_STAT(m)            { sizeof_field(struct opa_vnic_stats, m),   \  macro
71 {"rx_packets", VNIC_STAT(netstats.rx_packets)},
72 {"tx_packets", VNIC_STAT(netstats.tx_packets)},
73 {"rx_bytes", VNIC_STAT(netstats.rx_bytes)},
74 {"tx_bytes", VNIC_STAT(netstats.tx_bytes)},
75 {"rx_errors", VNIC_STAT(netstats.rx_errors)},
76 {"tx_errors", VNIC_STAT(netstats.tx_errors)},
77 {"rx_dropped", VNIC_STAT(netstats.rx_dropped)},
78 {"tx_dropped", VNIC_STAT(netstats.tx_dropped)},
81 {"tx_unicast", VNIC_STAT(tx_grp.unicast)},
82 {"tx_mcastbcast", VNIC_STAT(tx_grp.mcastbcast)},
83 {"tx_untagged", VNIC_STAT(tx_grp.untagged)},
84 {"tx_vlan", VNIC_STAT(tx_grp.vlan)},
86 {"tx_64_size", VNIC_STAT(tx_grp.s_64)},
87 {"tx_65_127", VNIC_STAT(tx_grp.s_65_127)},
88 {"tx_128_255", VNIC_STAT(tx_grp.s_128_255)},
89 {"tx_256_511", VNIC_STAT(tx_grp.s_256_511)},
90 {"tx_512_1023", VNIC_STAT(tx_grp.s_512_1023)},
91 {"tx_1024_1518", VNIC_STAT(tx_grp.s_1024_1518)},
92 {"tx_1519_max", VNIC_STAT(tx_grp.s_1519_max)},
94 {"rx_unicast", VNIC_STAT(rx_grp.unicast)},
95 {"rx_mcastbcast", VNIC_STAT(rx_grp.mcastbcast)},
96 {"rx_untagged", VNIC_STAT(rx_grp.untagged)},
97 {"rx_vlan", VNIC_STAT(rx_grp.vlan)},
99 {"rx_64_size", VNIC_STAT(rx_grp.s_64)},
100 {"rx_65_127", VNIC_STAT(rx_grp.s_65_127)},
101 {"rx_128_255", VNIC_STAT(rx_grp.s_128_255)},
102 {"rx_256_511", VNIC_STAT(rx_grp.s_256_511)},
103 {"rx_512_1023", VNIC_STAT(rx_grp.s_512_1023)},
104 {"rx_1024_1518", VNIC_STAT(rx_grp.s_1024_1518)},
105 {"rx_1519_max", VNIC_STAT(rx_grp.s_1519_max)},
108 {"rx_fifo_errors", VNIC_STAT(netstats.rx_fifo_errors)},
109 {"rx_length_errors", VNIC_STAT(netstats.rx_length_errors)},
111 {"tx_fifo_errors", VNIC_STAT(netstats.tx_fifo_errors)},
112 {"tx_carrier_errors", VNIC_STAT(netstats.tx_carrier_errors)},
114 {"tx_dlid_zero", VNIC_STAT(tx_dlid_zero)},
115 {"tx_drop_state", VNIC_STAT(tx_drop_state)},
116 {"rx_drop_state", VNIC_STAT(rx_drop_state)},
117 {"rx_oversize", VNIC_STAT(rx_oversize)},
118 {"rx_runt", VNIC_STAT(rx_runt)},