| /dpdk/examples/multi_process/client_server_mp/mp_server/ |
| H A D | args.c | 45 parse_portmask(const char *portmask) in parse_portmask() argument 51 if (portmask == NULL || *portmask == '\0') in parse_portmask() 56 pm = strtoull(portmask, &end, 16); in parse_portmask()
|
| /dpdk/examples/server_node_efd/server/ |
| H A D | args.c | 49 parse_portmask(uint8_t max_ports, const char *portmask) in parse_portmask() argument 55 if (portmask == NULL || *portmask == '\0') in parse_portmask() 59 pm = strtoul(portmask, &end, 16); in parse_portmask()
|
| /dpdk/examples/packet_ordering/ |
| H A D | main.c | 39 unsigned int portmask; variable 145 parse_portmask(const char *portmask) in parse_portmask() argument 151 pm = strtoul(portmask, &end, 16); in parse_portmask() 179 portmask = parse_portmask(optarg); in parse_args() 180 if (portmask == 0) { in parse_args() 234 if ((portmask & (1 << port_id)) == 0) in free_tx_buffers() 251 if ((portmask & (1 << port_id)) == 0) in configure_tx_buffers() 567 if ((portmask & (1 << outp)) == 0) { in send_thread() 596 if ((portmask & (1 << outp1)) == 0) { in send_thread() 645 if ((portmask & (1 << outp)) == 0) { in tx_thread() [all …]
|
| /dpdk/examples/vm_power_manager/ |
| H A D | main.c | 131 parse_portmask(const char *portmask) in parse_portmask() argument 137 pm = strtoul(portmask, &end, 16); in parse_portmask() 138 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in parse_portmask()
|
| /dpdk/examples/kni/ |
| H A D | main.c | 357 parse_unsigned(const char *portmask) in parse_unsigned() argument 362 num = strtoul(portmask, &end, 16); in parse_unsigned() 363 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in parse_unsigned() 479 validate_parameters(uint32_t portmask) in validate_parameters() argument 483 if (!portmask) { in validate_parameters() 489 if (((portmask & (1 << i)) && !kni_port_params_array[i]) || in validate_parameters() 490 (!(portmask & (1 << i)) && kni_port_params_array[i])) in validate_parameters()
|
| /dpdk/examples/qos_meter/ |
| H A D | main.c | 214 parse_portmask(const char *portmask) in parse_portmask() argument 220 pm = strtoul(portmask, &end, 16); in parse_portmask() 221 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in parse_portmask()
|
| /dpdk/doc/guides/sample_app_ug/ |
| H A D | l2_forward_event.rst | 18 from the enabled portmask, that is, if the first four ports are enabled (portmask=0x0f), 211 ports with one lcore. If there are 16 ports on the target (and if the portmask 366 is assigned that is either the next or previous enabled port from the portmask. 367 If number of ports are odd in portmask then packet from last port will be 368 forwarded to first port i.e. if portmask=0x07, then forwarding will take place 423 is assigned that is either the next or previous enabled port from the portmask. 424 If number of ports are odd in portmask then packet from last port will be 425 forwarded to first port i.e. if portmask=0x07, then forwarding will take place
|
| H A D | ptpclient.rst | 73 * ``-p portmask``: Hexadecimal portmask. 125 ``port_init()`` function with portmask provided by user:
|
| H A D | l2_forward_real_virtual.rst | 23 The destination port is the adjacent port from the enabled portmask, that is, 24 if the first four ports are enabled (portmask 0xf), 224 If there are 16 ports on the target (and if the portmask argument is -p ffff ), 282 a destination port is assigned that is either the next or previous enabled port from the portmask. 283 Naturally, the number of ports in the portmask must be even, otherwise, the application exits.
|
| H A D | l2_forward_job_stats.rst | 22 The destination port is the adjacent port from the enabled portmask, that is, 23 if the first four ports are enabled (portmask 0xf), 188 If there are 16 ports on the target (and if the portmask argument is -p ffff ), 318 a destination port is assigned that is either the next or previous enabled port from the portmask. 319 Naturally, the number of ports in the portmask must be even, otherwise, the application exits.
|
| H A D | multi_process.rst | 162 * -p <portmask>, where portmask is a hexadecimal bitmask of what ports on the system are to be us… 256 * -p <portmask >, where portmask is a hexadecimal bitmask of what ports on the system are to be u… 290 This eliminates the need for the client processes to have the portmask parameter passed into them o…
|
| H A D | ipv4_multicast.rst | 140 Then, the number of ports in the destination portmask is calculated with the help of the bitcnt() f… 167 Then, packets are dispatched to the destination ports according to the portmask associated with a m… 217 Depending on the number of segments or the number of ports in the outgoing portmask,
|
| /dpdk/examples/vmdq/ |
| H A D | main.c | 369 parse_portmask(const char *portmask) in parse_portmask() argument 375 pm = strtoul(portmask, &end, 16); in parse_portmask() 376 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in parse_portmask()
|
| /dpdk/examples/link_status_interrupt/ |
| H A D | main.c | 314 lsi_parse_portmask(const char *portmask) in lsi_parse_portmask() argument 320 pm = strtoul(portmask, &end, 16); in lsi_parse_portmask() 321 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in lsi_parse_portmask()
|
| /dpdk/examples/vmdq_dcb/ |
| H A D | main.c | 414 parse_portmask(const char *portmask) in parse_portmask() argument 420 pm = strtoul(portmask, &end, 16); in parse_portmask() 421 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in parse_portmask()
|
| /dpdk/examples/ipv4_multicast/ |
| H A D | main.c | 471 parse_portmask(const char *portmask) in parse_portmask() argument 477 pm = strtoul(portmask, &end, 16); in parse_portmask() 478 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in parse_portmask()
|
| /dpdk/examples/l2fwd-keepalive/ |
| H A D | main.c | 302 l2fwd_parse_portmask(const char *portmask) in l2fwd_parse_portmask() argument 308 pm = strtoul(portmask, &end, 16); in l2fwd_parse_portmask() 309 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in l2fwd_parse_portmask()
|
| /dpdk/examples/l2fwd-event/ |
| H A D | main.c | 37 l2fwd_event_parse_portmask(const char *portmask) in l2fwd_event_parse_portmask() argument 43 pm = strtoul(portmask, &end, 16); in l2fwd_event_parse_portmask() 44 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in l2fwd_event_parse_portmask()
|
| /dpdk/examples/l2fwd/ |
| H A D | main.c | 327 l2fwd_parse_portmask(const char *portmask) in l2fwd_parse_portmask() argument 333 pm = strtoul(portmask, &end, 16); in l2fwd_parse_portmask() 334 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in l2fwd_parse_portmask()
|
| /dpdk/examples/ptpclient/ |
| H A D | ptpclient.c | 656 ptp_parse_portmask(const char *portmask) in ptp_parse_portmask() argument 662 pm = strtoul(portmask, &end, 16); in ptp_parse_portmask() 664 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in ptp_parse_portmask()
|
| /dpdk/examples/distributor/ |
| H A D | main.c | 638 parse_portmask(const char *portmask) in parse_portmask() argument 644 pm = strtoul(portmask, &end, 16); in parse_portmask() 645 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in parse_portmask()
|
| /dpdk/examples/l3fwd-graph/ |
| H A D | main.c | 296 parse_portmask(const char *portmask) in parse_portmask() argument 302 pm = strtoul(portmask, &end, 16); in parse_portmask() 303 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in parse_portmask()
|
| /dpdk/examples/l2fwd-jobstats/ |
| H A D | main.c | 572 l2fwd_parse_portmask(const char *portmask) in l2fwd_parse_portmask() argument 578 pm = strtoul(portmask, &end, 16); in l2fwd_parse_portmask() 579 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in l2fwd_parse_portmask()
|
| /dpdk/examples/ip_fragmentation/ |
| H A D | main.c | 484 parse_portmask(const char *portmask) in parse_portmask() argument 490 pm = strtoul(portmask, &end, 16); in parse_portmask() 491 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in parse_portmask()
|
| /dpdk/app/proc-info/ |
| H A D | main.c | 139 parse_portmask(const char *portmask) in parse_portmask() argument 146 enabled_port_mask = strtoul(portmask, &end, 16); in parse_portmask() 147 if (portmask[0] == '\0' || end == NULL || *end != '\0' || errno != 0) { in parse_portmask() 148 fprintf(stderr, "Invalid portmask '%s'\n", portmask); in parse_portmask()
|