Searched refs:flow_ent (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_flows.c | 35 devm_kfree(pfvf->dev, flow_cfg->flow_ent); in otx2_clear_ntuple_flow_info() 36 flow_cfg->flow_ent = NULL; in otx2_clear_ntuple_flow_info() 146 req->entry = flow_cfg->flow_ent[ent]; in otx2_free_ntuple_mcam_entries() 175 flow_cfg->flow_ent = devm_kmalloc_array(pfvf->dev, count, in otx2_alloc_mcam_entries() 177 if (!flow_cfg->flow_ent) { in otx2_alloc_mcam_entries() 247 flow_cfg->flow_ent[ent + allocated] = rsp->entry_list[ent]; in otx2_alloc_mcam_entries() 264 sort(&flow_cfg->flow_ent[0], allocated, in otx2_alloc_mcam_entries() 265 sizeof(flow_cfg->flow_ent[0]), mcam_entry_cmp, NULL); in otx2_alloc_mcam_entries() 1253 flow_cfg->flow_ent[flow->location], in otx2_add_flow_msg() 1396 flow->entry = flow_cfg->flow_ent[flow->location]; in otx2_add_flow() [all …]
|
| H A D | rep.c | 50 rep->flow_cfg->flow_ent = kcalloc(count, sizeof(u16), GFP_KERNEL); in rvu_rep_mcam_flow_init() 51 if (!rep->flow_cfg->flow_ent) in rvu_rep_mcam_flow_init() 74 rep->flow_cfg->flow_ent[ent + allocated] = rsp->entry_list[ent]; in rvu_rep_mcam_flow_init() 88 sort(&rep->flow_cfg->flow_ent[0], allocated, in rvu_rep_mcam_flow_init() 89 sizeof(rep->flow_cfg->flow_ent[0]), mcam_entry_cmp, NULL); in rvu_rep_mcam_flow_init()
|
| H A D | otx2_tc.c | 1159 tmp->entry = flow_cfg->flow_ent[mcam_idx]; in otx2_tc_update_mcam_table_add_req() 1166 return flow_cfg->flow_ent[mcam_idx]; in otx2_tc_update_mcam_table_add_req()
|
| H A D | otx2_common.h | 344 u16 *flow_ent; member
|