Home
last modified time | relevance | path

Searched refs:mac_stats_buff (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dcudbg_lib.c1355 struct struct_mac_stats_rev1 *mac_stats_buff; in collect_macstats() local
1370 mac_stats_buff = (struct struct_mac_stats_rev1 *) scratch_buff.data; in collect_macstats()
1372 mac_stats_buff->ver_hdr.signature = CUDBG_ENTITY_SIGNATURE; in collect_macstats()
1373 mac_stats_buff->ver_hdr.revision = CUDBG_MAC_STATS_REV; in collect_macstats()
1374 mac_stats_buff->ver_hdr.size = sizeof(struct struct_mac_stats_rev1) - in collect_macstats()
1377 mac_stats_buff->port_count = n; in collect_macstats()
1378 for (i = 0; i < mac_stats_buff->port_count; i++) in collect_macstats()
1379 t4_get_port_stats(padap, i, &mac_stats_buff->stats[i]); in collect_macstats()
/illumos-gate/usr/src/cmd/cxgbetool/
H A Dcudbg_view.c960 struct struct_mac_stats *mac_stats_buff; in view_macstats() local
977 mac_stats_buff = (struct struct_mac_stats *)(dc_buff.data); in view_macstats()
978 port_count = mac_stats_buff->port_count; in view_macstats()
979 stats = mac_stats_buff->stats; in view_macstats()