Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_main.c1097 struct dsaf_tbl_tcam_data tcam_data[] = {{0, 0} }; in hns_dsaf_tbl_tcam_init() local
1102 hns_dsaf_tcam_uc_cfg(dsaf_dev, i, tcam_data, tcam_ucast); in hns_dsaf_tbl_tcam_init()
1547 struct dsaf_tbl_tcam_data tcam_data; in hns_dsaf_set_mac_uc_entry() local
1589 tcam_data.tbl_tcam_data_high = cpu_to_le32(mac_key.high.val); in hns_dsaf_set_mac_uc_entry()
1590 tcam_data.tbl_tcam_data_low = cpu_to_le32(mac_key.low.val); in hns_dsaf_set_mac_uc_entry()
1592 hns_dsaf_tcam_uc_cfg(dsaf_dev, entry_index, &tcam_data, &mac_data); in hns_dsaf_set_mac_uc_entry()
1686 struct dsaf_tbl_tcam_data tcam_data; in hns_dsaf_add_mac_mc_port() local
1740 hns_dsaf_tcam_mc_get(dsaf_dev, entry_index, &tcam_data, in hns_dsaf_add_mac_mc_port()
1766 tcam_data.tbl_tcam_data_high = cpu_to_le32(mac_key.high.val); in hns_dsaf_add_mac_mc_port()
1767 tcam_data.tbl_tcam_data_low = cpu_to_le32(mac_key.low.val); in hns_dsaf_add_mac_mc_port()
[all …]
/Linux-v4.19/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_prs.c162 u16 tcam_data; in mvpp2_prs_tcam_data_cmp() local
164 tcam_data = pe->tcam[MVPP2_PRS_BYTE_TO_WORD(offs)] & 0xffff; in mvpp2_prs_tcam_data_cmp()
165 return tcam_data == data; in mvpp2_prs_tcam_data_cmp()