Home
last modified time | relevance | path

Searched refs:tx_sa (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/net/
Dmacsec.c298 struct macsec_tx_sa *tx_sa; member
535 static u32 tx_sa_update_pn(struct macsec_tx_sa *tx_sa, struct macsec_secy *secy) in tx_sa_update_pn() argument
539 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() argument
572 this_cpu_inc(tx_sa->stats->OutPktsEncrypted); in macsec_count_tx()
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/ixgbevf/
Dipsec.h35 struct tx_sa { struct
54 struct tx_sa *tx_tbl; argument
Dipsec.c113 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()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ipsec.h50 struct tx_sa { struct
71 struct tx_sa *tx_tbl; argument
Dixgbe_ipsec.c320 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()