Searched refs:tx_sa (Results 1 – 11 of 11) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
A D | macsec.c | 538 tx_sa = kzalloc(sizeof(*tx_sa), GFP_KERNEL); in mlx5e_macsec_add_txsa() 539 if (!tx_sa) { in mlx5e_macsec_add_txsa() 559 macsec_device->tx_sa[assoc_num] = tx_sa; in mlx5e_macsec_add_txsa() 577 kfree(tx_sa); in mlx5e_macsec_add_txsa() 607 tx_sa = macsec_device->tx_sa[assoc_num]; in mlx5e_macsec_upd_txsa() 664 tx_sa = macsec_device->tx_sa[assoc_num]; in mlx5e_macsec_del_txsa() 1216 tx_sa = macsec_device->tx_sa[i]; in mlx5e_macsec_upd_secy() 1217 if (!tx_sa) in mlx5e_macsec_upd_secy() 1224 tx_sa = macsec_device->tx_sa[i]; in mlx5e_macsec_upd_secy() 1225 if (!tx_sa) in mlx5e_macsec_upd_secy() [all …]
|
/linux-6.3-rc2/drivers/net/ |
A D | macsec.c | 607 if (!tx_sa) { in macsec_encrypt() 703 macsec_skb_cb(skb)->tx_sa = tx_sa; in macsec_encrypt() 1555 if (!tx_sa) in get_txsa_from_nl() 2031 if (tx_sa) { in macsec_add_txsa() 2036 tx_sa = kmalloc(sizeof(*tx_sa), GFP_KERNEL); in macsec_add_txsa() 2079 ctx.sa.tx_sa = tx_sa; in macsec_add_txsa() 2275 ctx.sa.tx_sa = tx_sa; in macsec_del_txsa() 2387 ctx.sa.tx_sa = tx_sa; in macsec_upd_txsa() 2687 ctx.sa.tx_sa = tx_sa; in get_tx_sa_stats() 3098 if (!tx_sa) in dump_secy() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbevf/ |
A D | ipsec.h | 35 struct tx_sa { struct 54 struct tx_sa *tx_tbl; argument
|
A D | ipsec.c | 113 struct tx_sa *t = &ipsec->tx_tbl[i]; in ixgbevf_ipsec_restore() 349 struct tx_sa tsa; in ixgbevf_ipsec_add_sa() 426 memset(&ipsec->tx_tbl[sa_idx], 0, sizeof(struct tx_sa)); in ixgbevf_ipsec_del_sa() 471 struct tx_sa *tsa; in ixgbevf_ipsec_tx() 648 size = sizeof(struct tx_sa) * IXGBE_IPSEC_MAX_SA_COUNT; in ixgbevf_init_ipsec_offload()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_ipsec.h | 50 struct tx_sa { struct 71 struct tx_sa *tx_tbl; argument
|
A D | ixgbe_ipsec.c | 320 struct tx_sa *t = &ipsec->tx_tbl[i]; in ixgbe_ipsec_restore() 706 struct tx_sa tsa; in ixgbe_ipsec_add_sa() 809 memset(&ipsec->tx_tbl[sa_idx], 0, sizeof(struct tx_sa)); in ixgbe_ipsec_del_sa() 1035 struct tx_sa *tsa; in ixgbe_ipsec_vf_del_sa() 1080 struct tx_sa *tsa; in ixgbe_ipsec_tx() 1262 size = sizeof(struct tx_sa) * IXGBE_IPSEC_MAX_SA_COUNT; in ixgbe_init_ipsec_offload()
|
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/ |
A D | aq_macsec.c | 544 const struct macsec_tx_sa *tx_sa, in aq_update_txsa() argument 555 sa_rec.valid = tx_sa->active; in aq_update_txsa() 598 ctx->sa.tx_sa, ctx->sa.key, in aq_mdo_add_txsa() 1053 struct macsec_tx_sa *tx_sa; in aq_mdo_get_tx_sa_stats() local 1077 spin_lock_bh(&tx_sa->lock); in aq_mdo_get_tx_sa_stats() 1078 tx_sa->next_pn = next_pn; in aq_mdo_get_tx_sa_stats() 1079 spin_unlock_bh(&tx_sa->lock); in aq_mdo_get_tx_sa_stats() 1175 struct macsec_tx_sa *tx_sa; in apply_txsc_cfg() local 1188 if (tx_sa) { in apply_txsc_cfg() 1190 tx_sa, aq_txsc->tx_sa_key[i], i); in apply_txsc_cfg() [all …]
|
/linux-6.3-rc2/include/net/ |
A D | macsec.h | 264 struct macsec_tx_sa *tx_sa; member 306 void macsec_pn_wrapped(struct macsec_secy *secy, struct macsec_tx_sa *tx_sa);
|
/linux-6.3-rc2/drivers/net/phy/mscc/ |
A 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() 725 flow->tx_sa = ctx->sa.tx_sa; in __vsc8584_macsec_add_txsa() 990 macsec_pn_wrapped(priv->secy, flow->tx_sa); in vsc8584_handle_macsec_interrupt()
|
A D | mscc_macsec.h | 86 struct macsec_tx_sa *tx_sa; member
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | cn10k_macsec.c | 1165 struct macsec_tx_sa *sw_tx_sa = ctx->sa.tx_sa; in cn10k_mdo_add_txsa() 1207 struct macsec_tx_sa *sw_tx_sa = ctx->sa.tx_sa; in cn10k_mdo_upd_txsa()
|
Completed in 42 milliseconds