Searched refs:plcy (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | mcs.c | 372 void mcs_sa_plcy_write(struct mcs *mcs, u64 *plcy, int sa_id, int dir) in mcs_sa_plcy_write() argument 380 mcs_reg_write(mcs, reg, plcy[reg_id]); in mcs_sa_plcy_write() 385 mcs_reg_write(mcs, reg, plcy[reg_id]); in mcs_sa_plcy_write() 414 void mcs_secy_plcy_write(struct mcs *mcs, u64 plcy, int secy_id, int dir) in mcs_secy_plcy_write() argument 423 mcs_reg_write(mcs, reg, plcy); in mcs_secy_plcy_write() 497 u64 reg, plcy = 0; in mcs_install_flowid_bypass_entry() local 518 plcy = 0x7ull; in mcs_install_flowid_bypass_entry() 520 plcy = BIT_ULL(0) | 0x3ull << 4; in mcs_install_flowid_bypass_entry() 521 mcs_secy_plcy_write(mcs, plcy, secy_id, MCS_RX); in mcs_install_flowid_bypass_entry() 524 plcy = BIT_ULL(0) | GENMASK_ULL(43, 28); in mcs_install_flowid_bypass_entry() [all …]
|
H A D | mcs.h | 190 void mcs_secy_plcy_write(struct mcs *mcs, u64 plcy, int id, int dir); 192 void mcs_sa_plcy_write(struct mcs *mcs, u64 *plcy, int sa, int dir);
|
H A D | mcs_rvu_if.c | 566 mcs_sa_plcy_write(mcs, &req->plcy[i][0], in rvu_mbox_handler_mcs_sa_plcy_write() 595 mcs_secy_plcy_write(mcs, req->plcy, in rvu_mbox_handler_mcs_secy_plcy_write()
|
H A D | mbox.h | 2040 u64 plcy; member 2059 u64 plcy[2][9]; /* Support 2 SA policy */ member
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | cn10k_macsec.c | 300 req->plcy = policy; in cn10k_mcs_write_rx_secy() 413 memcpy(&req->plcy[0][0], sak_rev, secy->key_len); in cn10k_mcs_write_keys() 414 memcpy(&req->plcy[0][4], hash_rev, CN10K_MAX_HASH_LEN); in cn10k_mcs_write_keys() 415 memcpy(&req->plcy[0][6], salt_rev, MACSEC_SALT_LEN); in cn10k_mcs_write_keys() 416 req->plcy[0][7] |= (u64)ssci_63_32 << 32; in cn10k_mcs_write_keys() 568 req->plcy = policy; in cn10k_mcs_write_tx_secy() 683 plcy_req->plcy[0][8] = assoc_num; in cn10k_mcs_write_tx_sa_plcy()
|