tx_port_stats_ext
bnxt_accumulate_stats(&bp->tx_port_stats_ext);
tx_stat_size = bp->tx_port_stats_ext.hw_stats ?
sizeof(struct tx_port_stats_ext) : 0;
req_qs->tx_stat_host_addr = cpu_to_le64(bp->tx_port_stats_ext.hw_stats_map);
offsetof(struct tx_port_stats_ext, pfc_pri0_tx_duration_us) / 8) {
stats = &bp->tx_port_stats_ext;
tx_count = sizeof(struct tx_port_stats_ext) / 8;
bnxt_free_stats_mem(bp, &bp->tx_port_stats_ext);
if (bp->tx_port_stats_ext.hw_stats)
bp->tx_port_stats_ext.len = sizeof(struct tx_port_stats_ext);
rc = bnxt_alloc_stats_mem(bp, &bp->tx_port_stats_ext, true);
struct bnxt_stats_mem tx_port_stats_ext;
(offsetof(struct tx_port_stats_ext, counter) / 8)
u64 *tx_port_stats_ext = bp->tx_port_stats_ext.sw_stats;
buf[j] = *(tx_port_stats_ext +
buf[j] = *(tx_port_stats_ext + n);
buf[j] += *(tx_port_stats_ext + n + 1);
buf[j] = *(tx_port_stats_ext + n);
buf[j] += *(tx_port_stats_ext + n + 1);