tx_port_stats
struct tx_port_stats *tx_port_stats;
&softc->tx_port_stats->tx_64b_frames, "Transmitted 64b frames");
&softc->tx_port_stats->tx_65b_127b_frames,
&softc->tx_port_stats->tx_128b_255b_frames,
&softc->tx_port_stats->tx_256b_511b_frames,
&softc->tx_port_stats->tx_512b_1023b_frames,
&softc->tx_port_stats->tx_1024b_1518b_frames,
&softc->tx_port_stats->tx_good_vlan_frames,
&softc->tx_port_stats->tx_1519b_2047b_frames,
&softc->tx_port_stats->tx_2048b_4095b_frames,
&softc->tx_port_stats->tx_4096b_9216b_frames,
&softc->tx_port_stats->tx_9217b_16383b_frames,
&softc->tx_port_stats->tx_good_frames, "Transmitted good frames");
&softc->tx_port_stats->tx_total_frames, "Transmitted total frames");
&softc->tx_port_stats->tx_ucast_frames, "Transmitted ucast frames");
&softc->tx_port_stats->tx_mcast_frames, "Transmitted mcast frames");
&softc->tx_port_stats->tx_bcast_frames, "Transmitted bcast frames");
&softc->tx_port_stats->tx_pause_frames, "Transmitted pause frames");
&softc->tx_port_stats->tx_pfc_frames, "Transmitted pfc frames");
&softc->tx_port_stats->tx_jabber_frames, "Transmitted jabber frames");
&softc->tx_port_stats->tx_fcs_err_frames,
&softc->tx_port_stats->tx_err, "Transmitted err");
&softc->tx_port_stats->tx_fifo_underruns,
&softc->tx_port_stats->tx_pfc_ena_frames_pri0,
&softc->tx_port_stats->tx_pfc_ena_frames_pri1,
&softc->tx_port_stats->tx_pfc_ena_frames_pri2,
&softc->tx_port_stats->tx_pfc_ena_frames_pri3,
&softc->tx_port_stats->tx_pfc_ena_frames_pri4,
&softc->tx_port_stats->tx_pfc_ena_frames_pri5,
&softc->tx_port_stats->tx_pfc_ena_frames_pri6,
&softc->tx_port_stats->tx_pfc_ena_frames_pri7,
&softc->tx_port_stats->tx_eee_lpi_events,
&softc->tx_port_stats->tx_eee_lpi_duration,
&softc->tx_port_stats->tx_llfc_logical_msgs,
&softc->tx_port_stats->tx_hcfc_msgs, "Transmitted hcfc msgs");
&softc->tx_port_stats->tx_total_collisions,
&softc->tx_port_stats->tx_bytes, "Transmitted bytes");
&softc->tx_port_stats->tx_xthol_frames, "Transmitted xthol frames");
&softc->tx_port_stats->tx_stat_discard, "Transmitted stat discard");
&softc->tx_port_stats->tx_stat_error, "Transmitted stat error");
rc = iflib_dma_alloc(ctx, sizeof(struct tx_port_stats) + BNXT_PORT_STAT_PADDING,
softc->tx_port_stats = (void *) softc->hw_tx_port_stats.idi_vaddr;