Searched refs:xmac_stats (Results 1 – 3 of 3) sorted by relevance
238 struct vxge_hw_xmac_stats *xmac_stats; in vxge_get_ethtool_stats() local247 xmac_stats = kzalloc(sizeof(struct vxge_hw_xmac_stats), GFP_KERNEL); in vxge_get_ethtool_stats()248 if (xmac_stats == NULL) { in vxge_get_ethtool_stats()258 kfree(xmac_stats); in vxge_get_ethtool_stats()268 kfree(xmac_stats); in vxge_get_ethtool_stats()277 status = vxge_hw_device_xmac_stats_get(hldev, xmac_stats); in vxge_get_ethtool_stats()376 *ptr++ = xmac_stats->aggr_stats[k].tx_frms; in vxge_get_ethtool_stats()377 *ptr++ = xmac_stats->aggr_stats[k].tx_data_octets; in vxge_get_ethtool_stats()378 *ptr++ = xmac_stats->aggr_stats[k].tx_mcast_frms; in vxge_get_ethtool_stats()379 *ptr++ = xmac_stats->aggr_stats[k].tx_bcast_frms; in vxge_get_ethtool_stats()[all …]
1800 struct vxge_hw_xmac_stats *xmac_stats) in vxge_hw_device_xmac_stats_get() argument1806 0, &xmac_stats->aggr_stats[0]); in vxge_hw_device_xmac_stats_get()1811 1, &xmac_stats->aggr_stats[1]); in vxge_hw_device_xmac_stats_get()1818 i, &xmac_stats->port_stats[i]); in vxge_hw_device_xmac_stats_get()1830 &xmac_stats->vpath_tx_stats[i]); in vxge_hw_device_xmac_stats_get()1836 &xmac_stats->vpath_rx_stats[i]); in vxge_hw_device_xmac_stats_get()
1753 struct vxge_hw_xmac_stats *xmac_stats);