Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_tx.c100 struct mlx5e_tls_sw_stats *sw_stats; member
193 mlx5e_tls_priv_tx_init(struct mlx5_core_dev *mdev, struct mlx5e_tls_sw_stats *sw_stats, in mlx5e_tls_priv_tx_init() argument
204 priv_tx->sw_stats = sw_stats; in mlx5e_tls_priv_tx_init()
268 struct mlx5e_tls_sw_stats *sw_stats; member
292 obj = mlx5e_tls_priv_tx_init(pool->mdev, pool->sw_stats, &bulk_async->arr[i]); in create_work()
306 atomic64_add(i, &pool->sw_stats->tx_tls_pool_alloc); in create_work()
325 atomic64_add(i, &pool->sw_stats->tx_tls_pool_free); in create_work()
353 atomic64_add(MLX5E_TLS_TX_POOL_BULK, &pool->sw_stats->tx_tls_pool_free); in destroy_work()
357 struct mlx5e_tls_sw_stats *sw_stats) in mlx5e_tls_tx_pool_init() argument
378 pool->sw_stats = sw_stats; in mlx5e_tls_tx_pool_init()
[all …]
Dipsec_rxtx.c273 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_bundle); in mlx5e_ipsec_handle_tx_skb()
279 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_no_state); in mlx5e_ipsec_handle_tx_skb()
286 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_not_ip); in mlx5e_ipsec_handle_tx_skb()
292 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_trailer); in mlx5e_ipsec_handle_tx_skb()
327 atomic64_inc(&ipsec->sw_stats.ipsec_rx_drop_sp_alloc); in mlx5e_ipsec_offload_handle_rx_skb()
335 atomic64_inc(&ipsec->sw_stats.ipsec_rx_drop_sadb_miss); in mlx5e_ipsec_offload_handle_rx_skb()
358 atomic64_inc(&ipsec->sw_stats.ipsec_rx_drop_syndrome); in mlx5e_ipsec_offload_handle_rx_skb()
373 atomic64_inc(&ipsec->sw_stats.ipsec_rx_drop_sadb_miss); in mlx5_esw_ipsec_rx_make_metadata()
Dktls_rx.c50 struct mlx5e_tls_sw_stats *sw_stats; member
655 priv_rx->sw_stats = &priv->tls->sw_stats; in mlx5e_ktls_add_rx()
674 atomic64_inc(&priv_rx->sw_stats->rx_tls_ctx); in mlx5e_ktls_add_rx()
708 atomic64_inc(&priv_rx->sw_stats->rx_tls_del); in mlx5e_ktls_del_rx()
Dktls_stats.c87 data[idx++] = MLX5E_READ_CTR_ATOMIC64(&priv->tls->sw_stats, in mlx5e_ktls_get_stats()
Dipsec_stats.c130 data[idx++] = MLX5E_READ_CTR_ATOMIC64(&priv->ipsec->sw_stats, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
Dktls.h85 struct mlx5e_tls_sw_stats sw_stats; member
Dipsec.h227 struct mlx5e_ipsec_sw_stats sw_stats; member
/Linux-v6.6/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c604 u64 *sw_stats = cpr->stats.sw_stats; in bnxt_get_ethtool_stats() local
610 buf[j] = sw_stats[k]; in bnxt_get_ethtool_stats()
616 buf[j] = sw_stats[k]; in bnxt_get_ethtool_stats()
624 buf[j] = sw_stats[k]; in bnxt_get_ethtool_stats()
627 sw = (u64 *)&cpr->sw_stats.rx; in bnxt_get_ethtool_stats()
633 sw = (u64 *)&cpr->sw_stats.cmn; in bnxt_get_ethtool_stats()
647 u64 *port_stats = bp->port_stats.sw_stats; in bnxt_get_ethtool_stats()
653 u64 *rx_port_stats_ext = bp->rx_port_stats_ext.sw_stats; in bnxt_get_ethtool_stats()
654 u64 *tx_port_stats_ext = bp->tx_port_stats_ext.sw_stats; in bnxt_get_ethtool_stats()
2008 rx = bp->rx_port_stats_ext.sw_stats; in bnxt_get_fec_stats()
[all …]
Dbnxt.c1662 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end()
1672 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end()
1688 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end()
1699 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end()
1879 bnapi->cp_ring.sw_stats.rx.rx_buf_errors++; in bnxt_rx_pkt()
1901 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_rx_pkt()
1927 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_rx_pkt()
1941 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_rx_pkt()
1951 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_rx_pkt()
1960 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_rx_pkt()
[all …]
Dbnxt.h969 u64 *sw_stats; member
1003 struct bnxt_sw_stats sw_stats; member