Searched refs:vstats (Results 1 - 10 of 10) sorted by relevance
/linux-master/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_vema_iface.c | 87 struct opa_vnic_stats vstats; local 91 memset(&vstats, 0, sizeof(vstats)); 93 adapter->rn_ops->ndo_get_stats64(adapter->netdev, &vstats.netstats); 100 cntrs->tx_errors = cpu_to_be64(vstats.netstats.tx_errors); 101 cntrs->rx_errors = cpu_to_be64(vstats.netstats.rx_errors); 102 cntrs->tx_packets = cpu_to_be64(vstats.netstats.tx_packets); 103 cntrs->rx_packets = cpu_to_be64(vstats.netstats.rx_packets); 104 cntrs->tx_bytes = cpu_to_be64(vstats.netstats.tx_bytes); 105 cntrs->rx_bytes = cpu_to_be64(vstats 128 struct opa_vnic_stats vstats; local [all...] |
H A D | opa_vnic_ethtool.c | 143 struct opa_vnic_stats vstats; local 146 memset(&vstats, 0, sizeof(vstats)); 148 adapter->rn_ops->ndo_get_stats64(netdev, &vstats.netstats); 151 char *p = (char *)&vstats + vnic_gstrings_stats[i].stat_offset;
|
H A D | opa_vnic_netdev.c | 68 struct opa_vnic_stats vstats; local 70 memset(&vstats, 0, sizeof(vstats)); 72 adapter->rn_ops->ndo_get_stats64(netdev, &vstats.netstats); 74 memcpy(stats, &vstats.netstats, sizeof(*stats));
|
/linux-master/drivers/net/ethernet/cisco/enic/ |
H A D | enic_dev.h | 28 int enic_dev_stats_dump(struct enic *enic, struct vnic_stats **vstats);
|
H A D | enic_dev.c | 24 int enic_dev_stats_dump(struct enic *enic, struct vnic_stats **vstats) argument 29 err = vnic_dev_stats_dump(enic->vdev, vstats);
|
H A D | enic_ethtool.c | 257 struct vnic_stats *vstats; local 261 err = enic_dev_stats_dump(enic, &vstats); 270 *(data++) = ((u64 *)&vstats->tx)[enic_tx_stats[i].index]; 272 *(data++) = ((u64 *)&vstats->rx)[enic_rx_stats[i].index];
|
/linux-master/drivers/net/vxlan/ |
H A D | vxlan_vnifilter.c | 216 struct vxlan_vni_stats vstats; local 223 vxlan_vnifilter_stats_get(vbegin, &vstats); 225 vstats.rx_bytes, VNIFILTER_ENTRY_STATS_PAD) || 227 vstats.rx_packets, VNIFILTER_ENTRY_STATS_PAD) || 229 vstats.rx_drops, VNIFILTER_ENTRY_STATS_PAD) || 231 vstats.rx_errors, VNIFILTER_ENTRY_STATS_PAD) || 233 vstats.tx_bytes, VNIFILTER_ENTRY_STATS_PAD) || 235 vstats.tx_packets, VNIFILTER_ENTRY_STATS_PAD) || 237 vstats.tx_drops, VNIFILTER_ENTRY_STATS_PAD) || 239 vstats [all...] |
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | vnic_main.c | 184 struct opa_vnic_stats *vstats = (struct opa_vnic_stats *)stats; local 187 hfi1_vnic_update_stats(vinfo, vstats);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_stats.h | 286 #define VPORT_COUNTER_GET(vstats, c) MLX5_GET64(query_vport_counter_out, \ 287 vstats->query_vport_out, c)
|
H A D | en_main.c | 3778 struct mlx5e_vport_stats *vstats = &priv->stats.vport; local 3788 stats->multicast = VPORT_COUNTER_GET(vstats, received_eth_multicast.packets);
|
Completed in 304 milliseconds