Home
last modified time | relevance | path

Searched refs:flow_ent (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c35 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()
55 req->entry = flow_cfg->flow_ent[ent]; in otx2_free_ntuple_mcam_entries()
80 flow_cfg->flow_ent = devm_kmalloc_array(pfvf->dev, count, in otx2_alloc_mcam_entries()
82 if (!flow_cfg->flow_ent) { in otx2_alloc_mcam_entries()
121 flow_cfg->flow_ent[ent + allocated] = rsp->entry_list[ent]; in otx2_alloc_mcam_entries()
138 sort(&flow_cfg->flow_ent[0], allocated, in otx2_alloc_mcam_entries()
139 sizeof(flow_cfg->flow_ent[0]), mcam_entry_cmp, NULL); in otx2_alloc_mcam_entries()
1138 flow->entry = flow_cfg->flow_ent[flow->location]; in otx2_add_flow()
1354 req->start = flow_cfg->flow_ent[0]; in otx2_destroy_ntuple_flows()
[all …]
H A Drep.c50 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 Dotx2_tc.c1167 tmp->entry = flow_cfg->flow_ent[mcam_idx]; in otx2_tc_update_mcam_table_add_req()
1306 req->entry = flow_cfg->flow_ent[mcam_idx]; in otx2_tc_add_flow()
H A Dotx2_common.h337 u16 *flow_ent; member