Home
last modified time | relevance | path

Searched refs:sw_stats (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.c327 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_bundle); in mlx5e_ipsec_handle_tx_skb()
333 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_no_state); in mlx5e_ipsec_handle_tx_skb()
340 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_not_ip); in mlx5e_ipsec_handle_tx_skb()
346 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_trailer); in mlx5e_ipsec_handle_tx_skb()
353 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_metadata); in mlx5e_ipsec_handle_tx_skb()
384 atomic64_inc(&priv->ipsec->sw_stats.ipsec_rx_drop_sp_alloc); in mlx5e_ipsec_build_sp()
391 atomic64_inc(&priv->ipsec->sw_stats.ipsec_rx_drop_sadb_miss); in mlx5e_ipsec_build_sp()
416 atomic64_inc(&priv->ipsec->sw_stats.ipsec_rx_drop_syndrome); in mlx5e_ipsec_build_sp()
466 atomic64_inc(&priv->ipsec->sw_stats.ipsec_rx_drop_sp_alloc); in mlx5e_ipsec_offload_handle_rx_skb()
472 atomic64_inc(&priv->ipsec->sw_stats.ipsec_rx_drop_sadb_miss); in mlx5e_ipsec_offload_handle_rx_skb()
[all …]
Dtls_rxtx.c205 atomic64_inc(&tls->sw_stats.tx_tls_drop_no_sync_data); in mlx5e_tls_handle_ooo()
219 atomic64_inc(&tls->sw_stats.tx_tls_drop_bypass_required); in mlx5e_tls_handle_ooo()
224 atomic64_inc(&tls->sw_stats.tx_tls_drop_metadata); in mlx5e_tls_handle_ooo()
232 atomic64_inc(&tls->sw_stats.tx_tls_drop_resync_alloc); in mlx5e_tls_handle_ooo()
291 atomic64_inc(&priv->tls->sw_stats.tx_tls_drop_metadata); in mlx5e_tls_handle_tx_skb()
343 atomic64_inc(&priv->tls->sw_stats.rx_tls_drop_resync_request); in tls_update_resync_sn()
372 atomic64_inc(&priv->tls->sw_stats.rx_tls_resync_request); in mlx5e_tls_handle_rx_skb_metadata()
377 atomic64_inc(&priv->tls->sw_stats.rx_tls_auth_fail); in mlx5e_tls_handle_rx_skb_metadata()
Dtls_stats.c89 MLX5E_READ_CTR_ATOMIC64(&priv->tls->sw_stats, in mlx5e_tls_get_stats()
Dtls.h55 struct mlx5e_tls_sw_stats sw_stats; member
Dipsec.h87 struct mlx5e_ipsec_sw_stats sw_stats; member
Dipsec_stats.c101 data[idx++] = MLX5E_READ_CTR_ATOMIC64(&priv->ipsec->sw_stats, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
Dtls.c179 atomic64_inc(&priv->tls->sw_stats.rx_tls_resync_reply); in mlx5e_tls_resync()
/Linux-v5.10/drivers/net/ethernet/neterion/vxge/
Dvxge-traffic.c600 struct vxge_hw_vpath_stats_sw_info *sw_stats; in __vxge_hw_vpath_alarm_process() local
619 sw_stats = vpath->sw_stats; in __vxge_hw_vpath_alarm_process()
626 sw_stats->error_stats.unknown_alarms++; in __vxge_hw_vpath_alarm_process()
651 sw_stats->error_stats.network_sustained_fault++; in __vxge_hw_vpath_alarm_process()
672 sw_stats->error_stats.network_sustained_ok++; in __vxge_hw_vpath_alarm_process()
707 sw_stats->error_stats.ini_serr_det++; in __vxge_hw_vpath_alarm_process()
716 sw_stats->error_stats.dblgen_fifo0_overflow++; in __vxge_hw_vpath_alarm_process()
725 sw_stats->error_stats.statsb_pif_chain_error++; in __vxge_hw_vpath_alarm_process()
730 sw_stats->error_stats.statsb_drop_timeout++; in __vxge_hw_vpath_alarm_process()
735 sw_stats->error_stats.target_illegal_access++; in __vxge_hw_vpath_alarm_process()
[all …]
Dvxge-ethtool.c239 struct vxge_hw_device_stats_sw_info *sw_stats; in vxge_get_ethtool_stats() local
255 sw_stats = kzalloc(sizeof(struct vxge_hw_device_stats_sw_info), in vxge_get_ethtool_stats()
257 if (sw_stats == NULL) { in vxge_get_ethtool_stats()
269 kfree(sw_stats); in vxge_get_ethtool_stats()
285 swstatus = vxge_hw_driver_stats_get(hldev, sw_stats); in vxge_get_ethtool_stats()
495 &sw_stats->vpath_info[j]; in vxge_get_ethtool_stats()
596 kfree(sw_stats); in vxge_get_ethtool_stats()
Dvxge-config.c1681 struct vxge_hw_device_stats_sw_info *sw_stats) in vxge_hw_driver_stats_get() argument
1683 memcpy(sw_stats, &hldev->stats.sw_dev_info_stats, in vxge_hw_driver_stats_get()
2827 ring->stats = &vp->vpath->sw_stats->ring_stats; in __vxge_hw_ring_create()
3470 fifo->stats = &vpath->sw_stats->fifo_stats; in __vxge_hw_fifo_create()
4627 vpath->sw_stats = NULL; in __vxge_hw_vp_terminate()
4676 vpath->sw_stats = &hldev->stats.sw_dev_info_stats.vpath_info[vp_id]; in __vxge_hw_vp_initialize()
5023 vpath->sw_stats->soft_reset_cnt++; in vxge_hw_vpath_reset()
Dvxge-traffic.h1737 struct vxge_hw_device_stats_sw_info *sw_stats);
Dvxge-config.h702 struct vxge_hw_vpath_stats_sw_info *sw_stats; member
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c561 u64 *sw_stats = cpr->stats.sw_stats; in bnxt_get_ethtool_stats() local
567 buf[j] = sw_stats[k]; in bnxt_get_ethtool_stats()
573 buf[j] = sw_stats[k]; in bnxt_get_ethtool_stats()
581 buf[j] = sw_stats[k]; in bnxt_get_ethtool_stats()
584 sw = (u64 *)&cpr->sw_stats.rx; in bnxt_get_ethtool_stats()
590 sw = (u64 *)&cpr->sw_stats.cmn; in bnxt_get_ethtool_stats()
595 BNXT_GET_RING_STATS64(sw_stats, rx_discard_pkts); in bnxt_get_ethtool_stats()
597 BNXT_GET_RING_STATS64(sw_stats, tx_discard_pkts); in bnxt_get_ethtool_stats()
605 u64 *port_stats = bp->port_stats.sw_stats; in bnxt_get_ethtool_stats()
611 u64 *rx_port_stats_ext = bp->rx_port_stats_ext.sw_stats; in bnxt_get_ethtool_stats()
[all …]
Dbnxt.c1771 bnapi->cp_ring.sw_stats.rx.rx_buf_errors++; in bnxt_rx_pkt()
1855 bnapi->cp_ring.sw_stats.rx.rx_l4_csum_errors++; in bnxt_rx_pkt()
3767 kfree(stats->sw_stats); in bnxt_free_stats_mem()
3768 stats->sw_stats = NULL; in bnxt_free_stats_mem()
3784 stats->sw_stats = kzalloc(stats->len, GFP_KERNEL); in bnxt_alloc_stats_mem()
3785 if (!stats->sw_stats) in bnxt_alloc_stats_mem()
7768 static void __bnxt_accumulate_stats(__le64 *hw_stats, u64 *sw_stats, u64 *masks, in __bnxt_accumulate_stats() argument
7780 sw_stats[i] = hw; in __bnxt_accumulate_stats()
7782 bnxt_add_one_ctr(hw, &sw_stats[i], masks[i]); in __bnxt_accumulate_stats()
7791 __bnxt_accumulate_stats(stats->hw_stats, stats->sw_stats, in bnxt_accumulate_stats()
[all …]
Dbnxt.h924 u64 *sw_stats; member
958 struct bnxt_sw_stats sw_stats; member