Home
last modified time | relevance | path

Searched refs:tcam_mask (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_main.c942 struct dsaf_tbl_tcam_data *tcam_mask, in hns_dsaf_tcam_uc_cfg_vague() argument
949 hns_dsaf_tbl_tcam_match_cfg(dsaf_dev, tcam_mask); in hns_dsaf_tcam_uc_cfg_vague()
953 tcam_mask->tbl_tcam_data_high = 0xffffffff; in hns_dsaf_tcam_uc_cfg_vague()
954 tcam_mask->tbl_tcam_data_low = 0xffffffff; in hns_dsaf_tcam_uc_cfg_vague()
955 hns_dsaf_tbl_tcam_match_cfg(dsaf_dev, tcam_mask); in hns_dsaf_tcam_uc_cfg_vague()
971 struct dsaf_tbl_tcam_data *tcam_mask, in hns_dsaf_tcam_mc_cfg_vague() argument
978 hns_dsaf_tbl_tcam_match_cfg(dsaf_dev, tcam_mask); in hns_dsaf_tcam_mc_cfg_vague()
982 tcam_mask->tbl_tcam_data_high = 0xffffffff; in hns_dsaf_tcam_mc_cfg_vague()
983 tcam_mask->tbl_tcam_data_low = 0xffffffff; in hns_dsaf_tcam_mc_cfg_vague()
984 hns_dsaf_tbl_tcam_match_cfg(dsaf_dev, tcam_mask); in hns_dsaf_tcam_mc_cfg_vague()
/Linux-v5.4/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_prs.c2166 unsigned char tcam_byte, tcam_mask; in mvpp2_prs_mac_range_equals() local
2170 mvpp2_prs_tcam_data_byte_get(pe, index, &tcam_byte, &tcam_mask); in mvpp2_prs_mac_range_equals()
2171 if (tcam_mask != mask[index]) in mvpp2_prs_mac_range_equals()
2174 if ((tcam_mask & tcam_byte) != (da[index] & mask[index])) in mvpp2_prs_mac_range_equals()