Lines Matching defs:rvu
46 bool is_npc_interface_valid(struct rvu *rvu, u8 intf) in is_npc_interface_valid()
53 int rvu_npc_get_tx_nibble_cfg(struct rvu *rvu, u64 nibble_ena) in rvu_npc_get_tx_nibble_cfg()
63 static int npc_mcam_verify_pf_func(struct rvu *rvu, in npc_mcam_verify_pf_func()
85 void rvu_npc_set_pkind(struct rvu *rvu, int pkind, struct rvu_pfvf *pfvf) in rvu_npc_set_pkind()
99 int rvu_npc_get_pkind(struct rvu *rvu, u16 pf) in rvu_npc_get_pkind()
115 int npc_config_ts_kpuaction(struct rvu *rvu, int pf, u16 pcifunc, bool enable) in npc_config_ts_kpuaction()
147 struct rvu *rvu = hw->rvu; in npc_get_ucast_mcam_index() local
204 bool is_mcam_entry_enabled(struct rvu *rvu, struct npc_mcam *mcam, in is_mcam_entry_enabled()
215 void npc_enable_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_enable_mcam_entry()
229 static void npc_clear_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_clear_mcam_entry()
385 static u64 npc_get_default_entry_action(struct rvu *rvu, struct npc_mcam *mcam, in npc_get_default_entry_action()
407 static void npc_fixup_vf_rule(struct rvu *rvu, struct npc_mcam *mcam, in npc_fixup_vf_rule()
450 static void npc_config_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_config_mcam_entry()
525 void npc_read_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_read_mcam_entry()
561 static void npc_copy_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_copy_mcam_entry()
601 static u64 npc_get_mcam_action(struct rvu *rvu, struct npc_mcam *mcam, in npc_get_mcam_action()
611 void rvu_npc_install_ucast_entry(struct rvu *rvu, u16 pcifunc, in rvu_npc_install_ucast_entry()
660 void rvu_npc_install_promisc_entry(struct rvu *rvu, u16 pcifunc, in rvu_npc_install_promisc_entry()
748 void rvu_npc_enable_promisc_entry(struct rvu *rvu, u16 pcifunc, in rvu_npc_enable_promisc_entry()
766 void rvu_npc_install_bcast_match_entry(struct rvu *rvu, u16 pcifunc, in rvu_npc_install_bcast_match_entry()
820 void rvu_npc_enable_bcast_entry(struct rvu *rvu, u16 pcifunc, int nixlf, in rvu_npc_enable_bcast_entry()
838 void rvu_npc_install_allmulti_entry(struct rvu *rvu, u16 pcifunc, int nixlf, in rvu_npc_install_allmulti_entry()
918 void rvu_npc_enable_allmulti_entry(struct rvu *rvu, u16 pcifunc, int nixlf, in rvu_npc_enable_allmulti_entry()
936 static void npc_update_vf_flow_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_update_vf_flow_entry()
979 static void npc_update_rx_action_with_alg_idx(struct rvu *rvu, struct nix_rx_action action, in npc_update_rx_action_with_alg_idx()
1007 void rvu_npc_update_flowkey_alg_idx(struct rvu *rvu, u16 pcifunc, int nixlf, in rvu_npc_update_flowkey_alg_idx()
1078 void npc_enadis_default_mce_entry(struct rvu *rvu, u16 pcifunc, in npc_enadis_default_mce_entry()
1114 static void npc_enadis_default_entries(struct rvu *rvu, u16 pcifunc, in npc_enadis_default_entries()
1140 void rvu_npc_disable_default_entries(struct rvu *rvu, u16 pcifunc, int nixlf) in rvu_npc_disable_default_entries()
1154 void rvu_npc_enable_default_entries(struct rvu *rvu, u16 pcifunc, int nixlf) in rvu_npc_enable_default_entries()
1165 void rvu_npc_disable_mcam_entries(struct rvu *rvu, u16 pcifunc, int nixlf) in rvu_npc_disable_mcam_entries()
1202 void rvu_npc_free_mcam_entries(struct rvu *rvu, u16 pcifunc, int nixlf) in rvu_npc_free_mcam_entries()
1241 static void npc_program_mkex_rx(struct rvu *rvu, int blkaddr, in npc_program_mkex_rx()
1270 static void npc_program_mkex_tx(struct rvu *rvu, int blkaddr, in npc_program_mkex_tx()
1299 static void npc_program_mkex_profile(struct rvu *rvu, int blkaddr, in npc_program_mkex_profile()
1316 static int npc_fwdb_prfl_img_map(struct rvu *rvu, void __iomem **prfl_img_addr, in npc_fwdb_prfl_img_map()
1342 static void npc_load_mkex_profile(struct rvu *rvu, int blkaddr, in npc_load_mkex_profile()
1390 static void npc_config_kpuaction(struct rvu *rvu, int blkaddr, in npc_config_kpuaction()
1432 static void npc_config_kpucam(struct rvu *rvu, int blkaddr, in npc_config_kpucam()
1460 static void npc_program_kpu_profile(struct rvu *rvu, int blkaddr, int kpu, in npc_program_kpu_profile()
1519 static int npc_apply_custom_kpu(struct rvu *rvu, in npc_apply_custom_kpu()
1599 static int npc_load_kpu_prfl_img(struct rvu *rvu, void __iomem *prfl_addr, in npc_load_kpu_prfl_img()
1619 static int npc_fwdb_detect_load_prfl_img(struct rvu *rvu, uint64_t prfl_sz, in npc_fwdb_detect_load_prfl_img()
1657 static int npc_load_kpu_profile_fwdb(struct rvu *rvu, const char *kpu_profile) in npc_load_kpu_profile_fwdb()
1684 static void npc_load_kpu_profile(struct rvu *rvu) in npc_load_kpu_profile()
1761 static void npc_parser_profile_init(struct rvu *rvu, int blkaddr) in npc_parser_profile_init()
1796 static int npc_mcam_rsrcs_init(struct rvu *rvu, int blkaddr) in npc_mcam_rsrcs_init()
1920 static void rvu_npc_hw_init(struct rvu *rvu, int blkaddr) in rvu_npc_hw_init()
1965 static void rvu_npc_setup_interfaces(struct rvu *rvu, int blkaddr) in rvu_npc_setup_interfaces()
2034 int rvu_npc_init(struct rvu *rvu) in rvu_npc_init()
2117 void rvu_npc_freemem(struct rvu *rvu) in rvu_npc_freemem()
2131 void rvu_npc_get_mcam_entry_alloc_info(struct rvu *rvu, u16 pcifunc, in rvu_npc_get_mcam_entry_alloc_info()
2150 void rvu_npc_get_mcam_counter_alloc_info(struct rvu *rvu, u16 pcifunc, in rvu_npc_get_mcam_counter_alloc_info()
2202 static void npc_map_mcam_entry_and_cntr(struct rvu *rvu, struct npc_mcam *mcam, in npc_map_mcam_entry_and_cntr()
2218 static void npc_unmap_mcam_entry_and_cntr(struct rvu *rvu, in npc_unmap_mcam_entry_and_cntr()
2265 static void npc_mcam_free_all_entries(struct rvu *rvu, struct npc_mcam *mcam, in npc_mcam_free_all_entries()
2290 static void npc_mcam_free_all_counters(struct rvu *rvu, struct npc_mcam *mcam, in npc_mcam_free_all_counters()
2617 int rvu_mbox_handler_npc_mcam_alloc_entry(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_alloc_entry()
2663 int rvu_mbox_handler_npc_mcam_free_entry(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_free_entry()
2710 int rvu_mbox_handler_npc_mcam_read_entry(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_read_entry()
2734 int rvu_mbox_handler_npc_mcam_write_entry(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_write_entry()
2792 int rvu_mbox_handler_npc_mcam_ena_entry(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_ena_entry()
2815 int rvu_mbox_handler_npc_mcam_dis_entry(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_dis_entry()
2838 int rvu_mbox_handler_npc_mcam_shift_entry(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_shift_entry()
2907 int rvu_mbox_handler_npc_mcam_alloc_counter(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_alloc_counter()
2971 int rvu_mbox_handler_npc_mcam_free_counter(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_free_counter()
3013 int rvu_mbox_handler_npc_mcam_unmap_counter(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_unmap_counter()
3060 int rvu_mbox_handler_npc_mcam_clear_counter(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_clear_counter()
3081 int rvu_mbox_handler_npc_mcam_counter_stats(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_counter_stats()
3104 int rvu_mbox_handler_npc_mcam_alloc_and_write_entry(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()
3202 int rvu_mbox_handler_npc_get_kex_cfg(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_npc_get_kex_cfg()
3235 npc_set_var_len_offset_pkind(struct rvu *rvu, u16 pcifunc, u64 pkind, in npc_set_var_len_offset_pkind()
3267 int rvu_npc_set_parse_mode(struct rvu *rvu, u16 pcifunc, u64 mode, u8 dir, in rvu_npc_set_parse_mode()
3322 int rvu_mbox_handler_npc_set_pkind(struct rvu *rvu, struct npc_set_pkind *req, in rvu_mbox_handler_npc_set_pkind()
3330 int rvu_mbox_handler_npc_read_base_steer_rule(struct rvu *rvu, in rvu_mbox_handler_npc_read_base_steer_rule()
3376 int rvu_mbox_handler_npc_mcam_entry_stats(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_entry_stats()