Lines Matching refs:location

88 nxge_tcam_dump_entry(p_nxge_t nxgep, uint32_t location)  in nxge_tcam_dump_entry()  argument
98 status = npi_fflp_tcam_entry_read(handle, (tcam_location_t)location, in nxge_tcam_dump_entry()
103 " tcam read failed at location %d ", location)); in nxge_tcam_dump_entry()
107 (tcam_location_t)location, &asc_ram); in nxge_tcam_dump_entry()
112 " ASC RAM %llx \n", location, in nxge_tcam_dump_entry()
125 int location; in nxge_get_tcam() local
130 location = *lptr; in nxge_get_tcam()
132 if ((location >= nxgep->classifier.tcam_size) || (location < -1)) { in nxge_get_tcam()
134 "nxge_tcam_dump: Invalid location %d \n", location)); in nxge_get_tcam()
137 if (location == -1) { in nxge_get_tcam()
141 start_location = location; in nxge_get_tcam()
142 stop_location = location + 1; in nxge_get_tcam()
257 uint16_t location; in nxge_fflp_tcam_invalidate_all() local
273 for (location = start; location < stop; location++) { in nxge_fflp_tcam_invalidate_all()
274 rs = npi_fflp_tcam_entry_invalidate(handle, location); in nxge_fflp_tcam_invalidate_all()
278 "TCAM invalidate failed at loc %d ", location)); in nxge_fflp_tcam_invalidate_all()
307 uint32_t location; in nxge_fflp_fcram_invalidate_all() local
342 for (location = 0; location < last_location; location += increment) { in nxge_fflp_fcram_invalidate_all()
344 location, fc.value[0]); in nxge_fflp_fcram_invalidate_all()
347 "failed write at location %x ", location)); in nxge_fflp_fcram_invalidate_all()
1272 tcam_location_t location; in nxge_add_tcam_entry() local
1284 location = (tcam_location_t)nxge_tcam_get_index(nxgep, in nxge_add_tcam_entry()
1285 (uint16_t)flow_res->location); in nxge_add_tcam_entry()
1488 " for location %d offset %d", location, offset)); in nxge_add_tcam_entry()
1491 rs = npi_fflp_tcam_entry_write(handle, location, &tcam_ptr); in nxge_add_tcam_entry()
1496 " failed for location %d", location)); in nxge_add_tcam_entry()
1508 location, tcam_ptr.match_action.value); in nxge_add_tcam_entry()
1512 " failed for ASC RAM location %d", location)); in nxge_add_tcam_entry()
1516 (void *) &nxgep->classifier.tcam_entries[location].tce, in nxge_add_tcam_entry()
1519 nxgep->classifier.tcam_entries[location].valid = 1; in nxge_add_tcam_entry()
1534 tcam_location_t location; in nxge_tcam_handle_ip_fragment() local
1547 location = nxgep->function_num; in nxge_tcam_handle_ip_fragment()
1548 nxgep->classifier.fragment_bug_location = location; in nxge_tcam_handle_ip_fragment()
1558 location, &tcam_ptr); in nxge_tcam_handle_ip_fragment()
1565 " failed for location %d", location)); in nxge_tcam_handle_ip_fragment()
1573 location, tcam_ptr.match_action.value); in nxge_tcam_handle_ip_fragment()
1581 " failed for ASC RAM location %d", location)); in nxge_tcam_handle_ip_fragment()
1585 (void *) &nxgep->classifier.tcam_entries[location].tce, in nxge_tcam_handle_ip_fragment()
1588 nxgep->classifier.tcam_entries[location].valid = 1; in nxge_tcam_handle_ip_fragment()
2304 nxge_del_tcam_entry(nxgep, cfg_info->fs.location); in nxge_rxclass_ioctl()
2437 index = nxge_tcam_get_index(nxgep, (uint16_t)fs->location); in nxge_get_tcam_entry()
2441 "Entry [%d] invalid for index [%d]", fs->location, index)); in nxge_get_tcam_entry()
2509 nxge_del_tcam_entry(p_nxge_t nxgep, uint32_t location) in nxge_del_tcam_entry() argument
2518 index = nxge_tcam_get_index(nxgep, (uint16_t)location); in nxge_del_tcam_entry()
2522 "Entry [%d] invalid for index [%d]", location, index)); in nxge_del_tcam_entry()
2567 "at loc %d ", location)); in nxge_del_tcam_entry()