Searched refs:tx_sa (Results 1 – 5 of 5) sorted by relevance
298 struct macsec_tx_sa *tx_sa; member535 static u32 tx_sa_update_pn(struct macsec_tx_sa *tx_sa, struct macsec_secy *secy) in tx_sa_update_pn() argument539 spin_lock_bh(&tx_sa->lock); in tx_sa_update_pn()540 pn = tx_sa->next_pn; in tx_sa_update_pn()542 tx_sa->next_pn++; in tx_sa_update_pn()543 if (tx_sa->next_pn == 0) { in tx_sa_update_pn()545 tx_sa->active = false; in tx_sa_update_pn()549 spin_unlock_bh(&tx_sa->lock); in tx_sa_update_pn()564 struct macsec_tx_sa *tx_sa) in macsec_count_tx() argument572 this_cpu_inc(tx_sa->stats->OutPktsEncrypted); in macsec_count_tx()[all …]
35 struct tx_sa { struct54 struct tx_sa *tx_tbl; argument
113 struct tx_sa *t = &ipsec->tx_tbl[i]; in ixgbevf_ipsec_restore()335 struct tx_sa tsa; in ixgbevf_ipsec_add_sa()409 memset(&ipsec->tx_tbl[sa_idx], 0, sizeof(struct tx_sa)); in ixgbevf_ipsec_del_sa()454 struct tx_sa *tsa; in ixgbevf_ipsec_tx()630 size = sizeof(struct tx_sa) * IXGBE_IPSEC_MAX_SA_COUNT; in ixgbevf_init_ipsec_offload()
50 struct tx_sa { struct71 struct tx_sa *tx_tbl; argument
320 struct tx_sa *t = &ipsec->tx_tbl[i]; in ixgbe_ipsec_restore()695 struct tx_sa tsa; in ixgbe_ipsec_add_sa()798 memset(&ipsec->tx_tbl[sa_idx], 0, sizeof(struct tx_sa)); in ixgbe_ipsec_del_sa()1024 struct tx_sa *tsa; in ixgbe_ipsec_vf_del_sa()1069 struct tx_sa *tsa; in ixgbe_ipsec_tx()1251 size = sizeof(struct tx_sa) * IXGBE_IPSEC_MAX_SA_COUNT; in ixgbe_init_ipsec_offload()