Searched refs:xmac_stats (Results 1 – 3 of 3) sorted by relevance
231 struct vxge_hw_xmac_stats *xmac_stats; in vxge_get_ethtool_stats() local240 xmac_stats = kzalloc(sizeof(struct vxge_hw_xmac_stats), GFP_KERNEL); in vxge_get_ethtool_stats()241 if (xmac_stats == NULL) { in vxge_get_ethtool_stats()251 kfree(xmac_stats); in vxge_get_ethtool_stats()261 kfree(xmac_stats); in vxge_get_ethtool_stats()270 status = vxge_hw_device_xmac_stats_get(hldev, xmac_stats); in vxge_get_ethtool_stats()369 *ptr++ = xmac_stats->aggr_stats[k].tx_frms; in vxge_get_ethtool_stats()370 *ptr++ = xmac_stats->aggr_stats[k].tx_data_octets; in vxge_get_ethtool_stats()371 *ptr++ = xmac_stats->aggr_stats[k].tx_mcast_frms; in vxge_get_ethtool_stats()372 *ptr++ = xmac_stats->aggr_stats[k].tx_bcast_frms; in vxge_get_ethtool_stats()[all …]
1801 struct vxge_hw_xmac_stats *xmac_stats) in vxge_hw_device_xmac_stats_get() argument1807 0, &xmac_stats->aggr_stats[0]); in vxge_hw_device_xmac_stats_get()1812 1, &xmac_stats->aggr_stats[1]); in vxge_hw_device_xmac_stats_get()1819 i, &xmac_stats->port_stats[i]); in vxge_hw_device_xmac_stats_get()1831 &xmac_stats->vpath_tx_stats[i]); in vxge_hw_device_xmac_stats_get()1837 &xmac_stats->vpath_rx_stats[i]); in vxge_hw_device_xmac_stats_get()
1753 struct vxge_hw_xmac_stats *xmac_stats);