/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
D | ice_virtchnl_pf.h | 137 struct ifla_vf_stats *vf_stats); 229 struct ifla_vf_stats __always_unused *vf_stats) in ice_get_vf_stats() argument
|
D | ice_virtchnl_pf.c | 4038 struct ifla_vf_stats *vf_stats) in ice_get_vf_stats() argument 4061 memset(vf_stats, 0, sizeof(*vf_stats)); in ice_get_vf_stats() 4063 vf_stats->rx_packets = stats->rx_unicast + stats->rx_broadcast + in ice_get_vf_stats() 4065 vf_stats->tx_packets = stats->tx_unicast + stats->tx_broadcast + in ice_get_vf_stats() 4067 vf_stats->rx_bytes = stats->rx_bytes; in ice_get_vf_stats() 4068 vf_stats->tx_bytes = stats->tx_bytes; in ice_get_vf_stats() 4069 vf_stats->broadcast = stats->rx_broadcast; in ice_get_vf_stats() 4070 vf_stats->multicast = stats->rx_multicast; in ice_get_vf_stats() 4071 vf_stats->rx_dropped = stats->rx_discards; in ice_get_vf_stats() 4072 vf_stats->tx_dropped = stats->tx_discards; in ice_get_vf_stats()
|
/kernel/linux/linux-5.10/drivers/net/hyperv/ |
D | netvsc_drv.c | 510 = this_cpu_ptr(ndev_ctx->vf_stats); in netvsc_vf_xmit() 517 this_cpu_inc(ndev_ctx->vf_stats->tx_dropped); in netvsc_vf_xmit() 1281 = per_cpu_ptr(ndev_ctx->vf_stats, i); in netvsc_get_vf_stats() 1311 per_cpu_ptr(ndev_ctx->vf_stats, i); in netvsc_get_pcpu_stats() 1479 }, vf_stats[] = { variable 1488 #define NETVSC_VF_STATS_LEN ARRAY_SIZE(vf_stats) 1537 data[i++] = *(u64 *)((void *)&sum + vf_stats[j].offset); in netvsc_get_ethtool_stats() 1596 for (i = 0; i < ARRAY_SIZE(vf_stats); i++) { in netvsc_get_strings() 1597 memcpy(p, vf_stats[i].name, ETH_GSTRING_LEN); in netvsc_get_strings() 2178 = this_cpu_ptr(ndev_ctx->vf_stats); in netvsc_vf_handle_frame() [all …]
|
D | hyperv_net.h | 973 struct netvsc_vf_pcpu_stats __percpu *vf_stats; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.h | 139 struct ifla_vf_stats *vf_stats);
|
D | i40e_virtchnl_pf.c | 4743 struct ifla_vf_stats *vf_stats) in i40e_get_vf_stats() argument 4768 memset(vf_stats, 0, sizeof(*vf_stats)); in i40e_get_vf_stats() 4770 vf_stats->rx_packets = stats->rx_unicast + stats->rx_broadcast + in i40e_get_vf_stats() 4772 vf_stats->tx_packets = stats->tx_unicast + stats->tx_broadcast + in i40e_get_vf_stats() 4774 vf_stats->rx_bytes = stats->rx_bytes; in i40e_get_vf_stats() 4775 vf_stats->tx_bytes = stats->tx_bytes; in i40e_get_vf_stats() 4776 vf_stats->broadcast = stats->rx_broadcast; in i40e_get_vf_stats() 4777 vf_stats->multicast = stats->rx_multicast; in i40e_get_vf_stats() 4778 vf_stats->rx_dropped = stats->rx_discards; in i40e_get_vf_stats() 4779 vf_stats->tx_dropped = stats->tx_discards; in i40e_get_vf_stats()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rep.c | 178 struct ifla_vf_stats vf_stats; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local 181 err = mlx5_eswitch_get_vport_stats(esw, rep->vport, &vf_stats); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 190 vport_stats->rx_packets = vf_stats.tx_packets; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 191 vport_stats->rx_bytes = vf_stats.tx_bytes; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 192 vport_stats->tx_packets = vf_stats.rx_packets; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 193 vport_stats->tx_bytes = vf_stats.rx_bytes; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
|
D | eswitch.c | 2373 struct ifla_vf_stats *vf_stats) in mlx5_eswitch_get_vport_stats() argument 2402 memset(vf_stats, 0, sizeof(*vf_stats)); in mlx5_eswitch_get_vport_stats() 2403 vf_stats->rx_packets = in mlx5_eswitch_get_vport_stats() 2410 vf_stats->rx_bytes = in mlx5_eswitch_get_vport_stats() 2417 vf_stats->tx_packets = in mlx5_eswitch_get_vport_stats() 2424 vf_stats->tx_bytes = in mlx5_eswitch_get_vport_stats() 2431 vf_stats->multicast = in mlx5_eswitch_get_vport_stats() 2435 vf_stats->broadcast = in mlx5_eswitch_get_vport_stats() 2441 vf_stats->rx_dropped = stats.rx_dropped; in mlx5_eswitch_get_vport_stats() 2442 vf_stats->tx_dropped = stats.tx_dropped; in mlx5_eswitch_get_vport_stats()
|
D | eswitch.h | 320 struct ifla_vf_stats *vf_stats);
|
D | en.h | 1107 int mlx5e_get_vf_stats(struct net_device *dev, int vf, struct ifla_vf_stats *vf_stats);
|
D | en_main.c | 4335 int vf, struct ifla_vf_stats *vf_stats) in mlx5e_get_vf_stats() argument 4341 vf_stats); in mlx5e_get_vf_stats()
|
/kernel/linux/linux-5.10/include/linux/mlx4/ |
D | cmd.h | 309 struct ifla_vf_stats *vf_stats);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/ |
D | ionic_lif.c | 1947 struct ifla_vf_stats *vf_stats) in ionic_get_vf_stats() argument 1962 memset(vf_stats, 0, sizeof(*vf_stats)); in ionic_get_vf_stats() 1965 vf_stats->rx_packets = le64_to_cpu(vs->rx_ucast_packets); in ionic_get_vf_stats() 1966 vf_stats->tx_packets = le64_to_cpu(vs->tx_ucast_packets); in ionic_get_vf_stats() 1967 vf_stats->rx_bytes = le64_to_cpu(vs->rx_ucast_bytes); in ionic_get_vf_stats() 1968 vf_stats->tx_bytes = le64_to_cpu(vs->tx_ucast_bytes); in ionic_get_vf_stats() 1969 vf_stats->broadcast = le64_to_cpu(vs->rx_bcast_packets); in ionic_get_vf_stats() 1970 vf_stats->multicast = le64_to_cpu(vs->rx_mcast_packets); in ionic_get_vf_stats() 1971 vf_stats->rx_dropped = le64_to_cpu(vs->rx_ucast_drop_packets) + in ionic_get_vf_stats() 1974 vf_stats->tx_dropped = le64_to_cpu(vs->tx_ucast_drop_packets) + in ionic_get_vf_stats()
|
/kernel/linux/linux-5.10/net/core/ |
D | rtnetlink.c | 1232 struct ifla_vf_stats vf_stats; in rtnl_fill_vfinfo() local 1330 memset(&vf_stats, 0, sizeof(vf_stats)); in rtnl_fill_vfinfo() 1333 &vf_stats); in rtnl_fill_vfinfo() 1338 vf_stats.rx_packets, IFLA_VF_STATS_PAD) || in rtnl_fill_vfinfo() 1340 vf_stats.tx_packets, IFLA_VF_STATS_PAD) || in rtnl_fill_vfinfo() 1342 vf_stats.rx_bytes, IFLA_VF_STATS_PAD) || in rtnl_fill_vfinfo() 1344 vf_stats.tx_bytes, IFLA_VF_STATS_PAD) || in rtnl_fill_vfinfo() 1346 vf_stats.broadcast, IFLA_VF_STATS_PAD) || in rtnl_fill_vfinfo() 1348 vf_stats.multicast, IFLA_VF_STATS_PAD) || in rtnl_fill_vfinfo() 1350 vf_stats.rx_dropped, IFLA_VF_STATS_PAD) || in rtnl_fill_vfinfo() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 3345 struct ifla_vf_stats *vf_stats) in mlx4_get_vf_stats() argument 3351 if (!vf_stats) in mlx4_get_vf_stats() 3364 vf_stats->rx_packets = be64_to_cpu(tmp_vf_stats.rx_frames); in mlx4_get_vf_stats() 3365 vf_stats->tx_packets = be64_to_cpu(tmp_vf_stats.tx_frames); in mlx4_get_vf_stats() 3366 vf_stats->rx_bytes = be64_to_cpu(tmp_vf_stats.rx_bytes); in mlx4_get_vf_stats() 3367 vf_stats->tx_bytes = be64_to_cpu(tmp_vf_stats.tx_bytes); in mlx4_get_vf_stats()
|
D | en_netdev.c | 2617 struct ifla_vf_stats *vf_stats) in mlx4_en_get_vf_stats() argument 2622 return mlx4_get_vf_stats(mdev->dev, en_priv->port, vf, vf_stats); in mlx4_en_get_vf_stats()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/ |
D | lio_main.c | 3208 struct ifla_vf_stats *vf_stats) in liquidio_get_vf_stats() argument 3221 vf_stats->rx_packets = stats.rx_packets; in liquidio_get_vf_stats() 3222 vf_stats->tx_packets = stats.tx_packets; in liquidio_get_vf_stats() 3223 vf_stats->rx_bytes = stats.rx_bytes; in liquidio_get_vf_stats() 3224 vf_stats->tx_bytes = stats.tx_bytes; in liquidio_get_vf_stats() 3225 vf_stats->broadcast = stats.broadcast; in liquidio_get_vf_stats() 3226 vf_stats->multicast = stats.multicast; in liquidio_get_vf_stats()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/ |
D | ipoib_main.c | 2043 struct ifla_vf_stats *vf_stats) in ipoib_get_vf_stats() argument 2047 return ib_get_vf_stats(priv->ca, vf, priv->port, vf_stats); in ipoib_get_vf_stats()
|
/kernel/linux/linux-5.10/include/linux/ |
D | netdevice.h | 1377 *vf_stats);
|