Searched refs:tcam_mask (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_main.c | 945 struct dsaf_tbl_tcam_data *tcam_mask, in hns_dsaf_tcam_uc_cfg_vague() argument 952 hns_dsaf_tbl_tcam_match_cfg(dsaf_dev, tcam_mask); in hns_dsaf_tcam_uc_cfg_vague() 956 tcam_mask->tbl_tcam_data_high = 0xffffffff; in hns_dsaf_tcam_uc_cfg_vague() 957 tcam_mask->tbl_tcam_data_low = 0xffffffff; in hns_dsaf_tcam_uc_cfg_vague() 958 hns_dsaf_tbl_tcam_match_cfg(dsaf_dev, tcam_mask); in hns_dsaf_tcam_uc_cfg_vague() 974 struct dsaf_tbl_tcam_data *tcam_mask, in hns_dsaf_tcam_mc_cfg_vague() argument 981 hns_dsaf_tbl_tcam_match_cfg(dsaf_dev, tcam_mask); in hns_dsaf_tcam_mc_cfg_vague() 985 tcam_mask->tbl_tcam_data_high = 0xffffffff; in hns_dsaf_tcam_mc_cfg_vague() 986 tcam_mask->tbl_tcam_data_low = 0xffffffff; in hns_dsaf_tcam_mc_cfg_vague() 987 hns_dsaf_tbl_tcam_match_cfg(dsaf_dev, tcam_mask); in hns_dsaf_tcam_mc_cfg_vague()
|
/Linux-v6.1/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_prs.c | 2201 unsigned char tcam_byte, tcam_mask; in mvpp2_prs_mac_range_equals() local 2205 mvpp2_prs_tcam_data_byte_get(pe, index, &tcam_byte, &tcam_mask); in mvpp2_prs_mac_range_equals() 2206 if (tcam_mask != mask[index]) in mvpp2_prs_mac_range_equals() 2209 if ((tcam_mask & tcam_byte) != (da[index] & mask[index])) in mvpp2_prs_mac_range_equals()
|