Searched refs:vport_stats (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rep.c | 88 struct vport_stats { struct 96 { MLX5E_DECLARE_STAT(struct vport_stats, vport_rx_packets) }, argument 97 { MLX5E_DECLARE_STAT(struct vport_stats, vport_rx_bytes) }, 98 { MLX5E_DECLARE_STAT(struct vport_stats, vport_tx_packets) }, 99 { MLX5E_DECLARE_STAT(struct vport_stats, vport_tx_bytes) }, 174 struct rtnl_link_stats64 *vport_stats; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local 185 vport_stats = &priv->stats.vf_vport; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 187 vport_stats->rx_packets = vf_stats.tx_packets; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 188 vport_stats->rx_bytes = vf_stats.tx_bytes; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 189 vport_stats->tx_packets = vf_stats.rx_packets; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() [all …]
|
/linux-6.1.9/drivers/net/ethernet/huawei/hinic/ |
D | hinic_port.c | 983 struct hinic_cmd_vport_stats vport_stats = { 0 }; in hinic_get_vport_stats() local 987 u16 out_size = sizeof(vport_stats); in hinic_get_vport_stats() 993 stats_info.stats_size = sizeof(vport_stats); in hinic_get_vport_stats() 997 &vport_stats, &out_size); in hinic_get_vport_stats() 998 if (err || !out_size || vport_stats.status) { in hinic_get_vport_stats() 1001 err, vport_stats.status, out_size); in hinic_get_vport_stats() 1005 memcpy(stats, &vport_stats.stats, sizeof(*stats)); in hinic_get_vport_stats()
|
D | hinic_ethtool.c | 1404 struct hinic_vport_stats vport_stats = {0}; in hinic_get_ethtool_stats() local 1410 err = hinic_get_vport_stats(nic_dev, &vport_stats); in hinic_get_ethtool_stats() 1416 p = (char *)&vport_stats + hinic_function_stats[j].offset; in hinic_get_ethtool_stats()
|
/linux-6.1.9/drivers/scsi/bfa/ |
D | bfa_fcs_lport.c | 6097 vport->vport_stats.fab_no_npiv++; in bfa_fcs_vport_sm_created() 6233 vport->vport_stats.fdisc_retries++; in bfa_fcs_vport_sm_fdisc_retry() 6514 vport->vport_stats.fdisc_sent++; in bfa_fcs_vport_do_fdisc() 6570 vport->vport_stats.logo_sent++; in bfa_fcs_vport_do_logo() 6593 vport->vport_stats.fdisc_timeouts++; in bfa_fcs_vport_timeout() 6629 vport->vport_stats.fab_online++; in bfa_fcs_vport_online() 6633 vport->vport_stats.fab_no_npiv++; in bfa_fcs_vport_online() 6642 vport->vport_stats.fab_offline++; in bfa_fcs_vport_offline() 6652 vport->vport_stats.fab_cleanup++; in bfa_fcs_vport_cleanup() 6910 vport->vport_stats.fdisc_accepts++; in bfa_cb_lps_fdisc_comp() [all …]
|
D | bfad_bsg.h | 386 struct bfa_vport_stats_s vport_stats; member
|
D | bfa_fcs.h | 353 struct bfa_vport_stats_s vport_stats; /* vport statistics */ member
|
D | bfad_bsg.c | 832 memcpy((void *)&iocmd->vport_stats, (void *)&fcs_vport->vport_stats, in bfad_iocmd_vport_get_stats() 834 memcpy((void *)&iocmd->vport_stats.port_stats, in bfad_iocmd_vport_get_stats() 860 memset(&fcs_vport->vport_stats, 0, sizeof(struct bfa_vport_stats_s)); in bfad_iocmd_vport_clr_stats()
|
/linux-6.1.9/net/openvswitch/ |
D | datapath.c | 2078 struct ovs_vport_stats vport_stats; in ovs_vport_cmd_fill_info() local 2102 ovs_vport_get_stats(vport, &vport_stats); in ovs_vport_cmd_fill_info() 2104 sizeof(struct ovs_vport_stats), &vport_stats, in ovs_vport_cmd_fill_info()
|