Home
last modified time | relevance | path

Searched refs:flow_id (Results 1 – 25 of 81) sorted by relevance

1234

/f-stack/dpdk/drivers/net/bnxt/tf_core/
H A Dtf_ext_flow_handle.h115 #define TF_SET_FLOW_ID(flow_id, gfid, flag, dir) \ argument
117 (flow_id) &= ~(TF_GFID_FLOW_ID_MASK | \
120 (flow_id) |= (((gfid) << TF_GFID_FLOW_ID_SFT) & \
128 #define TF_GET_GFID_FROM_FLOW_ID(flow_id, gfid) \ argument
130 gfid = (((flow_id) & TF_GFID_FLOW_ID_MASK) >> \
134 #define TF_GET_DIR_FROM_FLOW_ID(flow_id, dir) \ argument
136 dir = (((flow_id) & TF_DIR_FLOW_ID_MASK) >> \
140 #define TF_GET_FLAG_FROM_FLOW_ID(flow_id, flag) \ argument
142 flag = (((flow_id) & TF_FLAG_FLOW_ID_MASK) >> \
/f-stack/dpdk/drivers/net/bnxt/tf_ulp/
H A Dbnxt_ulp_flow.c93 mapper_cparms->flow_id = params->fid; in bnxt_ulp_init_mapper_params()
110 struct rte_flow *flow_id; in bnxt_ulp_flow_create() local
204 flow_id = (struct rte_flow *)((uintptr_t)fid); in bnxt_ulp_flow_create()
205 return flow_id; in bnxt_ulp_flow_create()
292 uint32_t flow_id; in bnxt_ulp_flow_destroy() local
306 flow_id = (uint32_t)(uintptr_t)flow; in bnxt_ulp_flow_destroy()
319 if (ulp_flow_db_validate_flow_func(ulp_ctx, flow_id, func_id) == in bnxt_ulp_flow_destroy()
334 flow_id); in bnxt_ulp_flow_destroy()
391 uint32_t flow_id; in bnxt_ulp_flow_query() local
402 flow_id = (uint32_t)(uintptr_t)flow; in bnxt_ulp_flow_query()
[all …]
H A Dulp_def_rules.c299 uint32_t *flow_id) in ulp_default_flow_create() argument
376 mapper_params.flow_id = fid; in ulp_default_flow_create()
382 *flow_id = fid; in ulp_default_flow_create()
407 ulp_default_flow_destroy(struct rte_eth_dev *eth_dev, uint32_t flow_id) in ulp_default_flow_destroy() argument
418 if (!flow_id) { in ulp_default_flow_destroy()
428 flow_id); in ulp_default_flow_destroy()
480 uint32_t *flow_id) in bnxt_create_port_app_df_rule() argument
497 flow_id); in bnxt_create_port_app_df_rule()
552 uint32_t *flow_id) in bnxt_create_port_vfr_default_rule() argument
567 flow_id); in bnxt_create_port_vfr_default_rule()
H A Dulp_flow_db.c286 uint32_t flow_id, in ulp_flow_db_func_id_set() argument
1094 uint32_t flow_id = 0; in ulp_flow_db_function_flow_flush() local
1113 &flow_id)) { in ulp_flow_db_function_flow_flush()
1117 flow_id); in ulp_flow_db_function_flow_flush()
1151 uint32_t flow_id, in ulp_flow_db_validate_flow_func() argument
1181 uint32_t flow_id, in ulp_flow_db_resource_params_get() argument
1210 if (flow_id >= flow_tbl->num_flows || !flow_id) { in ulp_flow_db_resource_params_get()
1221 res_id = flow_id; in ulp_flow_db_resource_params_get()
1259 uint32_t flow_id, in ulp_default_flow_db_cfa_action_get() argument
1268 flow_id, in ulp_default_flow_db_cfa_action_get()
[all …]
H A Dbnxt_ulp.h87 uint32_t flow_id; member
190 uint32_t *flow_id);
195 uint32_t flow_id);
H A Dulp_flow_db.h243 uint32_t flow_id,
257 uint32_t flow_id,
H A Dulp_fc_mgr.h165 uint32_t flow_id,
H A Dulp_fc_mgr.c563 uint32_t flow_id, in ulp_fc_mgr_query_count_get() argument
585 flow_id, in ulp_fc_mgr_query_count_get()
628 ulp_flow_db_parent_flow_count_get(ctxt, flow_id, in ulp_fc_mgr_query_count_get()
H A Dulp_mapper.h97 uint32_t flow_id; member
/f-stack/dpdk/app/test-eventdev/
H A Dtest_order_common.h68 event->flow_id = *RTE_MBUF_DYNFIELD(event->mbuf, in order_flow_id_copy_from_mbuf()
73 order_flow_id_save(struct test_order *t, flow_id_t flow_id, in order_flow_id_save() argument
77 t->flow_id_dynfield_offset, flow_id_t *) = flow_id; in order_flow_id_save()
78 event->flow_id = flow_id; in order_flow_id_save()
/f-stack/dpdk/drivers/event/dpaa2/
H A Ddpaa2_eventdev_selftest.c42 uint32_t flow_id; member
219 uint32_t flow_id, uint8_t event_type, in update_event_and_validation_attr() argument
227 attr->flow_id = flow_id; in update_event_and_validation_attr()
235 ev->flow_id = flow_id; in update_event_and_validation_attr()
246 inject_events(uint32_t flow_id, uint8_t event_type, uint8_t sub_event_type, in inject_events() argument
259 update_event_and_validation_attr(m, &ev, flow_id, event_type, in inject_events()
320 RTE_TEST_ASSERT_EQUAL(attr->flow_id, ev->flow_id, in validate_event()
322 attr->flow_id, ev->flow_id); in validate_event()
/f-stack/freebsd/netpfil/ipfw/test/
H A Dmain.c119 q = FI2Q(c, m->flow_id); in drop()
172 struct dn_queue *_q = FI2Q(c, mb->flow_id); in gnet_stats_enq()
184 struct dn_queue *_q = FI2Q(c, mb->flow_id); in gnet_stats_deq()
196 if (c->q_wfi[mb->flow_id] < wfi) in gnet_stats_deq()
197 c->q_wfi[mb->flow_id] = wfi; in gnet_stats_deq()
650 int flow_id; in controller() local
683 flow_id = Q2FI(c, q); in controller()
697 fs->cur = flow_id; in controller()
709 flow_id = fs->cur++; in controller()
731 m->flow_id = flow_id; in controller()
[all …]
H A Ddn_test.h136 uint32_t flow_id; /* for testing, index of a flow */ member
/f-stack/dpdk/drivers/net/ionic/
H A Dionic_rx_filter.h15 uint32_t flow_id; member
40 int ionic_rx_filter_save(struct ionic_lif *lif, uint32_t flow_id,
H A Dionic_rx_filter.c65 ionic_rx_filter_save(struct ionic_lif *lif, uint32_t flow_id, in ionic_rx_filter_save() argument
76 f->flow_id = flow_id; in ionic_rx_filter_save()
/f-stack/dpdk/drivers/event/octeontx2/
H A Dotx2_evdev_selftest.c39 uint32_t flow_id; member
243 uint32_t flow_id, uint8_t event_type, in update_event_and_validation_attr() argument
251 attr->flow_id = flow_id; in update_event_and_validation_attr()
258 ev->flow_id = flow_id; in update_event_and_validation_attr()
269 inject_events(uint32_t flow_id, uint8_t event_type, uint8_t sub_event_type, in inject_events() argument
283 update_event_and_validation_attr(m, &ev, flow_id, event_type, in inject_events()
345 RTE_TEST_ASSERT_EQUAL(attr->flow_id, ev->flow_id, in validate_event()
347 attr->flow_id, ev->flow_id); in validate_event()
886 ev.flow_id = 0x2; in worker_flow_based_pipeline()
1043 ev.flow_id = 0x2; in worker_group_based_pipeline()
[all …]
/f-stack/dpdk/drivers/event/octeontx/
H A Dssovf_evdev_selftest.c40 uint32_t flow_id; member
264 uint32_t flow_id, uint8_t event_type, in update_event_and_validation_attr() argument
272 attr->flow_id = flow_id; in update_event_and_validation_attr()
279 ev->flow_id = flow_id; in update_event_and_validation_attr()
290 inject_events(uint32_t flow_id, uint8_t event_type, uint8_t sub_event_type, in inject_events() argument
304 update_event_and_validation_attr(m, &ev, flow_id, event_type, in inject_events()
365 RTE_TEST_ASSERT_EQUAL(attr->flow_id, ev->flow_id, in validate_event()
367 attr->flow_id, ev->flow_id); in validate_event()
902 ev.flow_id = 0x2; in worker_flow_based_pipeline()
1057 ev.flow_id = 0x2; in worker_group_based_pipeline()
[all …]
/f-stack/dpdk/drivers/net/dpaa2/
H A Ddpaa2_ethdev.c393 mc_q->flow_id = 0xffff; in dpaa2_alloc_rx_tx_queues()
407 mc_q->flow_id = 0; in dpaa2_alloc_rx_tx_queues()
658 uint8_t flow_id; in dpaa2_dev_rx_queue_setup() local
688 flow_id = dpaa2_q->flow_id; in dpaa2_dev_rx_queue_setup()
765 dpaa2_q->tc_index, flow_id, in dpaa2_dev_rx_queue_setup()
814 uint8_t options = 0, flow_id; in dpaa2_dev_tx_queue_setup() local
841 flow_id = 0; in dpaa2_dev_tx_queue_setup()
848 tc_id, flow_id, ret); in dpaa2_dev_tx_queue_setup()
852 dpaa2_q->flow_id = flow_id; in dpaa2_dev_tx_queue_setup()
2158 uint8_t flow_id = dpaa2_ethq->flow_id; in dpaa2_eth_eventq_attach() local
[all …]
/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_flow.c999 filter->flow_id = filter1->flow_id; in bnxt_update_filter_flags_en()
1192 filter->flow_id = filter1->flow_id; in bnxt_validate_and_parse_flow()
1261 filter->flow_id = filter1->flow_id; in bnxt_validate_and_parse_flow()
1688 uint32_t tun_type, flow_id; in bnxt_flow_create() local
1824 filter->mark, filter->flow_id); in bnxt_flow_create()
1829 flow_id = filter->flow_id & BNXT_FLOW_ID_MASK; in bnxt_flow_create()
1830 if (bp->mark_table[flow_id].valid) { in bnxt_flow_create()
1923 uint32_t flow_id; in _bnxt_flow_destroy() local
1942 flow_id = filter->flow_id & BNXT_FLOW_ID_MASK; in _bnxt_flow_destroy()
1943 memset(&bp->mark_table[flow_id], 0, in _bnxt_flow_destroy()
[all …]
/f-stack/dpdk/drivers/event/dsw/
H A Ddsw_event.c590 uint16_t flow_id = port->next_parallel_flow_id; in dsw_port_get_parallel_flow_id() local
595 return flow_id; in dsw_port_get_parallel_flow_id()
623 dsw_flow_id_hash(uint32_t flow_id) in dsw_flow_id_hash() argument
629 hash ^= ((flow_id >> offset) & DSW_MAX_FLOWS_MASK); in dsw_flow_id_hash()
642 event.flow_id = dsw_port_get_parallel_flow_id(source_port); in dsw_port_buffer_parallel()
645 dsw_flow_id_hash(event.flow_id)); in dsw_port_buffer_parallel()
663 flow_hash = dsw_flow_id_hash(event->flow_id); in dsw_port_buffer_event()
703 flow_hash = dsw_flow_id_hash(event->flow_id); in dsw_port_flush_paused_events()
991 dsw_flow_id_hash(e->flow_id) == flow_hash) { in dsw_port_forward_emigrated_flow()
1297 qf->flow_hash = dsw_flow_id_hash(event->flow_id); in dsw_port_record_seen_events()
[all …]
/f-stack/dpdk/drivers/event/sw/
H A Dsw_evdev_scheduler.c51 const uint16_t flow_id = SW_HASH_FLOWID(qes[i].flow_id); in sw_schedule_atomic_to_cq() local
52 struct sw_fid_t *fid = &qid->fids[flow_id]; in sw_schedule_atomic_to_cq()
93 p->hist_list[head].fid = flow_id; in sw_schedule_atomic_to_cq()
165 p->hist_list[head].fid = SW_HASH_FLOWID(qe->flow_id); in sw_schedule_parallel_to_cq()
/f-stack/dpdk/drivers/net/mlx4/
H A Dmlx4_glue.c155 mlx4_glue_destroy_flow(struct ibv_flow *flow_id) in mlx4_glue_destroy_flow() argument
157 return ibv_destroy_flow(flow_id); in mlx4_glue_destroy_flow()
/f-stack/dpdk/drivers/net/dpaa2/mc/
H A Dfsl_dpni.h790 uint8_t flow_id);
824 uint8_t flow_id);
1208 uint8_t flow_id);
1258 uint16_t flow_id; member
H A Ddpni.c1232 uint8_t flow_id) in dpni_add_mac_addr() argument
1245 cmd_params->fq_id = flow_id; in dpni_add_mac_addr()
1409 uint8_t flow_id) in dpni_add_vlan_id() argument
1421 cmd_params->flow_id = flow_id; in dpni_add_vlan_id()
1626 uint8_t flow_id) in dpni_add_qos_entry() argument
1637 cmd_params->flow_id = flow_id; in dpni_add_qos_entry()
1741 cmd_params->flow_id = cpu_to_le16(action->flow_id); in dpni_add_fs_entry()
/f-stack/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_glue.c166 mlx5_glue_destroy_flow(struct ibv_flow *flow_id) in mlx5_glue_destroy_flow() argument
168 return ibv_destroy_flow(flow_id); in mlx5_glue_destroy_flow()
847 mlx5_glue_dv_destroy_flow(void *flow_id) in mlx5_glue_dv_destroy_flow() argument
850 return mlx5dv_dr_rule_destroy(flow_id); in mlx5_glue_dv_destroy_flow()
852 return ibv_destroy_flow(flow_id); in mlx5_glue_dv_destroy_flow()

1234