rx_port_stats
struct rx_port_stats *rx_port_stats;
&softc->rx_port_stats->rx_64b_frames, "Received 64b frames");
&softc->rx_port_stats->rx_65b_127b_frames, "Received 65b 127b frames");
&softc->rx_port_stats->rx_128b_255b_frames,
&softc->rx_port_stats->rx_256b_511b_frames,
&softc->rx_port_stats->rx_512b_1023b_frames,
&softc->rx_port_stats->rx_1024b_1518b_frames,
&softc->rx_port_stats->rx_good_vlan_frames,
&softc->rx_port_stats->rx_1519b_2047b_frames,
&softc->rx_port_stats->rx_2048b_4095b_frames,
&softc->rx_port_stats->rx_4096b_9216b_frames,
&softc->rx_port_stats->rx_9217b_16383b_frames,
&softc->rx_port_stats->rx_total_frames, "Received total frames");
&softc->rx_port_stats->rx_ucast_frames, "Received ucast frames");
&softc->rx_port_stats->rx_mcast_frames, "Received mcast frames");
&softc->rx_port_stats->rx_bcast_frames, "Received bcast frames");
&softc->rx_port_stats->rx_fcs_err_frames, "Received fcs err frames");
&softc->rx_port_stats->rx_ctrl_frames, "Received ctrl frames");
&softc->rx_port_stats->rx_pause_frames, "Received pause frames");
&softc->rx_port_stats->rx_pfc_frames, "Received pfc frames");
&softc->rx_port_stats->rx_align_err_frames,
&softc->rx_port_stats->rx_ovrsz_frames,
&softc->rx_port_stats->rx_jbr_frames,
&softc->rx_port_stats->rx_mtu_err_frames,
&softc->rx_port_stats->rx_tagged_frames,
&softc->rx_port_stats->rx_double_tagged_frames,
&softc->rx_port_stats->rx_good_frames,
&softc->rx_port_stats->rx_pfc_ena_frames_pri0,
&softc->rx_port_stats->rx_pfc_ena_frames_pri1,
&softc->rx_port_stats->rx_pfc_ena_frames_pri2,
&softc->rx_port_stats->rx_pfc_ena_frames_pri3,
&softc->rx_port_stats->rx_pfc_ena_frames_pri4,
&softc->rx_port_stats->rx_pfc_ena_frames_pri5,
&softc->rx_port_stats->rx_pfc_ena_frames_pri6,
&softc->rx_port_stats->rx_pfc_ena_frames_pri7,
&softc->rx_port_stats->rx_sch_crc_err_frames,
&softc->rx_port_stats->rx_undrsz_frames, "Received undrsz frames");
&softc->rx_port_stats->rx_eee_lpi_events, "Received eee lpi events");
&softc->rx_port_stats->rx_eee_lpi_duration,
&softc->rx_port_stats->rx_llfc_physical_msgs,
&softc->rx_port_stats->rx_llfc_logical_msgs,
&softc->rx_port_stats->rx_llfc_msgs_with_crc_err,
&softc->rx_port_stats->rx_hcfc_msgs, "Received hcfc msgs");
&softc->rx_port_stats->rx_hcfc_msgs_with_crc_err,
&softc->rx_port_stats->rx_bytes, "Received bytes");
&softc->rx_port_stats->rx_runt_bytes, "Received runt bytes");
&softc->rx_port_stats->rx_runt_frames, "Received runt frames");
&softc->rx_port_stats->rx_stat_discard, "Received stat discard");
&softc->rx_port_stats->rx_stat_err, "Received stat err");
rc = iflib_dma_alloc(ctx, sizeof(struct rx_port_stats) + BNXT_PORT_STAT_PADDING,
softc->rx_port_stats = (void *) softc->hw_rx_port_stats.idi_vaddr;