Searched refs:txsc_stats (Results 1 – 2 of 2) sorted by relevance
1682 struct aq_macsec_tx_sc_stats *txsc_stats; in aq_macsec_get_stats() local1725 txsc_stats = &aq_txsc->stats; in aq_macsec_get_stats()1727 data[++i] = txsc_stats->sc_protected_pkts; in aq_macsec_get_stats()1728 data[++i] = txsc_stats->sc_encrypted_pkts; in aq_macsec_get_stats()1729 data[++i] = txsc_stats->sc_protected_octets; in aq_macsec_get_stats()1730 data[++i] = txsc_stats->sc_encrypted_octets; in aq_macsec_get_stats()
502 struct pcpu_tx_sc_stats *txsc_stats = this_cpu_ptr(tx_sc->stats); in macsec_count_tx() local504 u64_stats_update_begin(&txsc_stats->syncp); in macsec_count_tx()506 txsc_stats->stats.OutOctetsEncrypted += skb->len; in macsec_count_tx()507 txsc_stats->stats.OutPktsEncrypted++; in macsec_count_tx()510 txsc_stats->stats.OutOctetsProtected += skb->len; in macsec_count_tx()511 txsc_stats->stats.OutPktsProtected++; in macsec_count_tx()514 u64_stats_update_end(&txsc_stats->syncp); in macsec_count_tx()