Home
last modified time | relevance | path

Searched refs:vport_stats (Results 1 – 7 of 7) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c94 struct vport_stats { struct
102 { MLX5E_DECLARE_STAT(struct vport_stats, vport_rx_packets) }, argument
103 { MLX5E_DECLARE_STAT(struct vport_stats, vport_rx_bytes) },
104 { MLX5E_DECLARE_STAT(struct vport_stats, vport_tx_packets) },
105 { MLX5E_DECLARE_STAT(struct vport_stats, vport_tx_bytes) },
180 struct rtnl_link_stats64 *vport_stats; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local
191 vport_stats = &priv->stats.vf_vport; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
193 vport_stats->rx_packets = vf_stats.tx_packets; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
194 vport_stats->rx_bytes = vf_stats.tx_bytes; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
195 vport_stats->tx_packets = vf_stats.rx_packets; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
[all …]
/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c983 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()
Dhinic_ethtool.c1406 struct hinic_vport_stats vport_stats = {0}; in hinic_get_ethtool_stats() local
1412 err = hinic_get_vport_stats(nic_dev, &vport_stats); in hinic_get_ethtool_stats()
1418 p = (char *)&vport_stats + hinic_function_stats[j].offset; in hinic_get_ethtool_stats()
/drivers/scsi/bfa/
Dbfa_fcs_lport.c6097 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 …]
Dbfad_bsg.h386 struct bfa_vport_stats_s vport_stats; member
Dbfa_fcs.h356 struct bfa_vport_stats_s vport_stats; /* vport statistics */ member
Dbfad_bsg.c832 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()