Home
last modified time | relevance | path

Searched refs:flow_tbl (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/hw/net/rocker/
H A Drocker_of_dpa.c37 GHashTable *flow_tbl; member
344 g_hash_table_foreach(of_dpa->flow_tbl, _of_dpa_flow_match, match); in of_dpa_flow_match()
351 return g_hash_table_lookup(of_dpa->flow_tbl, &cookie); in of_dpa_flow_find()
356 g_hash_table_insert(of_dpa->flow_tbl, &flow->cookie, flow); in of_dpa_flow_add()
363 g_hash_table_remove(of_dpa->flow_tbl, &flow->cookie); in of_dpa_flow_del()
2249 of_dpa->flow_tbl = g_hash_table_new_full(rocker_int64_hash, in of_dpa_init()
2252 if (!of_dpa->flow_tbl) { in of_dpa_init()
2269 g_hash_table_destroy(of_dpa->flow_tbl); in of_dpa_init()
2278 g_hash_table_destroy(of_dpa->flow_tbl); in of_dpa_uninit()
2443 g_hash_table_foreach(of_dpa->flow_tbl, of_dpa_flow_fill, &fill_context); in qmp_query_rocker_of_dpa_flows()
/openbmc/linux/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_internal.h220 u8 flow_tbl[OPA_VNIC_FLOW_TBL_SIZE]; member
H A Dopa_vnic_netdev.c182 adapter->flow_tbl[i] = port_count ? port_num[i % port_count] : in opa_vnic_process_vema_config()
H A Dopa_vnic_encap.c467 return adapter->flow_tbl[flow_id & (OPA_VNIC_FLOW_TBL_SIZE - 1)]; in opa_vnic_get_def_port()
/openbmc/linux/drivers/net/ethernet/rocker/
H A Drocker_ofdpa.c175 DECLARE_HASHTABLE(flow_tbl, 16);
747 hash_for_each_possible(ofdpa->flow_tbl, found, in ofdpa_flow_tbl_find()
782 hash_add(ofdpa->flow_tbl, &found->entry, found->key_crc32); in ofdpa_flow_tbl_add()
2353 hash_init(ofdpa->flow_tbl); in ofdpa_init()
2393 hash_for_each_safe(ofdpa->flow_tbl, bkt, tmp, flow_entry, entry) in ofdpa_fini()
2776 hash_for_each_safe(ofdpa->flow_tbl, bkt, tmp, flow_entry, entry) { in ofdpa_fib4_abort()