Home
last modified time | relevance | path

Searched refs:txsc_stats (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/aquantia/atlantic/
Daq_macsec.c1728 struct aq_macsec_tx_sc_stats *txsc_stats; in aq_macsec_get_stats() local
1773 txsc_stats = &aq_txsc->stats; in aq_macsec_get_stats()
1775 data[++i] = txsc_stats->sc_protected_pkts; in aq_macsec_get_stats()
1776 data[++i] = txsc_stats->sc_encrypted_pkts; in aq_macsec_get_stats()
1777 data[++i] = txsc_stats->sc_protected_octets; in aq_macsec_get_stats()
1778 data[++i] = txsc_stats->sc_encrypted_octets; in aq_macsec_get_stats()
/drivers/net/
Dmacsec.c503 struct pcpu_tx_sc_stats *txsc_stats = this_cpu_ptr(tx_sc->stats); in macsec_count_tx() local
505 u64_stats_update_begin(&txsc_stats->syncp); in macsec_count_tx()
507 txsc_stats->stats.OutOctetsEncrypted += skb->len; in macsec_count_tx()
508 txsc_stats->stats.OutPktsEncrypted++; in macsec_count_tx()
511 txsc_stats->stats.OutOctetsProtected += skb->len; in macsec_count_tx()
512 txsc_stats->stats.OutPktsProtected++; in macsec_count_tx()
515 u64_stats_update_end(&txsc_stats->syncp); in macsec_count_tx()