Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.c363 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_bundle); in mlx5e_ipsec_handle_tx_skb()
369 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_no_state); in mlx5e_ipsec_handle_tx_skb()
376 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_not_ip); in mlx5e_ipsec_handle_tx_skb()
382 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_trailer); in mlx5e_ipsec_handle_tx_skb()
389 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_metadata); in mlx5e_ipsec_handle_tx_skb()
420 atomic64_inc(&priv->ipsec->sw_stats.ipsec_rx_drop_sp_alloc); in mlx5e_ipsec_build_sp()
427 atomic64_inc(&priv->ipsec->sw_stats.ipsec_rx_drop_sadb_miss); in mlx5e_ipsec_build_sp()
452 atomic64_inc(&priv->ipsec->sw_stats.ipsec_rx_drop_syndrome); in mlx5e_ipsec_build_sp()
502 atomic64_inc(&priv->ipsec->sw_stats.ipsec_rx_drop_sp_alloc); in mlx5e_ipsec_offload_handle_rx_skb()
508 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()
288 atomic64_inc(&priv->tls->sw_stats.tx_tls_drop_metadata); in mlx5e_tls_handle_tx_skb()
334 atomic64_inc(&priv->tls->sw_stats.rx_tls_drop_resync_request); in tls_update_resync_sn()
363 atomic64_inc(&priv->tls->sw_stats.rx_tls_resync_request); in mlx5e_tls_handle_rx_skb_metadata()
368 atomic64_inc(&priv->tls->sw_stats.rx_tls_auth_fail); in mlx5e_tls_handle_rx_skb_metadata()
Dktls_tx.c57 struct mlx5e_tls_sw_stats *sw_stats; member
107 priv_tx->sw_stats = &priv->tls->sw_stats; in mlx5e_ktls_add_tx()
120 atomic64_inc(&priv_tx->sw_stats->tx_tls_ctx); in mlx5e_ktls_add_tx()
141 atomic64_inc(&priv_tx->sw_stats->tx_tls_del); in mlx5e_ktls_del_tx()
Dktls_rx.c50 struct mlx5e_tls_sw_stats *sw_stats; member
628 priv_rx->sw_stats = &priv->tls->sw_stats; in mlx5e_ktls_add_rx()
649 atomic64_inc(&priv_rx->sw_stats->rx_tls_ctx); in mlx5e_ktls_add_rx()
685 atomic64_inc(&priv_rx->sw_stats->rx_tls_del); in mlx5e_ktls_del_rx()
Dtls_stats.c101 MLX5E_READ_CTR_ATOMIC64(&priv->tls->sw_stats, in mlx5e_tls_get_stats()
Dipsec.h87 struct mlx5e_ipsec_sw_stats sw_stats; member
Dtls.h59 struct mlx5e_tls_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.15/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()
4628 vpath->sw_stats = NULL; in __vxge_hw_vp_terminate()
4677 vpath->sw_stats = &hldev->stats.sw_dev_info_stats.vpath_info[vp_id]; in __vxge_hw_vp_initialize()
5024 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.15/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c572 u64 *sw_stats = cpr->stats.sw_stats; in bnxt_get_ethtool_stats() local
578 buf[j] = sw_stats[k]; in bnxt_get_ethtool_stats()
584 buf[j] = sw_stats[k]; in bnxt_get_ethtool_stats()
592 buf[j] = sw_stats[k]; in bnxt_get_ethtool_stats()
595 sw = (u64 *)&cpr->sw_stats.rx; in bnxt_get_ethtool_stats()
601 sw = (u64 *)&cpr->sw_stats.cmn; in bnxt_get_ethtool_stats()
606 BNXT_GET_RING_STATS64(sw_stats, rx_discard_pkts); in bnxt_get_ethtool_stats()
608 BNXT_GET_RING_STATS64(sw_stats, tx_discard_pkts); in bnxt_get_ethtool_stats()
610 cpr->sw_stats.rx.rx_netpoll_discards; in bnxt_get_ethtool_stats()
618 u64 *port_stats = bp->port_stats.sw_stats; in bnxt_get_ethtool_stats()
[all …]
Dbnxt.c1658 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end()
1668 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end()
1684 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end()
1695 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end()
1872 bnapi->cp_ring.sw_stats.rx.rx_buf_errors++; in bnxt_rx_pkt()
1899 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_rx_pkt()
1913 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_rx_pkt()
1922 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_rx_pkt()
1966 bnapi->cp_ring.sw_stats.rx.rx_l4_csum_errors++; in bnxt_rx_pkt()
2048 cpr->sw_stats.rx.rx_netpoll_discards += 1; in bnxt_force_rx_discard()
[all …]
Dbnxt.h932 u64 *sw_stats; member
966 struct bnxt_sw_stats sw_stats; member