Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_tx.c99 struct mlx5e_tls_sw_stats *sw_stats; member
198 mlx5e_tls_priv_tx_init(struct mlx5_core_dev *mdev, struct mlx5e_tls_sw_stats *sw_stats, in mlx5e_tls_priv_tx_init() argument
209 priv_tx->sw_stats = sw_stats; in mlx5e_tls_priv_tx_init()
279 struct mlx5e_tls_sw_stats *sw_stats; member
303 obj = mlx5e_tls_priv_tx_init(pool->mdev, pool->sw_stats, &bulk_async[i]); in create_work()
318 atomic64_add(i, &pool->sw_stats->tx_tls_pool_alloc); in create_work()
337 atomic64_add(i, &pool->sw_stats->tx_tls_pool_free); in create_work()
365 atomic64_add(MLX5E_TLS_TX_POOL_BULK, &pool->sw_stats->tx_tls_pool_free); in destroy_work()
369 struct mlx5e_tls_sw_stats *sw_stats) in mlx5e_tls_tx_pool_init() argument
390 pool->sw_stats = sw_stats; in mlx5e_tls_tx_pool_init()
[all …]
Dipsec_rxtx.c270 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_bundle); in mlx5e_ipsec_handle_tx_skb()
276 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_no_state); in mlx5e_ipsec_handle_tx_skb()
283 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_not_ip); in mlx5e_ipsec_handle_tx_skb()
289 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_trailer); in mlx5e_ipsec_handle_tx_skb()
325 atomic64_inc(&priv->ipsec->sw_stats.ipsec_rx_drop_sp_alloc); in mlx5e_ipsec_offload_handle_rx_skb()
331 atomic64_inc(&priv->ipsec->sw_stats.ipsec_rx_drop_sadb_miss); in mlx5e_ipsec_offload_handle_rx_skb()
352 atomic64_inc(&priv->ipsec->sw_stats.ipsec_rx_drop_syndrome); in mlx5e_ipsec_offload_handle_rx_skb()
Dipsec_stats.c79 data[idx++] = MLX5E_READ_CTR_ATOMIC64(&priv->ipsec->sw_stats, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
Dktls_rx.c50 struct mlx5e_tls_sw_stats *sw_stats; member
650 priv_rx->sw_stats = &priv->tls->sw_stats; in mlx5e_ktls_add_rx()
669 atomic64_inc(&priv_rx->sw_stats->rx_tls_ctx); in mlx5e_ktls_add_rx()
705 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()
Dktls.h76 struct mlx5e_tls_sw_stats sw_stats; member
Dipsec.h112 struct mlx5e_ipsec_sw_stats sw_stats; member
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c602 u64 *sw_stats = cpr->stats.sw_stats; in bnxt_get_ethtool_stats() local
608 buf[j] = sw_stats[k]; in bnxt_get_ethtool_stats()
614 buf[j] = sw_stats[k]; in bnxt_get_ethtool_stats()
622 buf[j] = sw_stats[k]; in bnxt_get_ethtool_stats()
625 sw = (u64 *)&cpr->sw_stats.rx; in bnxt_get_ethtool_stats()
631 sw = (u64 *)&cpr->sw_stats.cmn; in bnxt_get_ethtool_stats()
636 BNXT_GET_RING_STATS64(sw_stats, rx_discard_pkts); in bnxt_get_ethtool_stats()
638 BNXT_GET_RING_STATS64(sw_stats, tx_discard_pkts); in bnxt_get_ethtool_stats()
640 cpr->sw_stats.rx.rx_netpoll_discards; in bnxt_get_ethtool_stats()
648 u64 *port_stats = bp->port_stats.sw_stats; in bnxt_get_ethtool_stats()
[all …]
Dbnxt.c1692 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end()
1702 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end()
1718 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end()
1729 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end()
1908 bnapi->cp_ring.sw_stats.rx.rx_buf_errors++; in bnxt_rx_pkt()
1930 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_rx_pkt()
1956 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_rx_pkt()
1970 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_rx_pkt()
1980 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_rx_pkt()
1989 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_rx_pkt()
[all …]
Dbnxt.h954 u64 *sw_stats; member
988 struct bnxt_sw_stats sw_stats; member