Searched refs:vstats (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_vema_iface.c | 87 struct opa_vnic_stats vstats; in opa_vnic_get_summary_counters() local 91 memset(&vstats, 0, sizeof(vstats)); in opa_vnic_get_summary_counters() 104 cntrs->tx_bytes = cpu_to_be64(vstats.netstats.tx_bytes); in opa_vnic_get_summary_counters() 105 cntrs->rx_bytes = cpu_to_be64(vstats.netstats.rx_bytes); in opa_vnic_get_summary_counters() 128 struct opa_vnic_stats vstats; in opa_vnic_get_error_counters() local 130 memset(&vstats, 0, sizeof(vstats)); in opa_vnic_get_error_counters() 141 cntrs->tx_dlid_zero = cpu_to_be64(vstats.tx_dlid_zero); in opa_vnic_get_error_counters() 142 cntrs->tx_drop_state = cpu_to_be64(vstats.tx_drop_state); in opa_vnic_get_error_counters() 144 vstats.netstats.tx_carrier_errors); in opa_vnic_get_error_counters() 147 cntrs->rx_runt = cpu_to_be64(vstats.rx_runt); in opa_vnic_get_error_counters() [all …]
|
H A D | opa_vnic_ethtool.c | 143 struct opa_vnic_stats vstats; in vnic_get_ethtool_stats() local 146 memset(&vstats, 0, sizeof(vstats)); in vnic_get_ethtool_stats() 148 adapter->rn_ops->ndo_get_stats64(netdev, &vstats.netstats); in vnic_get_ethtool_stats() 151 char *p = (char *)&vstats + vnic_gstrings_stats[i].stat_offset; in vnic_get_ethtool_stats()
|
H A D | opa_vnic_netdev.c | 68 struct opa_vnic_stats vstats; in opa_vnic_get_stats64() local 70 memset(&vstats, 0, sizeof(vstats)); in opa_vnic_get_stats64() 72 adapter->rn_ops->ndo_get_stats64(netdev, &vstats.netstats); in opa_vnic_get_stats64() 74 memcpy(stats, &vstats.netstats, sizeof(*stats)); in opa_vnic_get_stats64()
|
/linux/drivers/net/vxlan/ |
H A D | vxlan_vnifilter.c | 216 struct vxlan_vni_stats vstats; in __vnifilter_entry_fill_stats() local 223 vxlan_vnifilter_stats_get(vbegin, &vstats); in __vnifilter_entry_fill_stats() 225 vstats.rx_bytes, VNIFILTER_ENTRY_STATS_PAD) || in __vnifilter_entry_fill_stats() 227 vstats.rx_packets, VNIFILTER_ENTRY_STATS_PAD) || in __vnifilter_entry_fill_stats() 229 vstats.rx_drops, VNIFILTER_ENTRY_STATS_PAD) || in __vnifilter_entry_fill_stats() 231 vstats.rx_errors, VNIFILTER_ENTRY_STATS_PAD) || in __vnifilter_entry_fill_stats() 233 vstats.tx_bytes, VNIFILTER_ENTRY_STATS_PAD) || in __vnifilter_entry_fill_stats() 235 vstats.tx_packets, VNIFILTER_ENTRY_STATS_PAD) || in __vnifilter_entry_fill_stats() 237 vstats.tx_drops, VNIFILTER_ENTRY_STATS_PAD) || in __vnifilter_entry_fill_stats() 239 vstats.tx_errors, VNIFILTER_ENTRY_STATS_PAD)) in __vnifilter_entry_fill_stats()
|
/linux/drivers/net/ethernet/cisco/enic/ |
H A D | enic_dev.c | 24 int enic_dev_stats_dump(struct enic *enic, struct vnic_stats **vstats) in enic_dev_stats_dump() argument 29 err = vnic_dev_stats_dump(enic->vdev, vstats); in enic_dev_stats_dump()
|
H A D | enic_dev.h | 28 int enic_dev_stats_dump(struct enic *enic, struct vnic_stats **vstats);
|
H A D | enic_ethtool.c | 320 struct vnic_stats *vstats; in enic_get_ethtool_stats() local 325 err = enic_dev_stats_dump(enic, &vstats); in enic_get_ethtool_stats() 334 *(data++) = ((u64 *)&vstats->tx)[enic_tx_stats[i].index]; in enic_get_ethtool_stats() 336 *(data++) = ((u64 *)&vstats->rx)[enic_rx_stats[i].index]; in enic_get_ethtool_stats()
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | vnic_main.c | 184 struct opa_vnic_stats *vstats = (struct opa_vnic_stats *)stats; in hfi1_vnic_get_stats64() local 187 hfi1_vnic_update_stats(vinfo, vstats); in hfi1_vnic_get_stats64()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_stats.h | 293 #define VPORT_COUNTER_GET(vstats, c) MLX5_GET64(query_vport_counter_out, \ argument 294 vstats->query_vport_out, c)
|
H A D | en_main.c | 3903 struct mlx5e_vport_stats *vstats = &priv->stats.vport; in mlx5e_get_stats() local 3913 stats->multicast = VPORT_COUNTER_GET(vstats, received_eth_multicast.packets); in mlx5e_get_stats()
|