| /dpdk/app/test-pmd/ |
| H A D | cmdline_mtr.c | 98 if (*dscp_table == NULL) in parse_dscp_table_entries() 110 (*dscp_table)[i++] = RTE_COLOR_RED; in parse_dscp_table_entries() 112 free(*dscp_table); in parse_dscp_table_entries() 120 free(*dscp_table); in parse_dscp_table_entries() 129 enum rte_color **dscp_table) in parse_meter_color_str() argument 781 enum rte_color *dscp_table = NULL; in cmd_create_port_meter_parsed() local 801 params.dscp_table = dscp_table; in cmd_create_port_meter_parsed() 811 free(dscp_table); in cmd_create_port_meter_parsed() 1184 dscp_table, "dscp table"); 1213 dscp_table, &error); in cmd_set_port_meter_dscp_table_parsed() [all …]
|
| /dpdk/drivers/net/cnxk/ |
| H A D | cnxk_ethdev_mtr.c | 524 if (params->dscp_table) { in cnxk_nix_mtr_create() 525 mtr->params.dscp_table = in cnxk_nix_mtr_create() 527 if (mtr->params.dscp_table == NULL) { in cnxk_nix_mtr_create() 535 mtr->params.dscp_table[i] = params->dscp_table[i]; in cnxk_nix_mtr_create() 622 plt_free(mtr->params.dscp_table); in cnxk_nix_mtr_destroy() 689 enum rte_color *dscp_table, in cnxk_nix_mtr_dscp_table_update() argument 709 if (!dscp_table) { in cnxk_nix_mtr_dscp_table_update() 714 nix_dscp_tbl[i] = color_map[dscp_table[i]]; in cnxk_nix_mtr_dscp_table_update() 1107 if (mtr->params.dscp_table) { in nix_dscp_table_map() 1109 tbl->color[i] = color_map[mtr->params.dscp_table[i]]; in nix_dscp_table_map()
|
| /dpdk/lib/ethdev/ |
| H A D | rte_mtr.h | 248 enum rte_color *dscp_table; member 832 enum rte_color *dscp_table,
|
| H A D | rte_mtr.c | 202 enum rte_color *dscp_table, in rte_mtr_meter_dscp_table_update() argument 207 mtr_id, dscp_table, error); in rte_mtr_meter_dscp_table_update()
|
| H A D | rte_mtr_driver.h | 97 enum rte_color *dscp_table,
|
| /dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_thread.c | 668 struct rte_table_action_dscp_table dscp_table; member 1931 struct rte_table_action_dscp_table *dscp_table) in softnic_pipeline_table_dscp_table_update() argument 1940 dscp_table == NULL) in softnic_pipeline_table_dscp_table_update() 1953 dscp_table); in softnic_pipeline_table_dscp_table_update() 1957 memcpy(&p->table[table_id].dscp_table, dscp_table, in softnic_pipeline_table_dscp_table_update() 1958 sizeof(p->table[table_id].dscp_table)); in softnic_pipeline_table_dscp_table_update() 1973 dscp_table, sizeof(*dscp_table)); in softnic_pipeline_table_dscp_table_update() 1983 memcpy(&p->table[table_id].dscp_table, dscp_table, in softnic_pipeline_table_dscp_table_update() 1984 sizeof(p->table[table_id].dscp_table)); in softnic_pipeline_table_dscp_table_update() 2871 &req->table_dscp_table_update.dscp_table; in pipeline_msg_handle_table_dscp_table_update() [all …]
|
| H A D | rte_eth_softnic_meter.c | 640 enum rte_color *dscp_table, in pmd_mtr_meter_dscp_table_update() argument 668 memcpy(&dt, &table->dscp_table, sizeof(dt)); in pmd_mtr_meter_dscp_table_update() 670 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 | 525 struct rte_table_action_dscp_table dscp_table; member 1103 struct rte_table_action_dscp_table *dscp_table);
|
| H A D | rte_eth_softnic_cli.c | 5779 load_dscp_table(struct rte_table_action_dscp_table *dscp_table, in load_dscp_table() argument 5787 if (dscp_table == NULL || in load_dscp_table() 5824 if (dscp >= RTE_DIM(dscp_table->entry) || in load_dscp_table() 5858 dscp_table->entry[dscp].tc_id = tc_id; in load_dscp_table() 5859 dscp_table->entry[dscp].tc_queue_id = tc_queue_id; in load_dscp_table() 5860 dscp_table->entry[dscp].color = color; in load_dscp_table() 5876 struct rte_table_action_dscp_table dscp_table; in cmd_pipeline_table_dscp() local 5905 status = load_dscp_table(&dscp_table, file_name, &line_number); in cmd_pipeline_table_dscp() 5915 &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()
|
| /dpdk/lib/pipeline/ |
| H A D | rte_table_action.c | 2633 &action->dscp_table.entry[i]; in rte_table_action_dscp_table_update() 2920 &action->dscp_table, in pkt_work() 2933 &action->dscp_table, in pkt_work() 3116 &action->dscp_table, in pkt4_work() 3124 &action->dscp_table, in pkt4_work() 3132 &action->dscp_table, in pkt4_work() 3140 &action->dscp_table, in pkt4_work() 3159 &action->dscp_table, in pkt4_work() 3164 &action->dscp_table, in pkt4_work() 3169 &action->dscp_table, in pkt4_work() [all …]
|
| /dpdk/examples/ip_pipeline/ |
| H A D | thread.c | 637 struct rte_table_action_dscp_table dscp_table; member 2018 struct rte_table_action_dscp_table *dscp_table) in pipeline_table_dscp_table_update() argument 2027 (dscp_table == NULL)) in pipeline_table_dscp_table_update() 2040 dscp_table); in pipeline_table_dscp_table_update() 2054 memcpy(&req->table_dscp_table_update.dscp_table, in pipeline_table_dscp_table_update() 2055 dscp_table, sizeof(*dscp_table)); in pipeline_table_dscp_table_update() 2946 struct rte_table_action_dscp_table *dscp_table = in pipeline_msg_handle_table_dscp_table_update() local 2947 &req->table_dscp_table_update.dscp_table; in pipeline_msg_handle_table_dscp_table_update() 2952 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 | 5610 load_dscp_table(struct rte_table_action_dscp_table *dscp_table, in load_dscp_table() argument 5618 if ((dscp_table == NULL) || in load_dscp_table() 5655 if ((dscp >= RTE_DIM(dscp_table->entry)) || in load_dscp_table() 5689 dscp_table->entry[dscp].tc_id = tc_id; in load_dscp_table() 5690 dscp_table->entry[dscp].tc_queue_id = tc_queue_id; in load_dscp_table() 5691 dscp_table->entry[dscp].color = color; in load_dscp_table() 5706 struct rte_table_action_dscp_table dscp_table; in cmd_pipeline_table_dscp() local 5735 status = load_dscp_table(&dscp_table, file_name, &line_number); in cmd_pipeline_table_dscp() 5744 &dscp_table); in cmd_pipeline_table_dscp()
|
| /dpdk/app/test-flow-perf/ |
| H A D | main.c | 1136 params.dscp_table = NULL; in create_meter_rule()
|
| /dpdk/doc/guides/testpmd_app_ug/ |
| H A D | testpmd_funcs.rst | 2848 *dscp_table* to determine the input color.
|