Searched refs:sw_stats (Results 1 – 10 of 10) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ktls_tx.c | 99 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 …]
|
D | ipsec_rxtx.c | 272 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_bundle); in mlx5e_ipsec_handle_tx_skb() 278 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_no_state); in mlx5e_ipsec_handle_tx_skb() 285 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_not_ip); in mlx5e_ipsec_handle_tx_skb() 291 atomic64_inc(&priv->ipsec->sw_stats.ipsec_tx_drop_trailer); in mlx5e_ipsec_handle_tx_skb() 327 atomic64_inc(&priv->ipsec->sw_stats.ipsec_rx_drop_sp_alloc); in mlx5e_ipsec_offload_handle_rx_skb() 333 atomic64_inc(&priv->ipsec->sw_stats.ipsec_rx_drop_sadb_miss); in mlx5e_ipsec_offload_handle_rx_skb() 354 atomic64_inc(&priv->ipsec->sw_stats.ipsec_rx_drop_syndrome); in mlx5e_ipsec_offload_handle_rx_skb()
|
D | ktls_rx.c | 50 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()
|
D | ipsec_stats.c | 79 data[idx++] = MLX5E_READ_CTR_ATOMIC64(&priv->ipsec->sw_stats, in MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS()
|
D | ktls_stats.c | 87 data[idx++] = MLX5E_READ_CTR_ATOMIC64(&priv->tls->sw_stats, in mlx5e_ktls_get_stats()
|
D | ktls.h | 76 struct mlx5e_tls_sw_stats sw_stats; member
|
D | ipsec.h | 111 struct mlx5e_ipsec_sw_stats sw_stats; member
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 601 u64 *sw_stats = cpr->stats.sw_stats; in bnxt_get_ethtool_stats() local 607 buf[j] = sw_stats[k]; in bnxt_get_ethtool_stats() 613 buf[j] = sw_stats[k]; in bnxt_get_ethtool_stats() 621 buf[j] = sw_stats[k]; in bnxt_get_ethtool_stats() 624 sw = (u64 *)&cpr->sw_stats.rx; in bnxt_get_ethtool_stats() 630 sw = (u64 *)&cpr->sw_stats.cmn; in bnxt_get_ethtool_stats() 635 BNXT_GET_RING_STATS64(sw_stats, rx_discard_pkts); in bnxt_get_ethtool_stats() 637 BNXT_GET_RING_STATS64(sw_stats, tx_discard_pkts); in bnxt_get_ethtool_stats() 639 cpr->sw_stats.rx.rx_netpoll_discards; in bnxt_get_ethtool_stats() 647 u64 *port_stats = bp->port_stats.sw_stats; in bnxt_get_ethtool_stats() [all …]
|
D | bnxt.c | 1700 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end() 1710 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end() 1726 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end() 1737 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_tpa_end() 1932 bnapi->cp_ring.sw_stats.rx.rx_buf_errors++; in bnxt_rx_pkt() 1954 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() 1994 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_rx_pkt() 2004 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_rx_pkt() 2013 cpr->sw_stats.rx.rx_oom_discards += 1; in bnxt_rx_pkt() [all …]
|
D | bnxt.h | 971 u64 *sw_stats; member 1005 struct bnxt_sw_stats sw_stats; member
|