Lines Matching refs:npc_mcam

32 static void npc_mcam_free_all_entries(struct rvu *rvu, struct npc_mcam *mcam,
34 static void npc_mcam_free_all_counters(struct rvu *rvu, struct npc_mcam *mcam,
122 static int npc_get_ucast_mcam_index(struct npc_mcam *mcam, u16 pcifunc, in npc_get_ucast_mcam_index()
147 int npc_get_nixlf_mcam_index(struct npc_mcam *mcam, in npc_get_nixlf_mcam_index()
172 int npc_get_bank(struct npc_mcam *mcam, int index) in npc_get_bank()
183 bool is_mcam_entry_enabled(struct rvu *rvu, struct npc_mcam *mcam, in is_mcam_entry_enabled()
194 void npc_enable_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_enable_mcam_entry()
208 static void npc_clear_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_clear_mcam_entry()
364 static u64 npc_get_default_entry_action(struct rvu *rvu, struct npc_mcam *mcam, in npc_get_default_entry_action()
386 static void npc_fixup_vf_rule(struct rvu *rvu, struct npc_mcam *mcam, in npc_fixup_vf_rule()
429 static void npc_config_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_config_mcam_entry()
504 void npc_read_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_read_mcam_entry()
540 static void npc_copy_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_copy_mcam_entry()
580 u64 npc_get_mcam_action(struct rvu *rvu, struct npc_mcam *mcam, in npc_get_mcam_action()
590 void npc_set_mcam_action(struct rvu *rvu, struct npc_mcam *mcam, in npc_set_mcam_action()
606 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_install_ucast_entry()
661 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_install_promisc_entry()
746 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_enable_promisc_entry()
767 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_install_bcast_match_entry()
826 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_enable_bcast_entry()
846 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_install_allmulti_entry()
932 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_enable_allmulti_entry()
947 static void npc_update_vf_flow_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_update_vf_flow_entry()
995 struct npc_mcam *mcam = &rvu->hw->mcam; in npc_update_rx_action_with_alg_idx()
1021 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_update_flowkey_alg_idx()
1092 struct npc_mcam *mcam = &rvu->hw->mcam; in npc_enadis_default_mce_entry()
1128 struct npc_mcam *mcam = &rvu->hw->mcam; in npc_enadis_default_entries()
1168 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_enable_mcam_by_entry_index()
1207 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_disable_mcam_entries()
1243 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_free_mcam_entries()
1833 struct npc_mcam *mcam = &rvu->hw->mcam; in npc_mcam_rsrcs_deinit()
1848 struct npc_mcam *mcam = &rvu->hw->mcam; in npc_mcam_rsrcs_init()
1982 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_hw_init()
2027 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_setup_interfaces()
2097 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_init()
2180 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_freemem()
2195 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_get_mcam_entry_alloc_info()
2214 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_get_mcam_counter_alloc_info()
2229 static int npc_mcam_verify_entry(struct npc_mcam *mcam, in npc_mcam_verify_entry()
2247 static int npc_mcam_verify_counter(struct npc_mcam *mcam, in npc_mcam_verify_counter()
2262 static void npc_map_mcam_entry_and_cntr(struct rvu *rvu, struct npc_mcam *mcam, in npc_map_mcam_entry_and_cntr()
2279 struct npc_mcam *mcam, in npc_unmap_mcam_entry_and_cntr()
2297 static void npc_mcam_set_bit(struct npc_mcam *mcam, u16 index) in npc_mcam_set_bit()
2313 static void npc_mcam_clear_bit(struct npc_mcam *mcam, u16 index) in npc_mcam_clear_bit()
2325 static void npc_mcam_free_all_entries(struct rvu *rvu, struct npc_mcam *mcam, in npc_mcam_free_all_entries()
2350 static void npc_mcam_free_all_counters(struct rvu *rvu, struct npc_mcam *mcam, in npc_mcam_free_all_counters()
2429 npc_get_mcam_search_range_priority(struct npc_mcam *mcam, in npc_get_mcam_search_range_priority()
2488 static int npc_mcam_alloc_entries(struct npc_mcam *mcam, u16 pcifunc, in npc_mcam_alloc_entries()
2689 struct npc_mcam *mcam = &rvu->hw->mcam; in npc_mcam_rsrcs_reserve()
2698 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_alloc_entry()
2744 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_free_entry()
2791 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_read_entry()
2816 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_write_entry()
2867 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_ena_entry()
2890 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_dis_entry()
2913 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_shift_entry()
2982 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_alloc_counter()
3045 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_free_counter()
3087 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_unmap_counter()
3134 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_clear_counter()
3156 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_counter_stats()
3184 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()
3401 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_read_base_steer_rule()
3447 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_entry_stats()