Searched refs:xpn (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/drivers/net/ |
D | macsec.c | 375 static bool macsec_validate_skb(struct sk_buff *skb, u16 icv_len, bool xpn) in macsec_validate_skb() argument 401 if (!h->packet_number && !xpn) in macsec_validate_skb() 460 if (secy->xpn) in tx_sa_update_pn() 662 if (secy->xpn) in macsec_encrypt() 725 (!secy->xpn || pn_same_half(pn, lowest_pn))) { in macsec_post_decrypt() 781 } else if (secy->xpn && in macsec_post_decrypt() 890 if (secy->xpn) { in macsec_decrypt() 1183 if (!macsec_validate_skb(skb, secy->icv_len, secy->xpn)) { in macsec_handle_frame() 1225 if (secy->xpn) in macsec_handle_frame() 1772 pn_len = secy->xpn ? MACSEC_XPN_PN_LEN : MACSEC_DEFAULT_PN_LEN; in macsec_add_rxsa() [all …]
|
/linux-6.12.1/arch/powerpc/include/asm/book3s/32/ |
D | mmu-hash.h | 165 unsigned long xpn:3; /* Real page number bits 0-2, optional */ member
|
/linux-6.12.1/include/net/ |
D | macsec.h | 239 bool xpn; member
|
/linux-6.12.1/drivers/net/phy/ |
D | nxp-c45-tja11xx-macsec.c | 506 if (ctx->secy->xpn) { in nxp_c45_sa_set_key() 709 phydev_dbg(phydev, "XPN %s\n", phy_secy->secy->xpn ? "on" : "off"); in nxp_c45_tx_sc_update() 710 if (phy_secy->secy->xpn) in nxp_c45_tx_sc_update() 851 phydev_dbg(phydev, "XPN %s\n", phy_secy->secy->xpn ? "on" : "off"); in nxp_c45_rx_sc_update() 852 if (phy_secy->secy->xpn) in nxp_c45_rx_sc_update()
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | cn10k_macsec.c | 284 cipher = secy->xpn ? MCS_GCM_AES_XPN_128 : MCS_GCM_AES_128; in cn10k_mcs_write_rx_secy() 287 cipher = secy->xpn ? MCS_GCM_AES_XPN_256 : MCS_GCM_AES_256; in cn10k_mcs_write_rx_secy() 545 cipher = secy->xpn ? MCS_GCM_AES_XPN_128 : MCS_GCM_AES_128; in cn10k_mcs_write_tx_secy() 548 cipher = secy->xpn ? MCS_GCM_AES_XPN_256 : MCS_GCM_AES_256; in cn10k_mcs_write_tx_secy()
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mcs.c | 1344 reg = pn->xpn ? MCSX_CPM_RX_SLAVE_XPN_THRESHOLD : MCSX_CPM_RX_SLAVE_PN_THRESHOLD; in mcs_pn_threshold_set() 1346 reg = pn->xpn ? MCSX_CPM_TX_SLAVE_XPN_THRESHOLD : MCSX_CPM_TX_SLAVE_PN_THRESHOLD; in mcs_pn_threshold_set()
|
D | mbox.h | 2125 u8 xpn; /* '1' for setting xpn threshold */ member
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | macsec.c | 539 if (secy->xpn) in mlx5e_macsec_add_txsa() 921 if (ctx->secy->xpn) in mlx5e_macsec_add_rxsa()
|
/linux-6.12.1/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_macsec.c | 449 if (secy->xpn) in aq_mdo_add_secy()
|