Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/
Dmacsec.c246 const struct macsec_tx_sc *tx_sc = &secy->tx_sc; in send_sci() local
248 return tx_sc->send_sci || in send_sci()
249 (secy->n_rx_sc > 1 && !tx_sc->end_station && !tx_sc->scb); in send_sci()
295 const struct macsec_tx_sc *tx_sc = &secy->tx_sc; in macsec_fill_sectag() local
305 if (tx_sc->end_station) in macsec_fill_sectag()
307 if (tx_sc->scb) in macsec_fill_sectag()
314 if (tx_sc->encrypt) in macsec_fill_sectag()
319 h->tci_an |= tx_sc->encoding_sa; in macsec_fill_sectag()
499 static void macsec_count_tx(struct sk_buff *skb, struct macsec_tx_sc *tx_sc, in macsec_count_tx() argument
502 struct pcpu_tx_sc_stats *txsc_stats = this_cpu_ptr(tx_sc->stats); in macsec_count_tx()
[all …]
/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/
Daq_macsec.c350 if (secy->tx_sc.encrypt) in aq_set_txsc()
352 if (secy->tx_sc.scb) in aq_set_txsc()
354 if (secy->tx_sc.send_sci) in aq_set_txsc()
356 if (secy->tx_sc.end_station) in aq_set_txsc()
361 if (!(secy->icv_len == 16 && !secy->tx_sc.encrypt)) in aq_set_txsc()
381 sc_rec.curr_an = secy->tx_sc.encoding_sa; in aq_set_txsc()
507 struct aq_macsec_txsc *tx_sc = &nic->macsec_cfg->aq_txsc[txsc_idx]; in aq_clear_txsc() local
514 for_each_set_bit (sa_num, &tx_sc->tx_sa_idx_busy, AQ_MACSEC_MAX_SA) { in aq_clear_txsc()
515 ret = aq_clear_txsa(nic, tx_sc, sa_num, clear_type); in aq_clear_txsc()
528 tx_sc->hw_sc_idx); in aq_clear_txsc()
[all …]
/Linux-v5.10/include/net/
Dmacsec.h226 struct macsec_tx_sc tx_sc; member
/Linux-v5.10/drivers/net/phy/mscc/
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()