Searched refs:flow_cfg (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | cn20k.c | 254 static int cn20k_tc_get_entry_index(struct otx2_flow_config *flow_cfg, in cn20k_tc_get_entry_index() argument 260 list_for_each_entry(tmp, &flow_cfg->flow_list_tc, list) { in cn20k_tc_get_entry_index() 296 struct otx2_flow_config *flow_cfg, in cn20k_tc_check_entry_shiftable() argument 305 first = list_first_entry(&flow_cfg->flow_list_tc, struct otx2_tc_flow, in cn20k_tc_check_entry_shiftable() 312 list_for_each_entry_safe(tmp, n, &flow_cfg->flow_list_tc, list) { in cn20k_tc_check_entry_shiftable() 335 struct otx2_flow_config *flow_cfg, in cn20k_tc_update_mcam_table_del_req() argument 343 index = cn20k_tc_get_entry_index(flow_cfg, node); in cn20k_tc_update_mcam_table_del_req() 349 first = list_first_entry(&flow_cfg->flow_list_tc, struct otx2_tc_flow, in cn20k_tc_update_mcam_table_del_req() 356 if (!cn20k_tc_check_entry_shiftable(nic, flow_cfg, node, in cn20k_tc_update_mcam_table_del_req() 367 list_for_each_entry_safe(tmp, n, &flow_cfg->flow_list_tc, list) { in cn20k_tc_update_mcam_table_del_req() [all …]
|
| H A D | rep.c | 43 rep->flow_cfg = kzalloc_objs(struct otx2_flow_config, 1); in rvu_rep_mcam_flow_init() 45 if (!rep->flow_cfg) in rvu_rep_mcam_flow_init() 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() 93 rep->flow_cfg->max_flows = allocated; in rvu_rep_mcam_flow_init() 101 INIT_LIST_HEAD(&rep->flow_cfg->flow_list); in rvu_rep_mcam_flow_init() 102 INIT_LIST_HEAD(&rep->flow_cfg->flow_list_tc); in rvu_rep_mcam_flow_init() [all …]
|
| H A D | rep.h | 39 struct otx2_flow_config *flow_cfg; member
|
| H A D | otx2_ethtool.c | 756 nfc->rule_cnt = pfvf->flow_cfg->nr_flows; in otx2_get_rxnfc() 780 pfvf->flow_cfg->ntuple = ntuple; in otx2_set_rxnfc()
|
| H A D | otx2_common.c | 2042 if (!pfvf->flow_cfg->max_flows) { in otx2_handle_ntuple_tc_features()
|
| /linux/drivers/net/ethernet/ti/icssg/ |
| H A D | icssg_config.c | 512 struct icssg_flow_cfg __iomem *flow_cfg; in icssg_config() local 547 flow_cfg = config + PSI_L_REGULAR_FLOW_ID_BASE_OFFSET; in icssg_config() 548 writew(emac->rx_flow_id_base, &flow_cfg->rx_base_flow); in icssg_config() 549 writew(0, &flow_cfg->mgm_base_flow); in icssg_config()
|
| H A D | icssg_prueth.c | 1017 struct icssg_flow_cfg __iomem *flow_cfg; in emac_ndo_open() local 1073 flow_cfg = emac->dram.va + ICSSG_CONFIG_OFFSET + PSI_L_REGULAR_FLOW_ID_BASE_OFFSET; in emac_ndo_open() 1074 writew(emac->rx_flow_id_base, &flow_cfg->rx_base_flow); in emac_ndo_open()
|