Home
last modified time | relevance | path

Searched refs:tx_sc (Results 1 – 7 of 7) sorted by relevance

/linux-6.3-rc2/drivers/net/
A Dmacsec.c292 const struct macsec_tx_sc *tx_sc = &secy->tx_sc; in macsec_fill_sectag() local
603 tx_sc = &secy->tx_sc; in macsec_encrypt()
1552 tx_sc = &secy->tx_sc; in get_txsa_from_nl()
1996 tx_sc = &secy->tx_sc; in macsec_add_txsa()
2573 struct macsec_tx_sc *tx_sc = &secy->tx_sc; in macsec_is_configured() local
2983 struct macsec_tx_sc *tx_sc = &secy->tx_sc; in nla_put_secy() local
3041 struct macsec_tx_sc *tx_sc = &secy->tx_sc; in dump_secy() local
3740 tx_sc = &secy->tx_sc; in macsec_changelink_common()
3833 memcpy(&tx_sc, &macsec->secy.tx_sc, sizeof(tx_sc)); in macsec_changelink()
3869 memcpy(&macsec->secy.tx_sc, &tx_sc, sizeof(tx_sc)); in macsec_changelink()
[all …]
/linux-6.3-rc2/include/net/
A Dmacsec.h243 struct macsec_tx_sc tx_sc; member
309 const struct macsec_tx_sc *tx_sc = &secy->tx_sc; in macsec_send_sci() local
311 return tx_sc->send_sci || in macsec_send_sci()
312 (secy->n_rx_sc > 1 && !tx_sc->end_station && !tx_sc->scb); in macsec_send_sci()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dmacsec.c473 if (!ctx->secy->tx_sc.encrypt) { in mlx5e_macsec_secy_features_validate()
511 const struct macsec_tx_sc *tx_sc = &ctx->secy->tx_sc; in mlx5e_macsec_add_txsa() local
561 assoc_num != tx_sc->encoding_sa || in mlx5e_macsec_add_txsa()
565 err = mlx5e_macsec_init_sa(ctx, tx_sa, tx_sc->encrypt, true); in mlx5e_macsec_add_txsa()
586 const struct macsec_tx_sc *tx_sc = &ctx->secy->tx_sc; in mlx5e_macsec_upd_txsa() local
625 if (tx_sa->assoc_num != tx_sc->encoding_sa) in mlx5e_macsec_upd_txsa()
629 err = mlx5e_macsec_init_sa(ctx, tx_sa, tx_sc->encrypt, true); in mlx5e_macsec_upd_txsa()
1187 const struct macsec_tx_sc *tx_sc = &ctx->secy->tx_sc; in mlx5e_macsec_upd_secy() local
1228 if (tx_sa->assoc_num == tx_sc->encoding_sa && tx_sa->active) { in mlx5e_macsec_upd_secy()
1229 err = mlx5e_macsec_init_sa(ctx, tx_sa, tx_sc->encrypt, true); in mlx5e_macsec_upd_secy()
A Dmacsec_fs.c461 const struct macsec_tx_sc *tx_sc; in macsec_fs_tx_create_sectag_header() local
463 tx_sc = &secy->tx_sc; in macsec_fs_tx_create_sectag_header()
471 if (tx_sc->end_station) in macsec_fs_tx_create_sectag_header()
473 if (tx_sc->scb) in macsec_fs_tx_create_sectag_header()
478 if (tx_sc->encrypt) in macsec_fs_tx_create_sectag_header()
483 sectag.tci_an |= tx_sc->encoding_sa; in macsec_fs_tx_create_sectag_header()
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/
A Daq_macsec.c344 if (secy->tx_sc.encrypt) in aq_set_txsc()
346 if (secy->tx_sc.scb) in aq_set_txsc()
348 if (secy->tx_sc.send_sci) in aq_set_txsc()
350 if (secy->tx_sc.end_station) in aq_set_txsc()
355 if (!(secy->icv_len == 16 && !secy->tx_sc.encrypt)) in aq_set_txsc()
375 sc_rec.curr_an = secy->tx_sc.encoding_sa; in aq_set_txsc()
503 ret = aq_clear_txsa(nic, tx_sc, sa_num, clear_type); in aq_clear_txsc()
516 tx_sc->hw_sc_idx); in aq_clear_txsc()
1074 tx_sa = rcu_dereference_bh(secy->tx_sc.sa[ctx->sa.assoc_num]); in aq_mdo_get_tx_sa_stats()
1187 tx_sa = rcu_dereference_bh(secy->tx_sc.sa[i]); in apply_txsc_cfg()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/nic/
A Dcn10k_macsec.c392 sw_tx_sc = &secy->tx_sc; in cn10k_mcs_write_tx_secy()
1052 sw_tx_sa = rcu_dereference_bh(secy->tx_sc.sa[sa_num]); in cn10k_mdo_open()
1101 txsc->encoding_sa = secy->tx_sc.encoding_sa; in cn10k_mdo_add_secy()
1127 txsc->encoding_sa = secy->tx_sc.encoding_sa; in cn10k_mdo_upd_secy()
1130 sw_tx_sa = rcu_dereference_bh(secy->tx_sc.sa[sa_num]); in cn10k_mdo_upd_secy()
1614 sw_tx_sa = rcu_dereference_bh(secy->tx_sc.sa[an]); in cn10k_handle_mcs_event()
/linux-6.3-rc2/drivers/net/phy/mscc/
A Dmscc_macsec.c438 if (priv->secy->tx_sc.encrypt) in vsc8584_macsec_flow()
440 if (priv->secy->tx_sc.send_sci) in vsc8584_macsec_flow()
546 (CONTROL_TYPE_EGRESS | CONTROL_AN(priv->secy->tx_sc.encoding_sa)) : in vsc8584_macsec_transformation()

Completed in 26 milliseconds