| /f-stack/dpdk/app/test-pmd/ |
| H A D | cmdline_mtr.c | 89 if (*dscp_table == NULL) in parse_dscp_table_entries() 95 *dscp_table[i++] = RTE_COLOR_GREEN; in parse_dscp_table_entries() 101 *dscp_table[i++] = RTE_COLOR_RED; in parse_dscp_table_entries() 103 free(*dscp_table); in parse_dscp_table_entries() 111 free(*dscp_table); in parse_dscp_table_entries() 120 enum rte_color **dscp_table) in parse_meter_color_str() argument 804 params.dscp_table = dscp_table; in cmd_create_port_meter_parsed() 821 free(dscp_table); in cmd_create_port_meter_parsed() 1129 dscp_table, "dscp table"); 1158 dscp_table, &error); in cmd_set_port_meter_dscp_table_parsed() [all …]
|
| /f-stack/dpdk/lib/librte_ethdev/ |
| H A D | rte_mtr.h | 226 enum rte_color *dscp_table; member 611 enum rte_color *dscp_table,
|
| H A D | rte_mtr.c | 156 enum rte_color *dscp_table, in rte_mtr_meter_dscp_table_update() argument 161 mtr_id, dscp_table, error); in rte_mtr_meter_dscp_table_update()
|
| H A D | rte_mtr_driver.h | 74 enum rte_color *dscp_table,
|
| /f-stack/dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_thread.c | 672 struct rte_table_action_dscp_table dscp_table; member 1935 struct rte_table_action_dscp_table *dscp_table) in softnic_pipeline_table_dscp_table_update() argument 1944 dscp_table == NULL) in softnic_pipeline_table_dscp_table_update() 1957 dscp_table); in softnic_pipeline_table_dscp_table_update() 1961 memcpy(&p->table[table_id].dscp_table, dscp_table, in softnic_pipeline_table_dscp_table_update() 1962 sizeof(p->table[table_id].dscp_table)); in softnic_pipeline_table_dscp_table_update() 1977 dscp_table, sizeof(*dscp_table)); in softnic_pipeline_table_dscp_table_update() 1987 memcpy(&p->table[table_id].dscp_table, dscp_table, in softnic_pipeline_table_dscp_table_update() 1988 sizeof(p->table[table_id].dscp_table)); in softnic_pipeline_table_dscp_table_update() 2875 &req->table_dscp_table_update.dscp_table; in pipeline_msg_handle_table_dscp_table_update() [all …]
|
| H A D | rte_eth_softnic_meter.c | 461 enum rte_color *dscp_table, in pmd_mtr_meter_dscp_table_update() argument 489 memcpy(&dt, &table->dscp_table, sizeof(dt)); in pmd_mtr_meter_dscp_table_update() 491 dt.entry[i].color = (enum rte_color)dscp_table[i]; in pmd_mtr_meter_dscp_table_update()
|
| H A D | rte_eth_softnic_internals.h | 513 struct rte_table_action_dscp_table dscp_table; member 1090 struct rte_table_action_dscp_table *dscp_table);
|
| H A D | rte_eth_softnic_cli.c | 5783 load_dscp_table(struct rte_table_action_dscp_table *dscp_table, in load_dscp_table() argument 5791 if (dscp_table == NULL || in load_dscp_table() 5828 if (dscp >= RTE_DIM(dscp_table->entry) || in load_dscp_table() 5862 dscp_table->entry[dscp].tc_id = tc_id; in load_dscp_table() 5863 dscp_table->entry[dscp].tc_queue_id = tc_queue_id; in load_dscp_table() 5864 dscp_table->entry[dscp].color = color; in load_dscp_table() 5880 struct rte_table_action_dscp_table dscp_table; in cmd_pipeline_table_dscp() local 5909 status = load_dscp_table(&dscp_table, file_name, &line_number); in cmd_pipeline_table_dscp() 5919 &dscp_table); in cmd_pipeline_table_dscp()
|
| H A D | rte_eth_softnic_pipeline.c | 1071 memset(&table->dscp_table, 0, sizeof(table->dscp_table)); in softnic_pipeline_table_create()
|
| /f-stack/dpdk/lib/librte_pipeline/ |
| H A D | rte_table_action.c | 2635 &action->dscp_table.entry[i]; in rte_table_action_dscp_table_update() 2922 &action->dscp_table, in pkt_work() 2935 &action->dscp_table, in pkt_work() 3118 &action->dscp_table, in pkt4_work() 3126 &action->dscp_table, in pkt4_work() 3134 &action->dscp_table, in pkt4_work() 3142 &action->dscp_table, in pkt4_work() 3161 &action->dscp_table, in pkt4_work() 3166 &action->dscp_table, in pkt4_work() 3171 &action->dscp_table, in pkt4_work() [all …]
|
| /f-stack/dpdk/examples/ip_pipeline/ |
| H A D | thread.c | 639 struct rte_table_action_dscp_table dscp_table; member 2020 struct rte_table_action_dscp_table *dscp_table) in pipeline_table_dscp_table_update() argument 2029 (dscp_table == NULL)) in pipeline_table_dscp_table_update() 2042 dscp_table); in pipeline_table_dscp_table_update() 2056 memcpy(&req->table_dscp_table_update.dscp_table, in pipeline_table_dscp_table_update() 2057 dscp_table, sizeof(*dscp_table)); in pipeline_table_dscp_table_update() 2948 struct rte_table_action_dscp_table *dscp_table = in pipeline_msg_handle_table_dscp_table_update() local 2949 &req->table_dscp_table_update.dscp_table; in pipeline_msg_handle_table_dscp_table_update() 2954 dscp_table); in pipeline_msg_handle_table_dscp_table_update()
|
| H A D | pipeline.h | 390 struct rte_table_action_dscp_table *dscp_table);
|
| H A D | cli.c | 5619 load_dscp_table(struct rte_table_action_dscp_table *dscp_table, in load_dscp_table() argument 5627 if ((dscp_table == NULL) || in load_dscp_table() 5664 if ((dscp >= RTE_DIM(dscp_table->entry)) || in load_dscp_table() 5698 dscp_table->entry[dscp].tc_id = tc_id; in load_dscp_table() 5699 dscp_table->entry[dscp].tc_queue_id = tc_queue_id; in load_dscp_table() 5700 dscp_table->entry[dscp].color = color; in load_dscp_table() 5715 struct rte_table_action_dscp_table dscp_table; in cmd_pipeline_table_dscp() local 5744 status = load_dscp_table(&dscp_table, file_name, &line_number); in cmd_pipeline_table_dscp() 5753 &dscp_table); in cmd_pipeline_table_dscp()
|
| /f-stack/dpdk/doc/guides/testpmd_app_ug/ |
| H A D | testpmd_funcs.rst | 2770 *dscp_table* to determine the input color.
|