Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/
Daq_macsec.c1671 struct aq_macsec_tx_sc_stats *txsc_stats; in aq_macsec_get_stats() local
1716 txsc_stats = &aq_txsc->stats; in aq_macsec_get_stats()
1718 data[++i] = txsc_stats->sc_protected_pkts; in aq_macsec_get_stats()
1719 data[++i] = txsc_stats->sc_encrypted_pkts; in aq_macsec_get_stats()
1720 data[++i] = txsc_stats->sc_protected_octets; in aq_macsec_get_stats()
1721 data[++i] = txsc_stats->sc_encrypted_octets; in aq_macsec_get_stats()
/linux-6.6.21/drivers/net/
Dmacsec.c504 struct pcpu_tx_sc_stats *txsc_stats = this_cpu_ptr(tx_sc->stats); in macsec_count_tx() local
506 u64_stats_update_begin(&txsc_stats->syncp); in macsec_count_tx()
508 txsc_stats->stats.OutOctetsEncrypted += msdu_len; in macsec_count_tx()
509 txsc_stats->stats.OutPktsEncrypted++; in macsec_count_tx()
512 txsc_stats->stats.OutOctetsProtected += msdu_len; in macsec_count_tx()
513 txsc_stats->stats.OutPktsProtected++; in macsec_count_tx()
516 u64_stats_update_end(&txsc_stats->syncp); in macsec_count_tx()