Searched refs:tx_sa (Results 1 – 3 of 3) sorted by relevance
303 struct macsec_tx_sa *tx_sa; member540 static u32 tx_sa_update_pn(struct macsec_tx_sa *tx_sa, struct macsec_secy *secy) in tx_sa_update_pn() argument544 spin_lock_bh(&tx_sa->lock); in tx_sa_update_pn()545 pn = tx_sa->next_pn; in tx_sa_update_pn()547 tx_sa->next_pn++; in tx_sa_update_pn()548 if (tx_sa->next_pn == 0) { in tx_sa_update_pn()550 tx_sa->active = false; in tx_sa_update_pn()554 spin_unlock_bh(&tx_sa->lock); in tx_sa_update_pn()569 struct macsec_tx_sa *tx_sa) in macsec_count_tx() argument577 this_cpu_inc(tx_sa->stats->OutPktsEncrypted); in macsec_count_tx()[all …]
48 struct tx_sa { struct67 struct tx_sa *tx_tbl; argument
319 struct tx_sa *tsa = &ipsec->tx_tbl[i]; in ixgbe_ipsec_restore()677 struct tx_sa tsa; in ixgbe_ipsec_add_sa()776 memset(&ipsec->tx_tbl[sa_idx], 0, sizeof(struct tx_sa)); in ixgbe_ipsec_del_sa()826 struct tx_sa *tsa; in ixgbe_ipsec_tx()1006 size = sizeof(struct tx_sa) * IXGBE_IPSEC_MAX_SA_COUNT; in ixgbe_init_ipsec_offload()