Searched refs:xmac_stats (Results 1 – 3 of 3) sorted by relevance
216 struct vxge_hw_xmac_stats *xmac_stats; in vxge_get_ethtool_stats() local225 xmac_stats = kzalloc(sizeof(struct vxge_hw_xmac_stats), GFP_KERNEL); in vxge_get_ethtool_stats()226 if (xmac_stats == NULL) { in vxge_get_ethtool_stats()236 kfree(xmac_stats); in vxge_get_ethtool_stats()246 kfree(xmac_stats); in vxge_get_ethtool_stats()255 status = vxge_hw_device_xmac_stats_get(hldev, xmac_stats); in vxge_get_ethtool_stats()354 *ptr++ = xmac_stats->aggr_stats[k].tx_frms; in vxge_get_ethtool_stats()355 *ptr++ = xmac_stats->aggr_stats[k].tx_data_octets; in vxge_get_ethtool_stats()356 *ptr++ = xmac_stats->aggr_stats[k].tx_mcast_frms; in vxge_get_ethtool_stats()357 *ptr++ = xmac_stats->aggr_stats[k].tx_bcast_frms; in vxge_get_ethtool_stats()[all …]
1804 struct vxge_hw_xmac_stats *xmac_stats) in vxge_hw_device_xmac_stats_get() argument1810 0, &xmac_stats->aggr_stats[0]); in vxge_hw_device_xmac_stats_get()1815 1, &xmac_stats->aggr_stats[1]); in vxge_hw_device_xmac_stats_get()1822 i, &xmac_stats->port_stats[i]); in vxge_hw_device_xmac_stats_get()1834 &xmac_stats->vpath_tx_stats[i]); in vxge_hw_device_xmac_stats_get()1840 &xmac_stats->vpath_rx_stats[i]); in vxge_hw_device_xmac_stats_get()
1753 struct vxge_hw_xmac_stats *xmac_stats);