Home
last modified time | relevance | path

Searched refs:xmac_stats (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/neterion/vxge/
Dvxge-ethtool.c216 struct vxge_hw_xmac_stats *xmac_stats; in vxge_get_ethtool_stats() local
225 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 …]
Dvxge-config.c1804 struct vxge_hw_xmac_stats *xmac_stats) in vxge_hw_device_xmac_stats_get() argument
1810 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()
Dvxge-traffic.h1753 struct vxge_hw_xmac_stats *xmac_stats);