| /f-stack/dpdk/lib/librte_eventdev/ |
| H A D | rte_eventdev_trace.h | 57 const struct rte_event_port_conf *port_conf, int rc), 61 rte_trace_point_emit_u16(port_conf->dequeue_depth); 62 rte_trace_point_emit_u16(port_conf->enqueue_depth); 63 rte_trace_point_emit_u32(port_conf->event_port_cfg); 163 struct rte_event_port_conf *port_conf, int rc), 167 rte_trace_point_emit_u16(port_conf->dequeue_depth); 168 rte_trace_point_emit_u16(port_conf->enqueue_depth); 169 rte_trace_point_emit_u32(port_conf->event_port_cfg); 259 rte_trace_point_emit_u16(port_conf->dequeue_depth); 260 rte_trace_point_emit_u16(port_conf->enqueue_depth); [all …]
|
| H A D | rte_eventdev.c | 713 struct rte_event_port_conf *port_conf) in rte_event_port_default_conf_get() argument 720 if (port_conf == NULL) in rte_event_port_default_conf_get() 751 if ((port_conf && !port_conf->new_event_threshold) || in rte_event_port_setup() 752 (port_conf && port_conf->new_event_threshold > in rte_event_port_setup() 762 if ((port_conf && !port_conf->dequeue_depth) || in rte_event_port_setup() 763 (port_conf && port_conf->dequeue_depth > in rte_event_port_setup() 773 if ((port_conf && !port_conf->enqueue_depth) || in rte_event_port_setup() 774 (port_conf && port_conf->enqueue_depth > in rte_event_port_setup() 783 if (port_conf && in rte_event_port_setup() 801 if (port_conf == NULL) { in rte_event_port_setup() [all …]
|
| /f-stack/dpdk/drivers/event/dlb/ |
| H A D | dlb_selftest.c | 276 struct rte_event_port_conf port_conf; in test_single_link() local 321 port_conf.event_port_cfg = 0; in test_single_link() 472 struct rte_event_port_conf port_conf; in test_reconfiguration_link() local 704 port_conf.event_port_cfg = 0; in test_reconfiguration_link() 769 port_conf.event_port_cfg = 0; in test_reconfiguration_link() 773 &port_conf) < 0) { in test_reconfiguration_link() 799 struct rte_event_port_conf port_conf; in test_load_balanced_traffic() local 923 struct rte_event_port_conf port_conf; in test_directed_traffic() local 1056 struct rte_event_port_conf port_conf; in test_deferred_sched() local 1103 port_conf.dequeue_depth = 1; in test_deferred_sched() [all …]
|
| /f-stack/dpdk/drivers/event/dlb2/ |
| H A D | dlb2_selftest.c | 286 struct rte_event_port_conf port_conf; in test_single_link() local 331 port_conf.event_port_cfg = 0; in test_single_link() 495 struct rte_event_port_conf port_conf; in test_reconfiguration_link() local 727 port_conf.event_port_cfg = 0; in test_reconfiguration_link() 792 port_conf.event_port_cfg = 0; in test_reconfiguration_link() 796 &port_conf) < 0) { in test_reconfiguration_link() 822 struct rte_event_port_conf port_conf; in test_load_balanced_traffic() local 946 struct rte_event_port_conf port_conf; in test_directed_traffic() local 1079 struct rte_event_port_conf port_conf; in test_deferred_sched() local 1126 port_conf.dequeue_depth = 1; in test_deferred_sched() [all …]
|
| /f-stack/dpdk/examples/l2fwd-event/ |
| H A D | l2fwd_common.c | 12 struct rte_eth_conf port_conf = { in l2fwd_event_init_ports() local 26 port_conf.rxmode.mq_mode = ETH_MQ_RX_RSS; in l2fwd_event_init_ports() 27 port_conf.rx_adv_conf.rss_conf.rss_key = NULL; in l2fwd_event_init_ports() 28 port_conf.rx_adv_conf.rss_conf.rss_hf = ETH_RSS_IP; in l2fwd_event_init_ports() 33 struct rte_eth_conf local_port_conf = port_conf; in l2fwd_event_init_ports() 56 port_conf.rx_adv_conf.rss_conf.rss_hf) { in l2fwd_event_init_ports() 60 port_conf.rx_adv_conf.rss_conf.rss_hf, in l2fwd_event_init_ports()
|
| /f-stack/dpdk/examples/multi_process/symmetric_mp/ |
| H A D | main.c | 177 struct rte_eth_conf port_conf = { in smp_port_init() local 222 port_conf.txmode.offloads |= in smp_port_init() 225 rss_hf_tmp = port_conf.rx_adv_conf.rss_conf.rss_hf; in smp_port_init() 226 port_conf.rx_adv_conf.rss_conf.rss_hf &= info.flow_type_rss_offloads; in smp_port_init() 227 if (port_conf.rx_adv_conf.rss_conf.rss_hf != rss_hf_tmp) { in smp_port_init() 232 port_conf.rx_adv_conf.rss_conf.rss_hf); in smp_port_init() 235 retval = rte_eth_dev_configure(port, rx_rings, tx_rings, &port_conf); in smp_port_init() 244 rxq_conf.offloads = port_conf.rxmode.offloads; in smp_port_init() 255 txq_conf.offloads = port_conf.txmode.offloads; in smp_port_init()
|
| /f-stack/dpdk/examples/ip_pipeline/ |
| H A D | link.c | 103 struct rte_eth_conf port_conf; in link_create() local 158 memcpy(&port_conf, &port_conf_default, sizeof(port_conf)); in link_create() 160 port_conf.rxmode.mq_mode = ETH_MQ_RX_RSS; in link_create() 161 port_conf.rx_adv_conf.rss_conf.rss_hf = in link_create() 174 &port_conf); in link_create()
|
| /f-stack/dpdk/examples/l3fwd/ |
| H A D | l3fwd_event.c | 42 l3fwd_eth_dev_port_setup(struct rte_eth_conf *port_conf) in l3fwd_eth_dev_port_setup() argument 60 local_port_conf = *port_conf; in l3fwd_eth_dev_port_setup() 85 port_conf->rx_adv_conf.rss_conf.rss_hf) { in l3fwd_eth_dev_port_setup() 90 port_conf->rx_adv_conf.rss_conf.rss_hf, in l3fwd_eth_dev_port_setup() 215 l3fwd_event_resource_setup(struct rte_eth_conf *port_conf) in l3fwd_event_resource_setup() argument 243 l3fwd_eth_dev_port_setup(port_conf); in l3fwd_event_resource_setup()
|
| H A D | main.c | 115 static struct rte_eth_conf port_conf = { variable 627 port_conf.rxmode.offloads |= DEV_RX_OFFLOAD_JUMBO_FRAME; in parse_args() 628 port_conf.txmode.offloads |= DEV_TX_OFFLOAD_MULTI_SEGS; in parse_args() 643 port_conf.rxmode.max_rx_pkt_len = ret; in parse_args() 925 struct rte_eth_conf local_port_conf = port_conf; in l3fwd_poll_resource_setup() 957 port_conf.rx_adv_conf.rss_conf.rss_hf) { in l3fwd_poll_resource_setup() 961 port_conf.rx_adv_conf.rss_conf.rss_hf, in l3fwd_poll_resource_setup() 1072 rxq_conf.offloads = port_conf.rxmode.offloads; in l3fwd_poll_resource_setup() 1221 l3fwd_event_resource_setup(&port_conf); in main()
|
| /f-stack/dpdk/examples/flow_filtering/ |
| H A D | main.c | 130 struct rte_eth_conf port_conf = { in init_port() local 154 port_conf.txmode.offloads &= dev_info.tx_offload_capa; in init_port() 157 nr_queues, nr_queues, &port_conf); in init_port() 165 rxq_conf.offloads = port_conf.rxmode.offloads; in init_port() 179 txq_conf.offloads = port_conf.txmode.offloads; in init_port()
|
| /f-stack/dpdk/app/test-eventdev/ |
| H A D | test_pipeline_common.c | 172 struct rte_eth_conf port_conf = { in pipeline_ethdev_setup() local 195 port_conf.rxmode.max_rx_pkt_len = opt->max_pkt_sz; in pipeline_ethdev_setup() 197 port_conf.rxmode.offloads |= DEV_RX_OFFLOAD_JUMBO_FRAME; in pipeline_ethdev_setup() 202 struct rte_eth_conf local_port_conf = port_conf; in pipeline_ethdev_setup() 227 rx_conf.offloads = port_conf.rxmode.offloads; in pipeline_ethdev_setup() 232 port_conf.rx_adv_conf.rss_conf.rss_hf) { in pipeline_ethdev_setup() 236 port_conf.rx_adv_conf.rss_conf.rss_hf, in pipeline_ethdev_setup() 366 struct rte_event_port_conf port_conf) in pipeline_event_tx_adapter_setup() argument 383 &port_conf); in pipeline_event_tx_adapter_setup()
|
| /f-stack/dpdk/examples/skeleton/ |
| H A D | basicfwd.c | 35 struct rte_eth_conf port_conf = port_conf_default; in port_init() local 55 port_conf.txmode.offloads |= in port_init() 59 retval = rte_eth_dev_configure(port, rx_rings, tx_rings, &port_conf); in port_init() 76 txconf.offloads = port_conf.txmode.offloads; in port_init()
|
| /f-stack/dpdk/examples/vmdq/ |
| H A D | main.c | 167 struct rte_eth_conf port_conf; in port_init() local 198 retval = get_eth_conf(&port_conf, max_nb_pools); in port_init() 221 rss_hf_tmp = port_conf.rx_adv_conf.rss_conf.rss_hf; in port_init() 222 port_conf.rx_adv_conf.rss_conf.rss_hf &= in port_init() 224 if (port_conf.rx_adv_conf.rss_conf.rss_hf != rss_hf_tmp) { in port_init() 229 port_conf.rx_adv_conf.rss_conf.rss_hf); in port_init() 251 port_conf.txmode.offloads |= in port_init() 253 retval = rte_eth_dev_configure(port, rxRings, txRings, &port_conf); in port_init() 271 txconf->offloads = port_conf.txmode.offloads; in port_init()
|
| /f-stack/dpdk/examples/qos_meter/ |
| H A D | main.c | 54 static struct rte_eth_conf port_conf = { variable 328 conf = port_conf; in main() 341 port_conf.rx_adv_conf.rss_conf.rss_hf) { in main() 345 port_conf.rx_adv_conf.rss_conf.rss_hf, in main() 374 conf = port_conf; in main() 387 port_conf.rx_adv_conf.rss_conf.rss_hf) { in main() 391 port_conf.rx_adv_conf.rss_conf.rss_hf, in main()
|
| /f-stack/dpdk/drivers/event/skeleton/ |
| H A D | skeleton_eventdev.c | 201 struct rte_event_port_conf *port_conf) in skeleton_eventdev_port_def_conf() argument 210 port_conf->new_event_threshold = 32 * 1024; in skeleton_eventdev_port_def_conf() 211 port_conf->dequeue_depth = 16; in skeleton_eventdev_port_def_conf() 212 port_conf->enqueue_depth = 16; in skeleton_eventdev_port_def_conf() 213 port_conf->event_port_cfg = 0; in skeleton_eventdev_port_def_conf() 227 const struct rte_event_port_conf *port_conf) in skeleton_eventdev_port_setup() argument 235 RTE_SET_USED(port_conf); in skeleton_eventdev_port_setup()
|
| /f-stack/dpdk/examples/vmdq_dcb/ |
| H A D | main.c | 191 struct rte_eth_conf port_conf = {0}; in port_init() local 259 retval = get_eth_conf(&port_conf); in port_init() 272 port_conf.txmode.offloads |= in port_init() 275 rss_hf_tmp = port_conf.rx_adv_conf.rss_conf.rss_hf; in port_init() 276 port_conf.rx_adv_conf.rss_conf.rss_hf &= in port_init() 278 if (port_conf.rx_adv_conf.rss_conf.rss_hf != rss_hf_tmp) { in port_init() 283 port_conf.rx_adv_conf.rss_conf.rss_hf); in port_init() 292 retval = rte_eth_dev_configure(port, num_queues, num_queues, &port_conf); in port_init() 319 txq_conf.offloads = port_conf.txmode.offloads; in port_init()
|
| /f-stack/dpdk/examples/pipeline/ |
| H A D | obj.c | 168 struct rte_eth_conf port_conf; in link_create() local 223 memcpy(&port_conf, &port_conf_default, sizeof(port_conf)); in link_create() 225 port_conf.rxmode.mq_mode = ETH_MQ_RX_RSS; in link_create() 226 port_conf.rx_adv_conf.rss_conf.rss_hf = in link_create() 239 &port_conf); in link_create()
|
| /f-stack/dpdk/examples/rxtx_callbacks/ |
| H A D | main.c | 121 struct rte_eth_conf port_conf = port_conf_default; in port_init() local 143 port_conf.txmode.offloads |= in port_init() 152 port_conf.rxmode.offloads |= DEV_RX_OFFLOAD_TIMESTAMP; in port_init() 160 retval = rte_eth_dev_configure(port, rx_rings, tx_rings, &port_conf); in port_init() 178 txconf.offloads = port_conf.txmode.offloads; in port_init()
|
| /f-stack/dpdk/examples/eventdev_pipeline/ |
| H A D | pipeline_worker_generic.c | 299 struct rte_eth_conf port_conf = port_conf_default; in port_init() local 316 port_conf.txmode.offloads |= in port_init() 320 port_conf.rxmode.offloads |= DEV_RX_OFFLOAD_RSS_HASH; in port_init() 323 rx_conf.offloads = port_conf.rxmode.offloads; in port_init() 325 port_conf.rx_adv_conf.rss_conf.rss_hf &= in port_init() 327 if (port_conf.rx_adv_conf.rss_conf.rss_hf != in port_init() 333 port_conf.rx_adv_conf.rss_conf.rss_hf); in port_init() 337 retval = rte_eth_dev_configure(port, rx_rings, tx_rings, &port_conf); in port_init()
|
| /f-stack/dpdk/examples/server_node_efd/server/ |
| H A D | init.c | 97 struct rte_eth_conf port_conf = { in init_port() local 119 port_conf.txmode.offloads |= in init_port() 126 retval = rte_eth_dev_configure(port_num, rx_rings, tx_rings, &port_conf); in init_port() 144 txconf.offloads = port_conf.txmode.offloads; in init_port()
|
| /f-stack/lib/ |
| H A D | ff_dpdk_if.c | 591 struct rte_eth_conf port_conf = {0}; in init_port_start() local 627 port_conf.rxmode.mq_mode = ETH_MQ_RX_RSS; in init_port_start() 628 port_conf.rx_adv_conf.rss_conf.rss_hf = default_rss_hf; in init_port_start() 637 port_conf.rx_adv_conf.rss_conf.rss_key = rsskey; in init_port_start() 638 port_conf.rx_adv_conf.rss_conf.rss_key_len = rsskey_len; in init_port_start() 640 if (port_conf.rx_adv_conf.rss_conf.rss_hf != in init_port_start() 645 port_conf.rx_adv_conf.rss_conf.rss_hf); in init_port_start() 649 port_conf.txmode.offloads |= in init_port_start() 661 port_conf.rxmode.offloads &= ~DEV_RX_OFFLOAD_KEEP_CRC; in init_port_start() 742 txq_conf.offloads = port_conf.txmode.offloads; in init_port_start() [all …]
|
| /f-stack/dpdk/examples/vm_power_manager/ |
| H A D | main.c | 64 struct rte_eth_conf port_conf = port_conf_default; in port_init() local 82 port_conf.txmode.offloads |= in port_init() 86 retval = rte_eth_dev_configure(port, rx_rings, tx_rings, &port_conf); in port_init() 99 txq_conf.offloads = port_conf.txmode.offloads; in port_init()
|
| /f-stack/dpdk/examples/l3fwd-graph/ |
| H A D | main.c | 112 static struct rte_eth_conf port_conf = { variable 497 port_conf.rxmode.offloads |= DEV_RX_OFFLOAD_JUMBO_FRAME; in parse_args() 498 port_conf.txmode.offloads |= DEV_TX_OFFLOAD_MULTI_SEGS; in parse_args() 513 port_conf.rxmode.max_rx_pkt_len = ret; in parse_args() 788 struct rte_eth_conf local_port_conf = port_conf; in main() 815 port_conf.rx_adv_conf.rss_conf.rss_hf) { in main() 820 portid, port_conf.rx_adv_conf.rss_conf.rss_hf, in main() 934 rxq_conf.offloads = port_conf.rxmode.offloads; in main()
|
| /f-stack/dpdk/examples/distributor/ |
| H A D | main.c | 111 struct rte_eth_conf port_conf = port_conf_default; in port_init() local 131 port_conf.txmode.offloads |= in port_init() 134 port_conf.rx_adv_conf.rss_conf.rss_hf &= in port_init() 136 if (port_conf.rx_adv_conf.rss_conf.rss_hf != in port_init() 142 port_conf.rx_adv_conf.rss_conf.rss_hf); in port_init() 145 retval = rte_eth_dev_configure(port, rxRings, txRings, &port_conf); in port_init() 162 txconf.offloads = port_conf.txmode.offloads; in port_init()
|
| /f-stack/dpdk/examples/l2fwd-cat/ |
| H A D | l2fwd-cat.c | 35 struct rte_eth_conf port_conf = port_conf_default; in port_init() local 46 retval = rte_eth_dev_configure(port, rx_rings, tx_rings, &port_conf); in port_init()
|