Home
last modified time | relevance | path

Searched refs:command (Results 1 – 25 of 172) sorted by relevance

1234567

/dpdk/doc/guides/prog_guide/
H A Dcmdline.rst7 Since its earliest versions, DPDK has included a command-line library -
10 This chapter covers the basics of the command-line library and how to use it in an application.
15 The DPDK command-line library supports the following features:
33 Adding a command-line instance to an application involves a number of coding steps.
35 #. Define the result structure for the command, specifying the command parameters
39 #. Define the callback function for the command
41 #. Provide a parse result structure instance for the command, linking the callback to the command
43 #. Add the parse result structure to a command-line context
45 #. Within your main application code, create a new command-line instance passing in the context.
49 This section covers adding a command-line using this script to generate the boiler plate,
[all …]
H A Dtelemetry_lib.rst50 parameter is then used in a comparison to decide which command was requested,
69 /* Build up port data requested for command 1 */
71 /* Build up port data requested for command 2 */
150 available via the Telemetry library. This involves providing a string command
151 in the required format ("/library/command"), the callback function that
153 command. An example command being registered is shown below:
/dpdk/drivers/net/ark/
H A Dark_mpu.c56 mpu->cfg.command = MPU_CMD_STOP; in ark_mpu_stop()
62 mpu->cfg.command = MPU_CMD_RUN; in ark_mpu_start()
70 mpu->cfg.command = MPU_CMD_RESET; in ark_mpu_reset()
73 while (mpu->cfg.command != MPU_CMD_IDLE) { in ark_mpu_reset()
78 if (mpu->cfg.command != MPU_CMD_IDLE) { in ark_mpu_reset()
79 mpu->cfg.command = MPU_CMD_FORCE_RESET; in ark_mpu_reset()
82 return mpu->cfg.command != MPU_CMD_IDLE; in ark_mpu_reset()
/dpdk/examples/vm_power_manager/
H A Dchannel_monitor.c180 pkt->command = RTE_POWER_PKT_POLICY; in parse_json_to_pkt()
200 } else if (!strcmp(key, "command")) { in parse_json_to_pkt() local
201 char command[32]; in parse_json_to_pkt()
202 strlcpy(command, json_string_value(value), 32); in parse_json_to_pkt()
203 if (!strcmp(command, "power")) { in parse_json_to_pkt()
204 pkt->command = RTE_POWER_CPU_POWER; in parse_json_to_pkt()
205 } else if (!strcmp(command, "create")) { in parse_json_to_pkt()
206 pkt->command = RTE_POWER_PKT_POLICY; in parse_json_to_pkt()
207 } else if (!strcmp(command, "destroy")) { in parse_json_to_pkt()
208 pkt->command in parse_json_to_pkt()
214 char command[32]; parse_json_to_pkt() local
234 char command[32]; parse_json_to_pkt() local
813 send_ack_for_received_cmd(struct rte_power_channel_packet * pkt,struct channel_info * chan_info,uint32_t command) send_ack_for_received_cmd() argument
[all...]
/dpdk/drivers/net/ngbe/base/
H A Dngbe_phy.c254 u32 command, data; in ngbe_read_phy_reg_mdi() local
257 command = NGBE_MDIOSCA_REG(reg_addr) | in ngbe_read_phy_reg_mdi()
260 wr32(hw, NGBE_MDIOSCA, command); in ngbe_read_phy_reg_mdi()
262 command = NGBE_MDIOSCD_CMD_READ | in ngbe_read_phy_reg_mdi()
265 wr32(hw, NGBE_MDIOSCD, command); in ngbe_read_phy_reg_mdi()
314 u32 command; in ngbe_write_phy_reg_mdi() local
317 command = NGBE_MDIOSCA_REG(reg_addr) | in ngbe_write_phy_reg_mdi()
320 wr32(hw, NGBE_MDIOSCA, command); in ngbe_write_phy_reg_mdi()
322 command = NGBE_MDIOSCD_CMD_WRITE | in ngbe_write_phy_reg_mdi()
326 wr32(hw, NGBE_MDIOSCD, command); in ngbe_write_phy_reg_mdi()
/dpdk/doc/guides/howto/
H A Dvfd.rst107 Run a testpmd runtime command on the PF to set TX loopback::
122 Run a testpmd runtime command on the PF to set the MAC address for a VF port::
126 This testpmd runtime command will change the MAC address of the VF port to
134 Run a testpmd runtime command on the PF to enable/disable the MAC
146 Run a testpmd runtime command on the PF to enable/disable the VLAN
158 Run a testpmd runtime command on the PF to set the VLAN insertion for a VF
163 When using this testpmd runtime command, an assigned VLAN ID can be inserted
172 Run a testpmd runtime command on the PF to enable/disable the VLAN stripping
177 This testpmd runtime command is used to enable/disable the RX VLAN stripping
184 Run a testpmd runtime command on the PF to set the VLAN filtering for a VF
[all …]
/dpdk/lib/power/
H A Drte_power_guest_channel.h
/dpdk/examples/vm_power_manager/guest_cli/
H A Dvm_power_cli_guest.c106 pkt->command = RTE_POWER_PKT_POLICY; in set_policy_defaults()
169 if (pkt_freq_list->command != RTE_POWER_FREQ_LIST) { in receive_freq_list()
203 pkt.command = RTE_POWER_QUERY_FREQ_LIST; in cmd_query_freq_list_parsed()
214 pkt.command = RTE_POWER_QUERY_FREQ; in cmd_query_freq_list_parsed()
279 if (pkt_caps_list->command != RTE_POWER_CAPS_LIST) { in receive_capabilities()
313 pkt.command = RTE_POWER_QUERY_CAPS_LIST; in cmd_query_caps_list_parsed()
324 pkt.command = RTE_POWER_QUERY_CAPS; in cmd_query_caps_list_parsed()
387 switch (pkt.command) { in check_response_cmd()
/dpdk/doc/guides/tools/
H A Dsecurityperf.rst24 for a list of available EAL command-line options.
29 The following are the command-line options for the security performance
38 The command-line options are:
H A Dtestmldev.rst17 The application has a number of command line options:
27 The following are the EAL command-line options that can be used
47 The following are the command-line options supported by the test application.
136 Supported command line options for the ``device_ops`` test are following::
184 Supported command line options for the ``model_ops`` test are following::
272 Supported command line options for inference tests are following::
348 Example command to run ``inference_ordered`` test:
355 Example command to run ``inference_ordered`` test with a specific burst size:
363 Example command to run ``inference_ordered`` test with multiple queue-pairs and queue size:
371 Example command to run ``inference_ordered`` with output validation using tolerance of ``1%``:
[all …]
/dpdk/doc/guides/sample_app_ug/
H A Dvm_power_management.rst104 request contains the vCPU and power command (scale up/down/min/max). The
177 Linux command line:
269 The application does not have any specific command line options other
278 cores 0 and 1 on a system with four memory channels, issue the command:
296 When a ``{vm_name}`` is specified with the ``add_vm`` command, a lookup is
305 Manager using the command:
312 command. The ``virtio`` channels must be enabled in the VM configuration
406 There are a couple of command line parameters for enabling the out-of-band
436 the ``add_channels`` command to monitor the channels for the VM. To do this,
474 correct directory using the following find command:
[all …]
/dpdk/app/graph/examples/
H A Dl2fwd_pcap.cli33 ; Graph start command to create graph.
35 ; Note: No more command should come after this.
H A Dl2fwd.cli37 ; Graph start command to create graph.
39 ; Note: No more command should come after this.
/dpdk/examples/pipeline/examples/
H A Dl2fwd_pcap.cli4 # Example command line:
7 # Once the application has started, the command to get the CLI prompt is:
H A Dl2fwd_macswp_pcap.cli4 # Example command line:
7 # Once the application has started, the command to get the CLI prompt is:
H A Dlearner.cli4 # Example command line:
7 # Once the application has started, the command to get the CLI prompt is:
H A Dl2fwd.cli4 # Example command line:
7 # Once the application has started, the command to get the CLI prompt is:
H A Drecirculation.cli4 # Example command line:
7 # Once the application has started, the command to get the CLI prompt is:
H A Dl2fwd_macswp.cli4 # Example command line:
7 # Once the application has started, the command to get the CLI prompt is:
H A Dhash_func.cli4 # Example command line:
7 # Once the application has started, the command to get the CLI prompt is:
H A Dvarbit.cli4 # Example command line:
7 # Once the application has started, the command to get the CLI prompt is:
H A Dipv6_addr_swap.cli4 # Example command line:
7 # Once the application has started, the command to get the CLI prompt is:
H A Dregisters.cli4 # Example command line:
7 # Once the application has started, the command to get the CLI prompt is:
H A Dvxlan_pcap.cli4 # Example command line:
7 # Once the application has started, the command to get the CLI prompt is:
/dpdk/app/test-bbdev/
H A Dmain.h94 const char *command; member
107 .command = RTE_STR(name), \

1234567