Searched refs:tcam_idx (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_rpc.c | 460 int __fbnic_xc_unsync(struct fbnic_mac_addr *mac_addr, unsigned int tcam_idx) in __fbnic_xc_unsync() argument 462 if (!test_and_clear_bit(tcam_idx, mac_addr->act_tcam)) in __fbnic_xc_unsync() 726 int tcam_idx = FBNIC_TCE_TCAM_NUM_ENTRIES; in __fbnic_write_tce_tcam_rev() local 736 if (!tcam_idx) { in __fbnic_write_tce_tcam_rev() 741 tcam_idx--; in __fbnic_write_tce_tcam_rev() 742 fbnic_write_tce_tcam_dest(fbd, tcam_idx, mac_addr); in __fbnic_write_tce_tcam_rev() 743 fbnic_write_tce_tcam_entry(fbd, tcam_idx, mac_addr); in __fbnic_write_tce_tcam_rev() 746 while (tcam_idx) in __fbnic_write_tce_tcam_rev() 747 fbnic_clear_tce_tcam_entry(fbd, --tcam_idx); in __fbnic_write_tce_tcam_rev() 749 fbd->tce_tcam_last = tcam_idx; in __fbnic_write_tce_tcam_rev() [all …]
|
| H A D | fbnic_ethtool.c | 1191 unsigned int tcam_idx) in fbnic_clear_nfc_macda() argument 1197 __fbnic_xc_unsync(&fbd->mac_addr[idx], tcam_idx); in fbnic_clear_nfc_macda() 1205 unsigned int tcam_idx) in fbnic_clear_nfc_ip_addr() argument 1211 __fbnic_ip_unsync(&fbd->ip_src[idx], tcam_idx); in fbnic_clear_nfc_ip_addr() 1213 __fbnic_ip_unsync(&fbd->ip_dst[idx], tcam_idx); in fbnic_clear_nfc_ip_addr() 1215 __fbnic_ip_unsync(&fbd->ipo_src[idx], tcam_idx); in fbnic_clear_nfc_ip_addr() 1217 __fbnic_ip_unsync(&fbd->ipo_dst[idx], tcam_idx); in fbnic_clear_nfc_ip_addr()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_mps.c | 108 int *tcam_idx, const u8 *addr, in cxgb4_update_mac_filt() argument 113 ret = cxgb4_change_mac(pi, viid, tcam_idx, in cxgb4_update_mac_filt() 118 cxgb4_mps_ref_inc(pi->adapter, addr, *tcam_idx, NULL); in cxgb4_update_mac_filt()
|
| H A D | cxgb4_main.c | 461 int *tcam_idx, const u8 *addr, bool persist, in cxgb4_change_mac() argument 469 *tcam_idx, addr, persist, smt_idx); in cxgb4_change_mac() 490 *tcam_idx = ret; in cxgb4_change_mac()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_flex_pipe.c | 1306 u16 *tcam_idx) in ice_alloc_tcam_ent() argument 1313 return ice_alloc_hw_res(hw, res_type, 1, btm, tcam_idx); in ice_alloc_tcam_ent() 1325 ice_free_tcam_ent(struct ice_hw *hw, enum ice_block blk, u16 tcam_idx) in ice_free_tcam_ent() argument 1332 return ice_free_hw_res(hw, res_type, 1, &tcam_idx); in ice_free_tcam_ent() 2538 p->entry[0].addr = cpu_to_le16(tmp->tcam_idx); in ice_prof_bld_tcam() 2542 &hw->blk[blk].prof.t[tmp->tcam_idx].key, in ice_prof_bld_tcam() 3226 prof->tcam[i].tcam_idx); in ice_rem_prof_id() 3530 p->tcam[i].tcam_idx = ICE_INVALID_TCAM; in ice_add_prof_to_lst() 3605 if (tmp->type == ICE_TCAM_ADD && tmp->tcam_idx == idx) { in ice_rem_chg_tcam_ent() 3636 status = ice_rel_tcam_idx(hw, blk, tcam->tcam_idx); in ice_prof_tcam_ena_dis() [all …]
|
| /linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
| H A D | cxgb4vf_main.c | 273 int *tcam_idx, const u8 *addr, bool persistent) in cxgb4vf_change_mac() argument 279 ret = t4vf_change_mac(adapter, viid, *tcam_idx, addr, persistent); in cxgb4vf_change_mac() 300 *tcam_idx = ret; in cxgb4vf_change_mac()
|