Home
last modified time | relevance | path

Searched refs:portmask (Results 1 – 25 of 48) sorted by relevance

12

/dpdk/examples/multi_process/client_server_mp/mp_server/
H A Dargs.c45 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 Dargs.c49 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 Dmain.c39 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 Dmain.c131 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 Dmain.c357 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 Dmain.c214 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 Dl2_forward_event.rst18 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 Dptpclient.rst73 * ``-p portmask``: Hexadecimal portmask.
125 ``port_init()`` function with portmask provided by user:
H A Dl2_forward_real_virtual.rst23 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 Dl2_forward_job_stats.rst22 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 Dmulti_process.rst162 * -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 Dipv4_multicast.rst140 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 Dmain.c369 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 Dmain.c314 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 Dmain.c414 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 Dmain.c471 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 Dmain.c302 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 Dmain.c37 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 Dmain.c327 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 Dptpclient.c656 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 Dmain.c638 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 Dmain.c296 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 Dmain.c572 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 Dmain.c484 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 Dmain.c139 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()

12