Lines Matching refs:epsfp
503 static struct enetc_psfp epsfp = { variable
905 hlist_for_each_entry(f, &epsfp.stream_list, node) in enetc_get_stream_by_index()
916 hlist_for_each_entry(g, &epsfp.psfp_gate_list, node) in enetc_get_gate_by_index()
927 hlist_for_each_entry(s, &epsfp.psfp_filter_list, node) in enetc_get_filter_by_index()
938 hlist_for_each_entry(m, &epsfp.psfp_meter_list, node) in enetc_get_meter_by_index()
950 hlist_for_each_entry(s, &epsfp.psfp_filter_list, node) in enetc_psfp_check_sfi()
965 index = find_first_zero_bit(epsfp.psfp_sfi_bitmap, max_size); in enetc_get_free_index()
985 clear_bit(index, epsfp.psfp_sfi_bitmap); in stream_filter_unref()
1338 spin_lock(&epsfp.psfp_lock); in enetc_psfp_parse_clsflower()
1348 hlist_add_head(&fmi->node, &epsfp.psfp_meter_list); in enetc_psfp_parse_clsflower()
1360 hlist_add_head(&sgi->node, &epsfp.psfp_gate_list); in enetc_psfp_parse_clsflower()
1363 hlist_add_head(&sfi->node, &epsfp.psfp_filter_list); in enetc_psfp_parse_clsflower()
1364 set_bit(sfi->index, epsfp.psfp_sfi_bitmap); in enetc_psfp_parse_clsflower()
1375 hlist_add_head(&filter->node, &epsfp.stream_list); in enetc_psfp_parse_clsflower()
1377 spin_unlock(&epsfp.psfp_lock); in enetc_psfp_parse_clsflower()
1480 spin_lock(&epsfp.psfp_lock); in enetc_psfp_get_stats()
1491 spin_unlock(&epsfp.psfp_lock); in enetc_psfp_get_stats()
1516 bitmap_free(epsfp.psfp_sfi_bitmap); in clean_psfp_sfi_bitmap()
1517 epsfp.psfp_sfi_bitmap = NULL; in clean_psfp_sfi_bitmap()
1525 hlist_for_each_entry_safe(s, tmp, &epsfp.stream_list, node) { in clean_stream_list()
1536 hlist_for_each_entry_safe(sfi, tmp, &epsfp.psfp_filter_list, node) { in clean_sfi_list()
1547 hlist_for_each_entry_safe(sgi, tmp, &epsfp.psfp_gate_list, node) { in clean_sgi_list()
1559 epsfp.dev_bitmap = 0; in clean_psfp_all()
1604 if (epsfp.psfp_sfi_bitmap) in enetc_psfp_init()
1607 epsfp.psfp_sfi_bitmap = bitmap_zalloc(priv->psfp_cap.max_psfp_filter, in enetc_psfp_init()
1609 if (!epsfp.psfp_sfi_bitmap) in enetc_psfp_init()
1612 spin_lock_init(&epsfp.psfp_lock); in enetc_psfp_init()
1615 epsfp.dev_bitmap = 0; in enetc_psfp_init()
1648 set_bit(port, &epsfp.dev_bitmap); in enetc_setup_tc_psfp()
1655 clear_bit(port, &epsfp.dev_bitmap); in enetc_setup_tc_psfp()
1656 if (!epsfp.dev_bitmap) in enetc_setup_tc_psfp()