Home
last modified time | relevance | path

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

/linux-6.12.1/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()
321 atomic64_inc(&ipsec->sw_stats.ipsec_rx_drop_sp_alloc); in mlx5e_ipsec_offload_handle_rx_skb()
329 atomic64_inc(&ipsec->sw_stats.ipsec_rx_drop_sadb_miss); in mlx5e_ipsec_offload_handle_rx_skb()
354 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
653 priv_rx->sw_stats = &priv->tls->sw_stats; in mlx5e_ktls_add_rx()
672 atomic64_inc(&priv_rx->sw_stats->rx_tls_ctx); in mlx5e_ktls_add_rx()
706 atomic64_inc(&priv_rx->sw_stats->rx_tls_del); in mlx5e_ktls_del_rx()
Dktls_stats.c86 MLX5E_READ_CTR_ATOMIC64(&priv->tls->sw_stats, in mlx5e_ktls_get_stats()
Dipsec_stats.c126 &priv->ipsec->sw_stats, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
Dktls.h87 struct mlx5e_tls_sw_stats sw_stats; member
Dipsec.h229 struct mlx5e_ipsec_sw_stats sw_stats; member
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c611 u64 *sw_stats = cpr->stats.sw_stats; in bnxt_get_ethtool_stats() local
617 buf[j] = sw_stats[k]; in bnxt_get_ethtool_stats()
623 buf[j] = sw_stats[k]; in bnxt_get_ethtool_stats()
631 buf[j] = sw_stats[k]; in bnxt_get_ethtool_stats()
634 sw = (u64 *)&cpr->sw_stats->rx; in bnxt_get_ethtool_stats()
640 sw = (u64 *)&cpr->sw_stats->cmn; in bnxt_get_ethtool_stats()
654 u64 *port_stats = bp->port_stats.sw_stats; in bnxt_get_ethtool_stats()
660 u64 *rx_port_stats_ext = bp->rx_port_stats_ext.sw_stats; in bnxt_get_ethtool_stats()
661 u64 *tx_port_stats_ext = bp->tx_port_stats_ext.sw_stats; in bnxt_get_ethtool_stats()
3139 rx = bp->rx_port_stats_ext.sw_stats; in bnxt_get_fec_stats()
[all …]
Dbnxt.c1836 cpr->sw_stats->rx.rx_oom_discards += 1; in bnxt_tpa_end()
1846 cpr->sw_stats->rx.rx_oom_discards += 1; in bnxt_tpa_end()
1862 cpr->sw_stats->rx.rx_oom_discards += 1; in bnxt_tpa_end()
1873 cpr->sw_stats->rx.rx_oom_discards += 1; in bnxt_tpa_end()
2131 bnapi->cp_ring.sw_stats->rx.rx_buf_errors++; in bnxt_rx_pkt()
2247 bnapi->cp_ring.sw_stats->rx.rx_l4_csum_errors++; in bnxt_rx_pkt()
2285 cpr->sw_stats->rx.rx_oom_discards += 1; in bnxt_rx_pkt()
2334 cpr->sw_stats->rx.rx_netpoll_discards += 1; in bnxt_force_rx_discard()
3973 cpr2->sw_stats = cpr->sw_stats; in bnxt_alloc_cp_rings()
4731 kfree(stats->sw_stats); in bnxt_free_stats_mem()
[all …]
Dbnxt.h1145 u64 *sw_stats; member
1184 struct bnxt_sw_stats *sw_stats; member