Home
last modified time | relevance | path

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

123

/f-stack/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()
/f-stack/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()
/f-stack/dpdk/examples/packet_ordering/
H A Dmain.c32 unsigned int portmask; variable
138 parse_portmask(const char *portmask) in parse_portmask() argument
144 pm = strtoul(portmask, &end, 16); in parse_portmask()
172 portmask = parse_portmask(optarg); in parse_args()
173 if (portmask == 0) { in parse_args()
227 if ((portmask & (1 << port_id)) == 0) in free_tx_buffers()
244 if ((portmask & (1 << port_id)) == 0) in configure_tx_buffers()
563 if ((portmask & (1 << outp)) == 0) { in send_thread()
592 if ((portmask & (1 << outp1)) == 0) { in send_thread()
641 if ((portmask & (1 << outp)) == 0) { in tx_thread()
[all …]
/f-stack/freebsd/mips/nlm/
H A Dboard.c477 blockp->portmask = 0x3; in nlm_setup_xlp_board()
479 blockp->portmask = 0x1; in nlm_setup_xlp_board()
485 blockp->portmask = 0x1; in nlm_setup_xlp_board()
490 blockp->portmask = 0xf; in nlm_setup_xlp_board()
495 blockp->portmask = 0x1; in nlm_setup_xlp_board()
500 blockp->portmask = 0; in nlm_setup_xlp_board()
506 if ((blockp->portmask & (1 << port)) == 0) in nlm_setup_xlp_board()
H A Dboard.h113 u_int portmask; member
/f-stack/dpdk/examples/vm_power_manager/
H A Dmain.c139 parse_portmask(const char *portmask) in parse_portmask() argument
145 pm = strtoul(portmask, &end, 16); in parse_portmask()
146 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in parse_portmask()
/f-stack/dpdk/examples/kni/
H A Dmain.c358 parse_unsigned(const char *portmask) in parse_unsigned() argument
363 num = strtoul(portmask, &end, 16); in parse_unsigned()
364 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in parse_unsigned()
480 validate_parameters(uint32_t portmask) in validate_parameters() argument
484 if (!portmask) { in validate_parameters()
490 if (((portmask & (1 << i)) && !kni_port_params_array[i]) || in validate_parameters()
491 (!(portmask & (1 << i)) && kni_port_params_array[i])) in validate_parameters()
/f-stack/dpdk/examples/qos_meter/
H A Dmain.c215 parse_portmask(const char *portmask) in parse_portmask() argument
221 pm = strtoul(portmask, &end, 16); in parse_portmask()
222 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in parse_portmask()
/f-stack/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),
257 ports with one lcore. If there are 16 ports on the target (and if the portmask
564 is assigned that is either the next or previous enabled port from the portmask.
565 If number of ports are odd in portmask then packet from last port will be
566 forwarded to first port i.e. if portmask=0x07, then forwarding will take place
676 is assigned that is either the next or previous enabled port from the portmask.
677 If number of ports are odd in portmask then packet from last port will be
678 forwarded to first port i.e. if portmask=0x07, then forwarding will take place
H A Dptpclient.rst73 * ``-p portmask``: Hexadecimal portmask.
127 ``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),
261 If there are 16 ports on the target (and if the portmask argument is -p ffff ),
354 a destination port is assigned that is either the next or previous enabled port from the portmask.
355 Naturally, the number of ports in the portmask must be even, otherwise, the application exits.
/f-stack/freebsd/mips/nlm/dev/net/
H A Dxlpge.h81 u_int portmask[XLP_NAE_NBLOCKS]; member
H A Dxlpge.c586 sc->portmask[nblock] = nae_ivars->block_ivars[nblock].portmask; in nlm_xlpnae_attach()
610 uint32_t portmask; in nlm_xlpnae_attach() local
616 portmask = nae_ivars->block_ivars[i].portmask; in nlm_xlpnae_attach()
618 if ((portmask & (1 << j)) == 0) in nlm_xlpnae_attach()
/f-stack/dpdk/examples/vmdq/
H A Dmain.c365 parse_portmask(const char *portmask) in parse_portmask() argument
371 pm = strtoul(portmask, &end, 16); in parse_portmask()
372 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in parse_portmask()
/f-stack/dpdk/examples/link_status_interrupt/
H A Dmain.c309 lsi_parse_portmask(const char *portmask) in lsi_parse_portmask() argument
315 pm = strtoul(portmask, &end, 16); in lsi_parse_portmask()
316 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in lsi_parse_portmask()
/f-stack/dpdk/examples/l2fwd-event/
H A Dmain.c34 l2fwd_event_parse_portmask(const char *portmask) in l2fwd_event_parse_portmask() argument
40 pm = strtoul(portmask, &end, 16); in l2fwd_event_parse_portmask()
41 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in l2fwd_event_parse_portmask()
/f-stack/dpdk/examples/vmdq_dcb/
H A Dmain.c419 parse_portmask(const char *portmask) in parse_portmask() argument
425 pm = strtoul(portmask, &end, 16); in parse_portmask()
426 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in parse_portmask()
/f-stack/dpdk/examples/ipv4_multicast/
H A Dmain.c454 parse_portmask(const char *portmask) in parse_portmask() argument
460 pm = strtoul(portmask, &end, 16); in parse_portmask()
461 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in parse_portmask()
/f-stack/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()
/f-stack/dpdk/examples/l2fwd/
H A Dmain.c320 l2fwd_parse_portmask(const char *portmask) in l2fwd_parse_portmask() argument
326 pm = strtoul(portmask, &end, 16); in l2fwd_parse_portmask()
327 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in l2fwd_parse_portmask()
/f-stack/dpdk/examples/ptpclient/
H A Dptpclient.c644 ptp_parse_portmask(const char *portmask) in ptp_parse_portmask() argument
650 pm = strtoul(portmask, &end, 16); in ptp_parse_portmask()
652 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in ptp_parse_portmask()
/f-stack/dpdk/examples/distributor/
H A Dmain.c642 parse_portmask(const char *portmask) in parse_portmask() argument
648 pm = strtoul(portmask, &end, 16); in parse_portmask()
649 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in parse_portmask()
/f-stack/dpdk/examples/ip_fragmentation/
H A Dmain.c481 parse_portmask(const char *portmask) in parse_portmask() argument
487 pm = strtoul(portmask, &end, 16); in parse_portmask()
488 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in parse_portmask()
/f-stack/dpdk/examples/l3fwd-graph/
H A Dmain.c297 parse_portmask(const char *portmask) in parse_portmask() argument
303 pm = strtoul(portmask, &end, 16); in parse_portmask()
304 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in parse_portmask()
/f-stack/dpdk/examples/l2fwd-jobstats/
H A Dmain.c560 l2fwd_parse_portmask(const char *portmask) in l2fwd_parse_portmask() argument
566 pm = strtoul(portmask, &end, 16); in l2fwd_parse_portmask()
567 if ((portmask[0] == '\0') || (end == NULL) || (*end != '\0')) in l2fwd_parse_portmask()

123