Searched refs:tx_sa (Results 1 – 9 of 9) sorted by relevance
/linux-5.19.10/drivers/net/ |
D | macsec.c | 144 struct macsec_tx_sa *tx_sa; member 453 struct macsec_tx_sa *tx_sa) in __macsec_pn_wrapped() argument 456 tx_sa->active = false; in __macsec_pn_wrapped() 461 void macsec_pn_wrapped(struct macsec_secy *secy, struct macsec_tx_sa *tx_sa) in macsec_pn_wrapped() argument 463 spin_lock_bh(&tx_sa->lock); in macsec_pn_wrapped() 464 __macsec_pn_wrapped(secy, tx_sa); in macsec_pn_wrapped() 465 spin_unlock_bh(&tx_sa->lock); in macsec_pn_wrapped() 469 static pn_t tx_sa_update_pn(struct macsec_tx_sa *tx_sa, in tx_sa_update_pn() argument 474 spin_lock_bh(&tx_sa->lock); in tx_sa_update_pn() 476 pn = tx_sa->next_pn_halves; in tx_sa_update_pn() [all …]
|
/linux-5.19.10/drivers/net/ethernet/intel/ixgbevf/ |
D | ipsec.h | 35 struct tx_sa { struct 54 struct tx_sa *tx_tbl; argument
|
D | ipsec.c | 113 struct tx_sa *t = &ipsec->tx_tbl[i]; in ixgbevf_ipsec_restore() 343 struct tx_sa tsa; in ixgbevf_ipsec_add_sa() 420 memset(&ipsec->tx_tbl[sa_idx], 0, sizeof(struct tx_sa)); in ixgbevf_ipsec_del_sa() 465 struct tx_sa *tsa; in ixgbevf_ipsec_tx() 642 size = sizeof(struct tx_sa) * IXGBE_IPSEC_MAX_SA_COUNT; in ixgbevf_init_ipsec_offload()
|
/linux-5.19.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ipsec.h | 50 struct tx_sa { struct 71 struct tx_sa *tx_tbl; argument
|
D | ixgbe_ipsec.c | 320 struct tx_sa *t = &ipsec->tx_tbl[i]; in ixgbe_ipsec_restore() 700 struct tx_sa tsa; in ixgbe_ipsec_add_sa() 803 memset(&ipsec->tx_tbl[sa_idx], 0, sizeof(struct tx_sa)); in ixgbe_ipsec_del_sa() 1029 struct tx_sa *tsa; in ixgbe_ipsec_vf_del_sa() 1074 struct tx_sa *tsa; in ixgbe_ipsec_tx() 1256 size = sizeof(struct tx_sa) * IXGBE_IPSEC_MAX_SA_COUNT; in ixgbe_init_ipsec_offload()
|
/linux-5.19.10/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_macsec.c | 559 const struct macsec_tx_sa *tx_sa, in aq_update_txsa() argument 562 const u32 next_pn = tx_sa->next_pn_halves.lower; in aq_update_txsa() 570 sa_rec.valid = tx_sa->active; in aq_update_txsa() 615 ctx->sa.tx_sa, ctx->sa.key, in aq_mdo_add_txsa() 640 ctx->sa.tx_sa, NULL, ctx->sa.assoc_num); in aq_mdo_upd_txsa() 1099 struct macsec_tx_sa *tx_sa; in aq_mdo_get_tx_sa_stats() local 1123 tx_sa = rcu_dereference_bh(secy->tx_sc.sa[ctx->sa.assoc_num]); in aq_mdo_get_tx_sa_stats() 1126 spin_lock_bh(&tx_sa->lock); in aq_mdo_get_tx_sa_stats() 1127 tx_sa->next_pn = next_pn; in aq_mdo_get_tx_sa_stats() 1128 spin_unlock_bh(&tx_sa->lock); in aq_mdo_get_tx_sa_stats() [all …]
|
/linux-5.19.10/include/net/ |
D | macsec.h | 247 struct macsec_tx_sa *tx_sa; member 291 void macsec_pn_wrapped(struct macsec_secy *secy, struct macsec_tx_sa *tx_sa);
|
/linux-5.19.10/drivers/net/phy/mscc/ |
D | mscc_macsec.c | 468 (flow->bank == MACSEC_EGR && flow->tx_sa && !flow->tx_sa->active)) in vsc8584_macsec_flow_enable() 577 flow->rx_sa->next_pn : flow->tx_sa->next_pn); in vsc8584_macsec_transformation() 745 flow->tx_sa = ctx->sa.tx_sa; in __vsc8584_macsec_add_txsa() 1021 macsec_pn_wrapped(priv->secy, flow->tx_sa); in vsc8584_handle_macsec_interrupt()
|
D | mscc_macsec.h | 88 struct macsec_tx_sa *tx_sa; member
|