Home
last modified time | relevance | path

Searched refs:npc_mcam (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc.c32 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()
[all …]
Drvu_npc_fs.c62 struct npc_mcam *mcam = &rvu->hw->mcam; in npc_is_feature_supported()
84 static void npc_set_kw_masks(struct npc_mcam *mcam, u8 type, in npc_set_kw_masks()
141 struct npc_mcam *mcam = &rvu->hw->mcam; in npc_is_field_present()
158 static void npc_set_layer_mdata(struct npc_mcam *mcam, enum key_fields type, in npc_set_layer_mdata()
201 struct npc_mcam *mcam = &rvu->hw->mcam; in npc_check_overlap()
256 static void npc_scan_exact_result(struct npc_mcam *mcam, u8 bit_number, in npc_scan_exact_result()
275 static void npc_scan_parse_result(struct npc_mcam *mcam, u8 bit_number, in npc_scan_parse_result()
330 struct npc_mcam *mcam = &rvu->hw->mcam; in npc_handle_multi_layer_fields()
463 struct npc_mcam *mcam = &rvu->hw->mcam; in npc_scan_ldata()
562 struct npc_mcam *mcam = &rvu->hw->mcam; in npc_set_features()
[all …]
Drvu.h181 struct npc_mcam { struct
433 struct npc_mcam mcam;
976 int npc_get_bank(struct npc_mcam *mcam, int index);
979 void npc_enable_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam,
981 u64 npc_get_mcam_action(struct rvu *rvu, struct npc_mcam *mcam,
983 void npc_set_mcam_action(struct rvu *rvu, struct npc_mcam *mcam,
985 void npc_read_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam,
1000 int npc_get_nixlf_mcam_index(struct npc_mcam *mcam, u16 pcifunc, int nixlf,
1002 bool is_mcam_entry_enabled(struct rvu *rvu, struct npc_mcam *mcam, int blkaddr,
Drvu_devlink.c1304 struct npc_mcam *mcam; in rvu_af_dl_npc_mcam_high_zone_percent_get()
1320 struct npc_mcam *mcam; in rvu_af_dl_npc_mcam_high_zone_percent_set()
1339 struct npc_mcam *mcam; in rvu_af_dl_npc_mcam_high_zone_percent_validate()
1402 struct npc_mcam *mcam; in rvu_af_dl_nix_maxlf_validate()
Drvu_debugfs.c3056 struct npc_mcam *mcam; in rvu_dbg_npc_mcam_info_display()
3123 struct npc_mcam *mcam; in rvu_dbg_npc_rx_miss_stats_display()
3364 struct npc_mcam *mcam; in rvu_dbg_npc_mcam_show_rules()
Drvu_nix.c3382 struct npc_mcam *mcam = &rvu->hw->mcam; in nix_update_mce_list()
3477 struct npc_mcam *mcam = &rvu->hw->mcam; in nix_update_mce_rule()
5099 struct npc_mcam *mcam = &rvu->hw->mcam; in nix_mcast_update_action()
6406 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_nix_mcast_grp_update()