Searched refs:xpn (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/net/ |
H A D | macsec.c | 388 static bool macsec_validate_skb(struct sk_buff *skb, u16 icv_len, bool xpn) in macsec_validate_skb() argument 414 if (!h->packet_number && !xpn) in macsec_validate_skb() 473 if (secy->xpn) in tx_sa_update_pn() 675 if (secy->xpn) in macsec_encrypt() 738 (!secy->xpn || pn_same_half(pn, lowest_pn))) { in macsec_post_decrypt() 794 } else if (secy->xpn && in macsec_post_decrypt() 903 if (secy->xpn) { in macsec_decrypt() 1196 if (!macsec_validate_skb(skb, secy->icv_len, secy->xpn)) { in macsec_handle_frame() 1243 if (secy->xpn) in macsec_handle_frame() 1790 pn_len = secy->xpn ? MACSEC_XPN_PN_LEN : MACSEC_DEFAULT_PN_LEN; in macsec_add_rxsa() [all …]
|
/linux/arch/powerpc/include/asm/book3s/32/ |
H A D | mmu-hash.h | 165 unsigned long xpn:3; /* Real page number bits 0-2, optional */ member
|
/linux/include/net/ |
H A D | macsec.h | 239 bool xpn; member
|
/linux/drivers/net/phy/ |
H A 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/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A 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/drivers/net/ethernet/marvell/octeontx2/af/ |
H A 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()
|
H A D | mbox.h | 2125 u8 xpn; /* '1' for setting xpn threshold */ member
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | macsec.c | 539 if (secy->xpn) in mlx5e_macsec_add_txsa() 921 if (ctx->secy->xpn) in mlx5e_macsec_add_rxsa()
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_macsec.c | 449 if (secy->xpn) in aq_mdo_add_secy()
|