drivers/net/ethernet/aquantia/atlantic/aq_macsec.c
1053
struct macsec_tx_sa *tx_sa;
drivers/net/ethernet/aquantia/atlantic/aq_macsec.c
1074
tx_sa = rcu_dereference_bh(secy->tx_sc.sa[ctx->sa.assoc_num]);
drivers/net/ethernet/aquantia/atlantic/aq_macsec.c
1077
spin_lock_bh(&tx_sa->lock);
drivers/net/ethernet/aquantia/atlantic/aq_macsec.c
1078
tx_sa->next_pn = next_pn;
drivers/net/ethernet/aquantia/atlantic/aq_macsec.c
1079
spin_unlock_bh(&tx_sa->lock);
drivers/net/ethernet/aquantia/atlantic/aq_macsec.c
1175
struct macsec_tx_sa *tx_sa;
drivers/net/ethernet/aquantia/atlantic/aq_macsec.c
1187
tx_sa = rcu_dereference_bh(secy->tx_sc.sa[i]);
drivers/net/ethernet/aquantia/atlantic/aq_macsec.c
1188
if (tx_sa) {
drivers/net/ethernet/aquantia/atlantic/aq_macsec.c
1190
tx_sa, aq_txsc->tx_sa_key[i], i);
drivers/net/ethernet/aquantia/atlantic/aq_macsec.c
1346
struct macsec_tx_sa *tx_sa;
drivers/net/ethernet/aquantia/atlantic/aq_macsec.c
1388
tx_sa = rcu_dereference_bh(secy->tx_sc.sa[an]);
drivers/net/ethernet/aquantia/atlantic/aq_macsec.c
1389
macsec_pn_wrapped((struct macsec_secy *)secy, tx_sa);
drivers/net/ethernet/aquantia/atlantic/aq_macsec.c
544
const struct macsec_tx_sa *tx_sa,
drivers/net/ethernet/aquantia/atlantic/aq_macsec.c
547
const u32 next_pn = tx_sa->next_pn_halves.lower;
drivers/net/ethernet/aquantia/atlantic/aq_macsec.c
555
sa_rec.valid = tx_sa->active;
drivers/net/ethernet/aquantia/atlantic/aq_macsec.c
598
ctx->sa.tx_sa, ctx->sa.key,
drivers/net/ethernet/aquantia/atlantic/aq_macsec.c
620
ctx->sa.tx_sa, NULL, ctx->sa.assoc_num);
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
1019
struct tx_sa *tsa;
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
1064
struct tx_sa *tsa;
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
1246
size = sizeof(struct tx_sa) * IXGBE_IPSEC_MAX_SA_COUNT;
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
320
struct tx_sa *t = &ipsec->tx_tbl[i];
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
709
struct tx_sa tsa;
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
812
memset(&ipsec->tx_tbl[sa_idx], 0, sizeof(struct tx_sa));
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h
71
struct tx_sa *tx_tbl;
drivers/net/ethernet/intel/ixgbevf/ipsec.c
113
struct tx_sa *t = &ipsec->tx_tbl[i];
drivers/net/ethernet/intel/ixgbevf/ipsec.c
355
struct tx_sa tsa;
drivers/net/ethernet/intel/ixgbevf/ipsec.c
437
memset(&ipsec->tx_tbl[sa_idx], 0, sizeof(struct tx_sa));
drivers/net/ethernet/intel/ixgbevf/ipsec.c
461
struct tx_sa *tsa;
drivers/net/ethernet/intel/ixgbevf/ipsec.c
641
size = sizeof(struct tx_sa) * IXGBE_IPSEC_MAX_SA_COUNT;
drivers/net/ethernet/intel/ixgbevf/ipsec.h
54
struct tx_sa *tx_tbl;
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1298
struct macsec_tx_sa *sw_tx_sa = ctx->sa.tx_sa;
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
1343
struct macsec_tx_sa *sw_tx_sa = ctx->sa.tx_sa;
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
109
struct mlx5e_macsec_sa *tx_sa[MACSEC_NUM_AN];
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
1177
struct mlx5e_macsec_sa *tx_sa;
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
1202
tx_sa = macsec_device->tx_sa[i];
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
1203
if (!tx_sa)
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
1206
mlx5e_macsec_cleanup_sa_fs(macsec, tx_sa, true, ctx->secy->netdev, 0);
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
1210
tx_sa = macsec_device->tx_sa[i];
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
1211
if (!tx_sa)
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
1214
if (tx_sa->assoc_num == tx_sc->encoding_sa && tx_sa->active) {
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
1215
err = mlx5e_macsec_init_sa_fs(ctx, tx_sa, tx_sc->encrypt, true, NULL);
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
1232
struct mlx5e_macsec_sa *tx_sa;
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
1249
tx_sa = macsec_device->tx_sa[i];
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
1250
if (!tx_sa)
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
1253
mlx5e_macsec_cleanup_sa(macsec, tx_sa, true, ctx->secy->netdev, 0);
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
1254
mlx5_destroy_encryption_key(macsec->mdev, tx_sa->enc_key_id);
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
1255
kfree(tx_sa);
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
1256
macsec_device->tx_sa[i] = NULL;
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
1443
macsec_sa = iter->tx_sa[i];
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
508
const struct macsec_tx_sa *ctx_tx_sa = ctx->sa.tx_sa;
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
513
struct mlx5e_macsec_sa *tx_sa;
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
527
if (macsec_device->tx_sa[assoc_num]) {
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
533
tx_sa = kzalloc_obj(*tx_sa);
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
534
if (!tx_sa) {
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
539
tx_sa->active = ctx_tx_sa->active;
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
540
tx_sa->next_pn = ctx_tx_sa->next_pn_halves.lower;
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
541
tx_sa->sci = secy->sci;
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
542
tx_sa->assoc_num = assoc_num;
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
545
update_macsec_epn(tx_sa, &ctx_tx_sa->key, &ctx_tx_sa->next_pn_halves,
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
550
&tx_sa->enc_key_id);
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
554
macsec_device->tx_sa[assoc_num] = tx_sa;
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
558
err = mlx5e_macsec_init_sa(ctx, tx_sa, tx_sc->encrypt, true, NULL);
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
567
macsec_device->tx_sa[assoc_num] = NULL;
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
568
mlx5_destroy_encryption_key(mdev, tx_sa->enc_key_id);
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
570
kfree(tx_sa);
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
581
const struct macsec_tx_sa *ctx_tx_sa = ctx->sa.tx_sa;
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
584
struct mlx5e_macsec_sa *tx_sa;
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
600
tx_sa = macsec_device->tx_sa[assoc_num];
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
601
if (!tx_sa) {
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
614
if (tx_sa->active == ctx_tx_sa->active)
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
617
tx_sa->active = ctx_tx_sa->active;
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
618
if (tx_sa->assoc_num != tx_sc->encoding_sa)
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
622
err = mlx5e_macsec_init_sa_fs(ctx, tx_sa, tx_sc->encrypt, true, NULL);
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
626
if (!tx_sa->macsec_rule) {
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
631
mlx5e_macsec_cleanup_sa_fs(macsec, tx_sa, true, ctx->secy->netdev, 0);
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
644
struct mlx5e_macsec_sa *tx_sa;
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
657
tx_sa = macsec_device->tx_sa[assoc_num];
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
658
if (!tx_sa) {
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
664
mlx5e_macsec_cleanup_sa(macsec, tx_sa, true, ctx->secy->netdev, 0);
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
665
mlx5_destroy_encryption_key(macsec->mdev, tx_sa->enc_key_id);
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
666
kfree_rcu_mightsleep(tx_sa);
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c
667
macsec_device->tx_sa[assoc_num] = NULL;
drivers/net/macsec.c
137
struct macsec_tx_sa *tx_sa;
drivers/net/macsec.c
1492
static int init_tx_sa(struct macsec_tx_sa *tx_sa, char *sak, int key_len,
drivers/net/macsec.c
1495
tx_sa->stats = alloc_percpu(struct macsec_tx_sa_stats);
drivers/net/macsec.c
1496
if (!tx_sa->stats)
drivers/net/macsec.c
1499
tx_sa->key.tfm = macsec_alloc_tfm(sak, key_len, icv_len);
drivers/net/macsec.c
1500
if (IS_ERR(tx_sa->key.tfm)) {
drivers/net/macsec.c
1501
free_percpu(tx_sa->stats);
drivers/net/macsec.c
1502
return PTR_ERR(tx_sa->key.tfm);
drivers/net/macsec.c
1505
tx_sa->ssci = MACSEC_UNDEF_SSCI;
drivers/net/macsec.c
1506
tx_sa->active = false;
drivers/net/macsec.c
1507
refcount_set(&tx_sa->refcnt, 1);
drivers/net/macsec.c
1508
spin_lock_init(&tx_sa->lock);
drivers/net/macsec.c
1513
static void clear_tx_sa(struct macsec_tx_sa *tx_sa)
drivers/net/macsec.c
1515
tx_sa->active = false;
drivers/net/macsec.c
1517
macsec_txsa_put(tx_sa);
drivers/net/macsec.c
1575
struct macsec_tx_sa *tx_sa;
drivers/net/macsec.c
1589
tx_sa = rtnl_dereference(tx_sc->sa[*assoc_num]);
drivers/net/macsec.c
1590
if (!tx_sa)
drivers/net/macsec.c
1596
return tx_sa;
drivers/net/macsec.c
1952
struct macsec_tx_sa *tx_sa;
drivers/net/macsec.c
2002
tx_sa = rtnl_dereference(tx_sc->sa[assoc_num]);
drivers/net/macsec.c
2003
if (tx_sa) {
drivers/net/macsec.c
2008
tx_sa = kmalloc_obj(*tx_sa);
drivers/net/macsec.c
2009
if (!tx_sa) {
drivers/net/macsec.c
2014
err = init_tx_sa(tx_sa, nla_data(tb_sa[MACSEC_SA_ATTR_KEY]),
drivers/net/macsec.c
2017
kfree(tx_sa);
drivers/net/macsec.c
2022
spin_lock_bh(&tx_sa->lock);
drivers/net/macsec.c
2023
tx_sa->next_pn = nla_get_uint(tb_sa[MACSEC_SA_ATTR_PN]);
drivers/net/macsec.c
2024
spin_unlock_bh(&tx_sa->lock);
drivers/net/macsec.c
2027
tx_sa->active = !!nla_get_u8(tb_sa[MACSEC_SA_ATTR_ACTIVE]);
drivers/net/macsec.c
2030
if (assoc_num == tx_sc->encoding_sa && tx_sa->active)
drivers/net/macsec.c
2034
tx_sa->ssci = nla_get_ssci(tb_sa[MACSEC_SA_ATTR_SSCI]);
drivers/net/macsec.c
2035
nla_memcpy(tx_sa->key.salt.bytes, tb_sa[MACSEC_SA_ATTR_SALT],
drivers/net/macsec.c
2051
ctx.sa.tx_sa = tx_sa;
drivers/net/macsec.c
2062
nla_memcpy(tx_sa->key.id, tb_sa[MACSEC_SA_ATTR_KEYID], MACSEC_KEYID_LEN);
drivers/net/macsec.c
2063
rcu_assign_pointer(tx_sc->sa[assoc_num], tx_sa);
drivers/net/macsec.c
2071
macsec_txsa_put(tx_sa);
drivers/net/macsec.c
2211
struct macsec_tx_sa *tx_sa;
drivers/net/macsec.c
2223
tx_sa = get_txsa_from_nl(genl_info_net(info), attrs, tb_sa,
drivers/net/macsec.c
2225
if (IS_ERR(tx_sa)) {
drivers/net/macsec.c
2227
return PTR_ERR(tx_sa);
drivers/net/macsec.c
2230
if (tx_sa->active) {
drivers/net/macsec.c
2247
ctx.sa.tx_sa = tx_sa;
drivers/net/macsec.c
2256
clear_tx_sa(tx_sa);
drivers/net/macsec.c
2285
struct macsec_tx_sa *tx_sa;
drivers/net/macsec.c
2304
tx_sa = get_txsa_from_nl(genl_info_net(info), attrs, tb_sa,
drivers/net/macsec.c
2306
if (IS_ERR(tx_sa)) {
drivers/net/macsec.c
2308
return PTR_ERR(tx_sa);
drivers/net/macsec.c
2322
spin_lock_bh(&tx_sa->lock);
drivers/net/macsec.c
2323
prev_pn = tx_sa->next_pn_halves;
drivers/net/macsec.c
2324
tx_sa->next_pn = nla_get_uint(tb_sa[MACSEC_SA_ATTR_PN]);
drivers/net/macsec.c
2325
spin_unlock_bh(&tx_sa->lock);
drivers/net/macsec.c
2328
was_active = tx_sa->active;
drivers/net/macsec.c
2330
tx_sa->active = nla_get_u8(tb_sa[MACSEC_SA_ATTR_ACTIVE]);
drivers/net/macsec.c
2334
secy->operational = tx_sa->active;
drivers/net/macsec.c
2348
ctx.sa.tx_sa = tx_sa;
drivers/net/macsec.c
2363
spin_lock_bh(&tx_sa->lock);
drivers/net/macsec.c
2364
tx_sa->next_pn_halves = prev_pn;
drivers/net/macsec.c
2365
spin_unlock_bh(&tx_sa->lock);
drivers/net/macsec.c
2367
tx_sa->active = was_active;
drivers/net/macsec.c
2683
struct macsec_tx_sa *tx_sa,
drivers/net/macsec.c
2697
ctx.sa.tx_sa = tx_sa;
drivers/net/macsec.c
2707
per_cpu_ptr(tx_sa->stats, cpu);
drivers/net/macsec.c
3103
struct macsec_tx_sa *tx_sa = rtnl_dereference(tx_sc->sa[i]);
drivers/net/macsec.c
3108
if (!tx_sa)
drivers/net/macsec.c
3124
get_tx_sa_stats(dev, i, tx_sa, &tx_sa_stats);
drivers/net/macsec.c
3134
pn = tx_sa->next_pn;
drivers/net/macsec.c
3137
pn = tx_sa->next_pn_halves.lower;
drivers/net/macsec.c
3143
nla_put(skb, MACSEC_SA_ATTR_KEYID, MACSEC_KEYID_LEN, tx_sa->key.id) ||
drivers/net/macsec.c
3144
(secy->xpn && nla_put_ssci(skb, MACSEC_SA_ATTR_SSCI, tx_sa->ssci)) ||
drivers/net/macsec.c
3145
nla_put_u8(skb, MACSEC_SA_ATTR_ACTIVE, tx_sa->active)) {
drivers/net/macsec.c
3480
macsec_count_tx(skb, &macsec->secy.tx_sc, macsec_skb_cb(skb)->tx_sa);
drivers/net/macsec.c
3815
struct macsec_tx_sa *tx_sa;
drivers/net/macsec.c
3818
tx_sa = rtnl_dereference(tx_sc->sa[tx_sc->encoding_sa]);
drivers/net/macsec.c
3820
secy->operational = tx_sa && tx_sa->active;
drivers/net/macsec.c
461
struct macsec_tx_sa *tx_sa)
drivers/net/macsec.c
464
tx_sa->active = false;
drivers/net/macsec.c
469
void macsec_pn_wrapped(struct macsec_secy *secy, struct macsec_tx_sa *tx_sa)
drivers/net/macsec.c
471
spin_lock_bh(&tx_sa->lock);
drivers/net/macsec.c
472
__macsec_pn_wrapped(secy, tx_sa);
drivers/net/macsec.c
473
spin_unlock_bh(&tx_sa->lock);
drivers/net/macsec.c
477
static pn_t tx_sa_update_pn(struct macsec_tx_sa *tx_sa,
drivers/net/macsec.c
482
spin_lock_bh(&tx_sa->lock);
drivers/net/macsec.c
484
pn = tx_sa->next_pn_halves;
drivers/net/macsec.c
486
tx_sa->next_pn++;
drivers/net/macsec.c
488
tx_sa->next_pn_halves.lower++;
drivers/net/macsec.c
490
if (tx_sa->next_pn == 0)
drivers/net/macsec.c
491
__macsec_pn_wrapped(secy, tx_sa);
drivers/net/macsec.c
492
spin_unlock_bh(&tx_sa->lock);
drivers/net/macsec.c
516
struct macsec_tx_sa *tx_sa)
drivers/net/macsec.c
525
this_cpu_inc(tx_sa->stats->OutPktsEncrypted);
drivers/net/macsec.c
529
this_cpu_inc(tx_sa->stats->OutPktsProtected);
drivers/net/macsec.c
545
struct macsec_tx_sa *sa = macsec_skb_cb(skb)->tx_sa;
drivers/net/macsec.c
551
macsec_count_tx(skb, &macsec->secy.tx_sc, macsec_skb_cb(skb)->tx_sa);
drivers/net/macsec.c
606
struct macsec_tx_sa *tx_sa;
drivers/net/macsec.c
615
tx_sa = macsec_txsa_get(tx_sc->sa[tx_sc->encoding_sa]);
drivers/net/macsec.c
616
if (!tx_sa) {
drivers/net/macsec.c
632
macsec_txsa_put(tx_sa);
drivers/net/macsec.c
639
macsec_txsa_put(tx_sa);
drivers/net/macsec.c
650
pn = tx_sa_update_pn(tx_sa, secy);
drivers/net/macsec.c
652
macsec_txsa_put(tx_sa);
drivers/net/macsec.c
668
macsec_txsa_put(tx_sa);
drivers/net/macsec.c
675
macsec_txsa_put(tx_sa);
drivers/net/macsec.c
680
req = macsec_alloc_req(tx_sa->key.tfm, &iv, &sg, ret);
drivers/net/macsec.c
682
macsec_txsa_put(tx_sa);
drivers/net/macsec.c
688
macsec_fill_iv_xpn(iv, tx_sa->ssci, pn.full64, tx_sa->key.salt);
drivers/net/macsec.c
696
macsec_txsa_put(tx_sa);
drivers/net/macsec.c
712
macsec_skb_cb(skb)->tx_sa = tx_sa;
drivers/net/macsec.c
724
macsec_txsa_put(tx_sa);
drivers/net/macsec.c
730
macsec_txsa_put(tx_sa);
drivers/net/phy/mscc/mscc_macsec.c
468
(flow->bank == MACSEC_EGR && flow->tx_sa && !flow->tx_sa->active))
drivers/net/phy/mscc/mscc_macsec.c
577
flow->rx_sa->next_pn : flow->tx_sa->next_pn);
drivers/net/phy/mscc/mscc_macsec.c
725
flow->tx_sa = ctx->sa.tx_sa;
drivers/net/phy/mscc/mscc_macsec.c
996
macsec_pn_wrapped(priv->secy, flow->tx_sa);
drivers/net/phy/mscc/mscc_macsec.h
86
struct macsec_tx_sa *tx_sa;
drivers/net/phy/nxp-c45-tja11xx-macsec.c
1279
struct macsec_tx_sa *tx_sa = ctx->sa.tx_sa;
drivers/net/phy/nxp-c45-tja11xx-macsec.c
1287
an, ctx->sa.tx_sa->active ? "enabled" : "disabled",
drivers/net/phy/nxp-c45-tja11xx-macsec.c
1294
sa = nxp_c45_sa_alloc(&phy_secy->sa_list, tx_sa, TX_SA, an);
drivers/net/phy/nxp-c45-tja11xx-macsec.c
1299
nxp_c45_sa_set_pn(phydev, sa, tx_sa->next_pn, 0);
drivers/net/phy/nxp-c45-tja11xx-macsec.c
1300
nxp_c45_sa_set_key(ctx, sa->regs, tx_sa->key.salt.bytes, tx_sa->ssci);
drivers/net/phy/nxp-c45-tja11xx-macsec.c
1302
nxp_c45_tx_sa_update(phydev, sa, tx_sa->active);
drivers/net/phy/nxp-c45-tja11xx-macsec.c
1309
struct macsec_tx_sa *tx_sa = ctx->sa.tx_sa;
drivers/net/phy/nxp-c45-tja11xx-macsec.c
1317
an, ctx->sa.tx_sa->active ? "enabled" : "disabled",
drivers/net/phy/nxp-c45-tja11xx-macsec.c
1330
nxp_c45_sa_set_pn(phydev, sa, tx_sa->next_pn, 0);
drivers/net/phy/nxp-c45-tja11xx-macsec.c
1332
nxp_c45_tx_sa_update(phydev, sa, tx_sa->active);
drivers/net/phy/nxp-c45-tja11xx-macsec.c
1346
an, ctx->sa.tx_sa->active ? "enabled" : "disabled",
include/net/macsec.h
283
struct macsec_tx_sa *tx_sa;
include/net/macsec.h
359
void macsec_pn_wrapped(struct macsec_secy *secy, struct macsec_tx_sa *tx_sa);