Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A 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()
/openbmc/linux/drivers/net/
H A Dmacsec.c491 struct pcpu_tx_sc_stats *txsc_stats = this_cpu_ptr(tx_sc->stats); in macsec_count_tx() local
493 u64_stats_update_begin(&txsc_stats->syncp); in macsec_count_tx()
495 txsc_stats->stats.OutOctetsEncrypted += msdu_len; in macsec_count_tx()
496 txsc_stats->stats.OutPktsEncrypted++; in macsec_count_tx()
499 txsc_stats->stats.OutOctetsProtected += msdu_len; in macsec_count_tx()
500 txsc_stats->stats.OutPktsProtected++; in macsec_count_tx()
503 u64_stats_update_end(&txsc_stats->syncp); in macsec_count_tx()